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 trialsanjana porwal
4,080 Pointsissue in solving challenge
For below question Ques: Use a unitless line height that is 1.5 times the paragraph's font size. I am trying to write below code, but it is not working. Please help h1 { font-size:1em; line-height:1.5; } p { font-size:1em; }
2 Answers
Christer Austad
8,373 Points/* Complete the challenge by writing CSS below */
h1 {
text-transform: capitalize;
}
p {
text-indent: 50px;
line-height: 1.5;
}
Vikram Mudaliar
8,593 PointsCould you once try to avoid the <font-size> property, if it wasn't already present and just use line-height?