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 trialAngus Eliott
3,793 Pointsline height
"Next, give intro a unitless line-height that's 1.6 times larger than the font-size value." font size was 1.25. 1.25x1.6=2 according to windows 8.1 PC calculator
.intro {
font-size: 1.25;
line-height: 2;
}
Angus Eliott
3,793 Pointsthx Marko Nestorovic
1 Answer
Marko Nestorovic
12,441 PointsThe way you're trying to do, is for "em" and "rem" units of font-size, but not for line-heights.
Hussein Musse
3,024 PointsGood answer buddy
Marko Nestorovic
12,441 PointsMarko Nestorovic
12,441 PointsIt doesn't matter what's the size of font, you just need to put value of 1.6 for line-height property.