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 trialMartin Forbes
Courses Plus Student 4,750 PointsHELP Stuck on Media Queries code challenge
PLEASE PLEASE HELP ME...!!
I've finally made it to stage 13 in the CSS Foundations and on the first code challenge task 3 of 3 I simply can't get it to pass... :(
All I keep getting is: 'Bummer! Did you specify the right width?' which I have done, even changed the values around yet STILL it won't pass.
The question is: Finally create a new media query that sets the width of .wrap to 700px if the viewport is 800px or wider. Here is my code so far.... PLEASE help it's driving me nuts.
Thanks.
@media screen and (max-width: 768px) { body { background-color: #FF6347; color: white; } }
@media screen and (max-width: 480px) { body { background: #4682B4; }
@media screen and (min-width:800px) { .wrap { width: 700px; } }
2 Answers
Dennis Skoko
12,860 PointsAt the second media query you forgot to end it with a ending curly bracket. :)
Martin Forbes
Courses Plus Student 4,750 PointsOH WOW, OH WOW OH WOW...
Thank you SO much Dennis, I can't believe I never noticed that at al.. again thanks you SO very very much.