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

In CSS Basics, Understanding Values and Units, Em and Rem Units Challenge Task, 2nd question.

In the Em and Rem Units Challenge, the second question asks what is the em value of a child element if it's px value is 53px's. It's parent's em value is 1, which if I'm not mistaken equals 16px's. So I divided 16 into 53 and got 3.313. I thought that would then equal the em value of 53px's. So I listed 3.313em as my answer and it keeps giving me a "bummer" response. What am I doing wrong, what am I not understanding, can anyone help? thanks in advance.

1 Answer

Steven Parker
Steven Parker
231,264 Points

You had the right idea, your calculation precision was just a bit limited. As Oszkár pointed out, the fully precise value is 3.3125.