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 trialNatalie Pickrom
2,526 PointsI had entered the Media Query and the colors are not showing when I resize my browser window with the preview.
Here was the code I was instructed to add to the style.css in workspace
/* Media Queries -------------------- */
@media (max-width: 960px) { body { background: royalblue; } p { color: white; } }
When I go to resize my preview window like the video instructed I do not see the royal blue color. Is there something that I am missing?
Thank you
Michael Lee
Courses Plus Student 999 Pointsi just spent the past 20 minutes swearing i would never do anything with coding again because its dumb only to realize i was missing a closing bracket after my wildlife class....angry me had to make a begrudged apology to rational me....maybe its something small like that
1 Answer
Steven Parker
231,275 PointsYou might need to show all the code. This bit seems OK, but there could be something else inhibiting it.
You could make a snapshot of your workspace and post the link to it here.
brandon baily
1,553 Pointsbrandon baily
1,553 PointsHay,
This should work. I have tried it just how you done it there and it worked fine. :S