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

Code Challenge: Flex'ble imgs-I issue

In the code challenge for "Flexible Images- I, Vector Graphics", I apologize if you went over it already but I don't recall making sure the image in the .CSS still disappears if < 705px.

The challenge prompts me to "Swap out the appropriate selector in media query in CSS so that the "love-at-first-bite" SVG still disappears when < 705px.

Here's what I attempted:

img/ "love-at-first-bite" {
display: none;
}

This is below the media query; I'm having difficulty with making pix visible or invisible. Your help is greatly appreciated

Please provide a link to the challenge.

1 Answer

Hi Mike: The next code challenge that it prompts me to enter is the one with which i'm having trouble. I got this one correct. Below is this- the 1st code challenge question. http://teamtreehouse.com/library/build-a-responsive-website/responsive-design/flexible-images-part-one-vector-graphics

I've watched and taken extensive notes on all my lessons but I don't see where it shows how to hide a pic in a media query. Perhaps I missed it.