Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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 .

try

h1 { font-size: 2.5em; }

And therein lies my confusion -- thanks!