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 Build a Responsive Website Creating a Fluid Foundation Scalable Images

Waqar Ashraf
Waqar Ashraf
3,743 Points

What its not accepting as correct answer

padding: 0.0166666666667%;

2 Answers

Ken Alger
Ken Alger
Treehouse Teacher


If you are working on the first question of the challenge, Convert the padding on .cake from pixels to percentages. the current pixel size for the .cake class is 10px. That would be the Target value in the formula from the course. The Context value would be 600px as stated in the comments for the width property in the cake class.

The formula is Target / Context = Result, right? So 10px / 600 px = 0.0166666666667. Multiply by 100 to convert to percent. You wind up with 1.666666667%.

Happy coding,


idan ben yair
idan ben yair
10,288 Points

hi waqar, can you post the question and the whole code? thanks.

James Barnett
James Barnett
39,199 Points

Since the user linked us to the code challenge (under related content in the sidebar) what we need in addition to the code they are using is to know which step of the code challenge they are on.