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
Katherine Duncan-Welke
iOS Development with Swift Techdegree Graduate 33,030 PointsCode challenge won't accept correct answer
I am stuck on a code challenge question that asks me to translate a 53px font size into em, when the base is 16px. I have entered the correct answer (3.313em) and code every time (even using different browsers) but I keep getting feedback that tells me the answer is wrong. Is anyone else having this problem, or know how to work around it? I'm wondering if this is a Mac compatibility problem.
3 Answers
Zach Elkins
9,602 PointsTry using 3.3125em instead, as that is the non-rounded number coming from dividing 53px/16px.
I did the challenge a while ago and put in the exact number and it worked fine. Hope this helps.
Dustin Matlock
33,856 PointsHi Katherine, I think the information you're looking for is located here. I went ahead and updated the topic to CSS for you.
Katherine Duncan-Welke
iOS Development with Swift Techdegree Graduate 33,030 PointsThank you! It was unclear that four decimal places were needed as the other numbers only used three. It works fine now.