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

CSS

Responsive Web Design Code Challenge

I can't seem to pass the first task on the media query code challenge. The task is:

Create a breakpoint for devices 480 pixels wide or larger. Inside the breakpoint, set the h1 font-size to 2.5em.

Here's my code:

@media screen and (min-width: 480px) { h1 { font-size: 2.5em; } }

Any insights?

2 Answers

Your code is right. Add it to the bottom of the main.css file after .contact-info class.

Ohhhh wow. Yeah, I didn't pay attention to where I was typing. That fixed it. Thanks!!

Is it at the top or the bottom of your code?