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 trialDave Lowther
Courses Plus Student 20,797 PointsI'm not seeing the background color changes. Copy & pasted code from me responsive.css to the code challenge & passed.
responsive.css code:
@media screen and (min-width: 480px) { body { background: navy; } }
@media screen and (min-width: 660px) { body { background: darkgreen; } }
index.html:
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="responsive.css">
The responsive.css line is copy and pasted into contact and about pages.
1 Answer
Wayne Priestley
19,579 PointsHi David,
I think it maybe a file path error, try:
<link rel="stylesheet" href="css/responsive.css">
Dave Lowther
Courses Plus Student 20,797 PointsDave Lowther
Courses Plus Student 20,797 PointsBanks head against desk. That fixed it. Thank you!
Wayne Priestley
19,579 PointsWayne Priestley
19,579 PointsNo problem, we've all been there :)