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
Elliot Hall
969 PointsHelp needed
When I add the following it does not work. But it works within my workspace? I can not see what is wrong? I am getting the error " Bummer! Did you change the h1 font-size to 2.5em for devices larger than 480px?".
@media screen and (min-width: 480px) { h1 { font-size: 2.5em; } }
5 Answers
Tanja Schmidt
11,798 PointsCould you post a link to your challenge? That would make it a lot easier to figure out how to help. :)
Sue Johnson
16,648 PointsYour code is correct. You need to delete the rest of the code from the challenge to get it to pass. Not very clear.
Tanja Schmidt
11,798 PointsYour code works just fine - and you don't need to delete the rest of the code (though it works if you delete it completely). The bummer hints are sometimes a bit irritating. I played a bit with the code and there seem to be two reasons your otherwise correct code might not work: You either deleted one or several characters of the rest of the code (in a way that it does not work anymore) or you added your media query not at the bottom of the file. Just restart your challenge and add your code right at the bottom. Happy Coding! :)
Elliot Hall
969 PointsSure. Not sure if this link is what you were looking for?
Elliot Hall
969 PointsHi, Ok thanks guy!