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 trialJohn Anderson
1,916 PointsCorrect answer for Media Query 660px breakpoint not being accepted in code challenge. -resolved
Is there something wrong with this format? @media screen and (min-width: 660px) { body { background: darkgreen; } } *When in preview mode the background does change to dark green.
3 Answers
benevolentescalator
Courses Plus Student 9,834 PointsPerhaps: background-color: darkgreen;
Sjors Theuns
6,091 PointsHi John,
first a little tip: add 3 backticks (```) before and after your code. That way it is better readable.
As for your question, I assume you need max-width instead of min-width...
John Anderson
1,916 PointsThank you Sjors. Great tip.
John Anderson
1,916 PointsThanks David,
Issue resolved. It was accepted after backing out and restarting the code challenge.
benevolentescalator
Courses Plus Student 9,834 Pointsbenevolentescalator
Courses Plus Student 9,834 Pointsactually that should work...