Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Responsive Web Design and Testing Write CSS Media Queries

Help with breakpoint in code challenge; Not sure what I'm doing wrong.

I've put the following in; @media screen and (min-width: 480px) h1 { font-size: 2.5em; } }

as an answer to the question: Create a breakpoint for screens 480 or wider to change the h1 font-size to 2.5em. I believe I've done it but I'm not sure what isn't working. Thanks.

2 Answers

Hey Evan,

Looks like you're missing an opening curly brace right before the h1 tag. Hope this helps!

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

Yup. I found it after posting naturally i have no idea why I missed it in the first place. Sometimes I swap my :s for ;s too and that causes trouble. Thanks!

Josh Keenan
Josh Keenan
19,437 Points

[RESOLVED] If you have the same problem refresh the page a few times.

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

This won't pass for me, lil help..