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 trialUnsubscribed User
5,689 Points@media queries
hello there everyone, I'm trying to resolve this code challenge but I can't seem to figure out what the problem is, would anyone help me here, please
// Create a breakpoint for devices 480 pixels wide or larger. Inside the breakpoint, set the h1 font-size to 2.5em.
@media screen and (min-width: 480px;) { h1 { font-size: 2.5em; } }
Bummer! Did you change the h1 font-size to 2.5em for devices larger than 480px?
4 Answers
Tim Acker
Front End Web Development Techdegree Graduate 31,247 PointsRemove the semi-colon after 480px.
Tim Acker
Front End Web Development Techdegree Graduate 31,247 PointsYou shouldn't need to create a new CSS file. Try removing the 'screen and' part. Maybe it's looking for a simpler statement.
Unsubscribed User
5,689 PointsThank much, but I figured it out. I placed the css rule at the top of the css file instead, it was supposed to be at the bottom.
Tim Acker
Front End Web Development Techdegree Graduate 31,247 PointsAhh...that will do it.
Kedrick Martin
8,243 Pointscan somebody help me with this challenge, my code is right, maybe its in the wrong place
Unsubscribed User
5,689 PointsUnsubscribed User
5,689 PointsThanks, I did and still did not work I wonder if I have to create a different css file, but it did not ask me to do so.