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) Understanding Values and Units Fonts and Line Height Review

Richard Targett
Richard Targett
4,960 Points

stuck on the quiz

font: 1em/1.5 Helvetica, Arial, sans-serif;

In the font shorthand declaration above, __________ is the font-size value and ___________ is the line-height value.

What are the blanks. I tried and it wont work.

Timothy Bramlett
Timothy Bramlett
6,609 Points

Richard, I think it should just be "1" and 1.5" . Does that work?

4 Answers

Jeff Gray
Jeff Gray
3,281 Points

I tried this as:

1 and 1.5 (wrong) 1em and 1.5em (wrong) 16px and 24px (wrong) 1em and 1.5 (correct)

Really, all of the above are correct, but...

Jasper Leenarts
Jasper Leenarts
13,830 Points

first should be 1em and second 1.5.

Curious about what you entered?

1em and 1.5 is correct answer :)