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

Waqar Ashraf
Waqar Ashraf
3,743 Points

Hiding image inside media query

Add the appropriate CSS within the same media query that will force the “love at first bite” illustration to disappear. In responsive design quiz what is the answer of above question ?

3 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Waqar,

Without giving you the answer, as that's not really the best way to help someone learn.

You need to use the Display property to solve this problem.

You're going to want to add the following property display: none; to the img in the media query.

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Luke,

It's better to give guidance to answer the problem, not the straight out answer. Treehouse tries not only to teach people code but also how to find solutions to their problems for themselves. You can't be around to answer everyones questions, so helping them find a solution for themselves is a better answer in the long term.

Waqar Ashraf
Waqar Ashraf
3,743 Points

Thanks buddies, i already got the answer :)