Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Basics (2014) Understanding Values and Units Styling the Intro Paragraph

Give 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.

style.css
/* Complete the challenge by writing CSS below */

p.intro {
  font-size: 16px;
}

.intro {
  font-size: 1.25em;
  line-height: 1.6;
}

2 Answers

Don't need the first font-size 16px because you are declaring it below in .intro class.

that did it, thank you!

No problem.