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 How to Make a Website Responsive Web Design and Testing Write CSS Media Queries

trying to do the media query challenge and it is saying that I have not input the header change correctly?

@media screen and (min-width: 480px) { h1{ font-size: 2.5em; } }

this change works in the site I am building in my own text-editor as I go along, but isnt working on the challenge editor

3 Answers

Hi,

I copied your code and tried the challenge. The challenge was passed and no issues.

Could you please close the browser, refresh it and try again.

Thanks, Aishu

Hey Gabriel,

I just got mine to work by making sure to put the media query AFTER the rest of the CSS that was already written in the challenge. This makes sense due to it being a CASCADING style sheet. :) Try that.

I just attempted this fix, and the challenge is still responding the same way.

Thanks!

-Gabe