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 trialMarco Aniello
3,297 PointsGive intro a unitless line-height that's 1.6 times larger than the font-size value.
hi this keeps giving an error but I dont know what Im doing wrong The error is: Bummer! Make sure you're setting a unitless line-height value that multiplies the font-size value by 1.6.
/* Complete the challenge by writing CSS below */
p.intro {
font-size: 16px;
}
.intro {
font-size: 1.25em;
line-height: 1.6;
}
2 Answers
Shaun Earley
20,412 PointsDon't need the first font-size 16px because you are declaring it below in .intro class.
Shaun Earley
20,412 PointsNo problem.
Marco Aniello
3,297 PointsMarco Aniello
3,297 Pointsthat did it, thank you!