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 trialAndrew Tuzson
21,802 PointsI am stuck on media queries first challenge, question 3 of 3. Please help!
This question is asking the following: Finally, create a new media query that sets the width of .wrap to 700px if the viewport is 800px or wider. I have looked at a few forum posts and it seems others have had this issue as well. I don't see anything wrong with my syntax and I would greatly appreciate some assistance. Thank you!
@media screen and (max-width: 768px) { body { background-color: #FF6347; color: #FFFFFF; } } @media screen and (max-width: 480px) { body { background-color: #4682B4; } @media screen and (min-width: 800px) { .wrap { width: 700px; } }
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Andrew,
It looks like you did not close off your 480px media query right before your 800px media query begins.
Jaco Burger
20,807 PointsTry changing the min-width to 799px.
Andrew Tuzson
21,802 PointsAndrew Tuzson
21,802 PointsThat was it! Thank you kindly