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 trialSarah Park
1,857 PointsAre answers to challenge #2 and #3 the same?
What is an alternate solution to challenge #3? I found that the console accepts challenge #2's answer without any errors.
(I know answers for #3 is supposed to be open-ended/subjective, but was curious to see how others solved this without simply reusing #2's answer.)
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsI don't know for sure but I suspect any answer that works out to 10px will pass. I can't remember what I did. I may have put it back to 5px * 2
or just put 10px
.
I saw in another post about this that the challenge may be looking for 10px
. Basically, keep it simple. If you need 10px then just put it. No need to do a calculation to arrive at it.
James Ingmire
11,901 PointsJames Ingmire
11,901 PointsQuestion and code are needed to answer a question. Thanks.