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

HTML

Stuck at Media Query Coding Challenge

"Create a breakpoint for devices 480 pixels wide or larger. Inside the breakpoint, set the h1 font-size to 2.5em."

I am stuck at this simple challenge for media queries. Can't see what I'm doing wrong. I guess something's not working with the h1 selector because it's not colored.

Here's the screen: http://imgur.com/llicTVI

2 Answers

Hi Vlad,

Move the entire media query at the bottom of your css. If you put it at the top the font-size declaration set in the h1 rule already defined in the css will override the font-size in the media query.

Thank you! That did it.