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 CSS Foundations Values and Units Relative Length Units

Brandon Antonelli
Brandon Antonelli
9,689 Points

You can use px instead of em and still get it right

I used the actual px values instead of em, and it still said I was correct. Slight bug.

1 Answer

Zack Taylor
Zack Taylor
9,021 Points

well yes it is a slight bug. Tho to be fair its not a wrong answer. you can use em/px/cm/mm as long its a measurement and it = to the size your wanting or in this case the size that's needed to complete the exercise it should all work fine. Tho I can see your point about the slight bug just for this tutorial.

sorry about grammer ( I am currently on a night shift and been here since 7pm)