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 Foundations Values and Units Relative Length Units

Really struggling with this particular challenge

I'm stuck on the first question and when I tried to reference other discussions on this question, it seems like my answer is correct:

.h1 { font-size: 2.5em; }

What's going on? Thanks!

Can you reference the tutorial?

First off, try removing the full-stop before the h1 selector. A full stop is typically used to select a class.

James Barnett
James Barnett
39,199 Points

Max Reinsch - > Can you reference the tutorial?

Check out the related content section on the right-hand sidebar.

2 Answers

Stone Preston
Stone Preston
42,016 Points
.h1 { font-size: 2.5em; }

h1 is not a class, its just a regular element, so it should not be preceded with a .


h1 { font-size: 2.5em; }

And therein lies my confusion -- thanks!