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 trial
Justin Burnett
3,427 PointsWhy wont my media queries apply themselves?
/HTML/
<head>
<meta charsest="utf-8">
<title> Clean Carriage Soap Company</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/responsive.css">
</head>
/Responsive CSS:/
@media screen and (min-width 480px) { body { background: #00008B; } }
@media screen and (min-width 660px) { body { background: #003300; } }
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Justin,
In both of your media queries you're missing the colon after min-width
Should be (min-width: 480px)
Justin Burnett
3,427 PointsThank you!