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 CSS Basics (2014) Enhancing the Design With CSS Media Queries

Peter Whittle
Peter Whittle
3,584 Points

Why won't my answer of "5rem" be accepted in the final question?

Question says, "Finally, target the h1 element and give it a font size of 5rem.

So I've written:

.h1 { font-size: 5rem; }

But it just keeps saying it's wrong and asking, "Did you specify the correct font size for the h1 element?"

I'm pretty sure I have???

1 Answer

Oftentimes, reviewing your code for typos will solve most problems. In this case, there is a unnecessary dot in front of h1.

Peter Whittle
Peter Whittle
3,584 Points

Ha! Read over it about 10 times trying to find a typo. Stupid mistake, was targeting the h1 as if it was a class. Oops.

Thanks for your help.