Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Build a Responsive Website Responsive Design Content Defined Breakpoints

Waqar Ashraf
Waqar Ashraf
3,742 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,567 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,567 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,742 Points

Thanks buddies, i already got the answer :)