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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Evan Lance](https://secure.gravatar.com/avatar/4d546cfd7c7483562def29af18620fd2?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Evan Lance
1,499 PointsHelp 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
![Jacob Arriola](https://secure.gravatar.com/avatar/ddadfac5851fd957adfd49d159f2c091?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Jacob Arriola
12,805 PointsHey 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;
}
}
![Josh Keenan](https://secure.gravatar.com/avatar/d0419723c8add3c25619f65ab04909c9?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Josh Keenan
19,662 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..
Evan Lance
1,499 PointsEvan Lance
1,499 PointsYup. 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!