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!

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




1 Answer

Colin Marshall
Colin Marshall
32,861 Points

Are you talking about this question?:

How does the browser determine the line height in the following rule?

.intro { 
  font-size: 1.2em; 
  line-height: 1.7; 

The correct answer is: the browser multiplies the font-size value by 1.7

There is no mistake, if line-height is a unitless value, the line height is that value multiplied by the font-size.

thank you