Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Build a Responsive Website Responsive Design Content Defined Breakpoints

Scott Rachelski
Scott Rachelski
4,149 Points

hiding the illustration

I put in the same code as the instructor and image remains

#intro-img {
  display: none;
}

looked back and lesson and the image in the video remains as well

please help

Scott

4 Answers

Scott Rachelski
Scott Rachelski
4,149 Points

Chris,

Sorry me again. Thanks for your input. I changed the code to point to the class selector of .grid_3 img instead of the id selector and it worked.

I appreciate the help

Scott

Chris Dziewa
Chris Dziewa
17,781 Points

You are missing a period before your class selector. Try this:

.intro-img {
    display: none;
}
Scott Rachelski
Scott Rachelski
4,149 Points

Chris,

Thanks for the response. I actually had the period before the class selector. I replaced the hyphen with a space between .intro and img and it said it was correct in the challenge. Unfortunately doing the same thing on the practice didn't help. I now understand the fun of debugging a program.

Scott

Scott Rachelski
Scott Rachelski
4,149 Points

Chris,

Sorry I meant I had the Id selector of #intro img. and not .intro-img Either way it didn't work

Scott