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.

HTML How to Make a Website Responsive Web Design and Testing Adding Breakpoints for Devices

William Densmore
William Densmore
6,402 Points

660px media query not working

The 480px media query is working but the 660px query is not. This is the code I am using:

@media screen and (min-width: 480px) { body{ background: navy; } }

@media screen and (min-width: 660px) { body { background: red; } }

1 Answer

Erik McClintock
Erik McClintock
45,783 Points

William,

In the code challenge, they instruct you to set the background color to darkgreen. Yours is currently set to red, which is why it's failing.

Erik