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

Currently, the base font size is the browser's default size of 16px. Using the em unit, set h1 font size equivalent to 40px.

h1 { font-size= 2.5em; }

seems like it would be right but not passing....help plz.

5 Answers

CSS uses : not = when assigning values to properties

mix up, got it. thanks.

h1 { font-size: 2.5 em; } seems like it would be right but not passing

I do wrong?

No spaces are allowed between numbers and units in CSS.

Oh ok finished thank .

why 2.5em ?

16/40 =2.5 . 1em is 16