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 trialja5on
10,338 PointsDark red doesnt work (same as other here) simply doesnt work
?
Favour Uche
3,551 Pointstry changing your max-width to 580px instead
3 Answers
ja5on
10,338 PointsI'm not sure how to snapshot? I found out that my browser wouldnt shrink beyond a certain point and this caused @media unable to apply its styles, i think it was to do with the amount of pages open (they are not open as new pages but together as tabs) if that makes sense.
Steven Parker
231,275 PointsThe colored word in my original comment is a link that will take you to a video explaining how to make and share shapshots.
Anton Steenhoudt
9,235 PointsWhat helped me is opening the devtools. I did it by change but it showed me the right color(darkred).
tomaszfurmanczyk
Full Stack JavaScript Techdegree Student 18,242 Pointsif using a chrome browser please right click > select inspect element > then click the 3 vertical dots > after which will show you options for dock settings to the left, right or bottom of webpage.
Select either one and your will be able to automatically see the screen size change as you expand or contract the webpage.
This will allow for you to establish that the media query for 480px max width actually works within the chrome browser
@media (max-width: 480px){ body{background:darkred;} }
Steven Parker
231,275 PointsSteven Parker
231,275 PointsPlease show your code (be sure to format it properly).
Even better, make a snapshot of your workspace and post the link to it here.