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 trialShelby Spiering
4,272 Pointsbreaking points
Create a breakpoint for devices 480 pixels wide or larger. Inside the breakpoint, set the h1 font-size to 2.5em.
@media screen and (min-width: 480px) { h1 { font-size: 2.5em; } }
2 Answers
Kelly von Borstel
28,880 PointsHi, Shelby. I copied your code and pasted it at bottom of css and it passed. Are you having problems passing the challenge, or do you have a different question about the code?
Kelly von Borstel
28,880 PointsI'm don't know why it's not working for you? If you post all your css formatted, maybe that will shed some light. Here's a link for how to post code so that it retains formatting. https://teamtreehouse.com/community/posting-code-to-the-forum
Alexandre Madesclaire
2,751 PointsAlexandre Madesclaire
2,751 PointsWhen I format the answer with ~ h1 { font-size: 2.5em; } ~ on the second line and the ~ } ~ on the third it wont work. It will work in single line though
Siyuan Welch
3,025 PointsSiyuan Welch
3,025 PointsI have the same problem as Shelby, but I tried put the code at bottom of css it passed. This is my code. @media screen and (min-width:480px){ h1{ font-size: 2.5em; } }