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 trial

CSS

Why is 5 the answer when replacing the em units of .heading with a unit that is relative to the root element of the page

Sorry I don't know how to copy the code from the page like others have (this is for the first question)

html { font-size: 16px; }

header { font-size: 1.5em; }

.heading { font-size: 5rem }

2 Answers

Brandon White
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brandon White
Full Stack JavaScript Techdegree Graduate 35,771 Points

Hi Ainara,

5 is the answer only because that’s the given code when the challenge begins. The challenge only asks you to change the unit of measurement.

Does that clear things up for you?

Oh my goodness yes this does. Thanks so much!