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 trialEvan 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
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
20,315 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!