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 trial

General Discussion

@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

Thanks, 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.

Thank 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.

Kedrick Martin
Kedrick Martin
8,243 Points

can somebody help me with this challenge, my code is right, maybe its in the wrong place