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

whats wrong with this? @media only screen and (min-device-width : 480px) { h1 { font-size: 2.5em; } }

I am not sure how to make a break point and change h1 size to 2.5em.

2 Answers

Every thing is fine with the code, it just has to be written at the bottom of the existing code.

Ryan S
Ryan S
27,276 Points

Hi Barry,

You have the right idea but they are just looking for the "min-width" property to set the condition of the media query, not "min-device-width." The wording of the challenge is a bit misleading seeing as they use the word "device" when talking about the width, but everything should work if you change that one thing.

Good luck.