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 trialgittyherz
11,818 PointsBackground color won't change, with the @media query.
The responsive colors seems not to be working I tried a lot of different ways and reloading the page, etc.. Here is my code. this is the head.
<html> <head> <meta charset="utf-8"> <title>Nick Pettit | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> </head>
and here is responsive.css
@media screen and (min-width: 480px) { body{ background-color: navy; } }
this is main.css referring to the background-color
***************/ /*site body/ body{ background-color:#fff; color:#999; }
3 Answers
Max Solomin
4,618 PointsDid you move your responsive.css to a css folder?
gittyherz
11,818 PointsI guess is was a bug I refreshed again for the 100th time and wow it worked!!
gittyherz
11,818 Pointsyes it was there the entire time.