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 trialRicardo Connelly
928 PointsSeems like there is no correct answer??
I am on a quiz at the end of CSS font styling and got this question below
The line-height property defines the amount of space above and below text.
A the font size of text B the horizontal spacing between lines of text C the vertical spacing between lines of text D the length of paragraphs
I choose B and I got told this was incorrect. This B seems like a trick answer within itself. as could actually mean 2 different things. But apart from that I know what line-height is but can't see how any of the other answers can be correct compared to B which is not worded that well imo..
Anyone know which one was the correct answer as I see none that fit the bill
2 Answers
Leandro Botella Penalva
17,618 PointsHi Ricardo,
line-height property adds space above and below the lines to separate one line from another, so the valid option is C.
Ricardo Connelly
928 PointsThanks I can see now I had a picture of a invisible horizontal line in my head above and below the text lines but can see how it is C now. Thanks