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 trialJustin Arndt
827 PointsTrouble with the first step of code challenge (480px breakpoint)
Here's the question and my code:
"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; } }
What am I missing?
Thanks! Jason
1 Answer
Erik S.
9,789 PointsHi Jason, the code looks good. Did you copy it before or after the h1 selector, that sets the font-size to 1.75em (in the middle of the css). If you copy it below, the property won't be overwritten and the challenge will pass.
Justin Arndt
827 PointsThat was it. I had to put it at the bottom. I had placed it at the top since I can only "click in" at the top of the editor.
Thanks for your quick and correct reply!
Justin Arndt
827 PointsJustin Arndt
827 PointsWhoa sorry about that formatting. I had it spaced out for more readability and it went rogue on me! =)