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

Pablo Grippo
25,765 PointsBuild a Responsive Website > Creating a Fluid Foundation > Scalable images
I can´t do the Code Challenge, where it says:
Convert the padding on .cake from pixels to percentages.
I´m using the formula Target / Context = Result like so:
10 / 700 = 1.42%
What is the exactly percentage that I have to use? Please help me!
Thanks in advance!
1 Answer

Carman A
7,672 PointsCan you link to the part your stuck? P.S make sure you don't round up or down
Pablo Grippo
25,765 PointsPablo Grippo
25,765 PointsSure, here is the link:
http://teamtreehouse.com/library/websites/build-a-responsive-website/creating-a-fluid-foundation/scalable-images-2
I can`t convert padding to percentages.
Miranda Lee
2,887 PointsMiranda Lee
2,887 PointsHello, In this case, the context of the cake should be 600px. 10/ 600= 0.016666666* (?) This will give you percentage of 1.66666%.
Pablo Grippo
25,765 PointsPablo Grippo
25,765 PointsThank you very much Miranda Lee! Now, I can continue working on these. Thanks! :)