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 trialKenny Parewijck
4,602 PointsMy code does not work here. I tried it in workspace and everything works fine there.. I keep getting bummers here..
I have to create a responsive breaking point at 480px and add a font-size for the h1 of 2.5em. I did this correctly but I am still getting bummers..
Anybody an idea what's going wrong here?
I typed everything correctly. I even tried it in workspace and this code works perfectly.
Kenny Parewijck
4,602 PointsNo, I found the solution:
I have put my code at the top and when working in one css file in stead of a separate responsive css file all media queries codes must come at the bottom of the site.
1 Answer
Manish Bhan
553 Points@media screen and (min-width: 480px){ h1{ font-size: 2.5em; } }
PAYAL SACHDEVA
1,284 PointsPAYAL SACHDEVA
1,284 PointsMay be you are adding semi-colon ; like this----------------->
@media screen and (min-width: 480px; ) { h1{ font-size: 2.5em; } }
instead write like this with NO semi-colon next to 480px------------------------->
@media screen and (min-width: 480px ) { h1{ font-size: 2.5em; } }