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

Andrew Baisden
PLUS
Andrew Baisden
Courses Plus Student 5,132 Points

Creating a Fluid Foundation code challenge glitch?

Hey does anyone know how to get pass these tasks? I am stuck on the first challenge "Using .container as your context, convert the width of .icing from pixels to percentages." I'm sure its pretty obvious but right now I can't seem to figure it out. The answer cant be giving .icing a property of "width: ;" surely? Because it does not give me the red bar of death and it lets me move on to task 2??? If the container is the context and it has a width of 500px then surely it is 500px / 500px which is the width of .icing giving a value of 1?

I cant believe im stuck on percentage conversions... :p

3 Answers

Do you have a link to the Q.

Yeah so its 100%. As it says icing is 500px and the context is also 500px

Andrew Baisden
PLUS
Andrew Baisden
Courses Plus Student 5,132 Points

Thanks it worked! I cant believe i spent so long trying to figure that one out... I really want to get through this Build a Responsive Website project so i can start practising using percentages and em in my websites.

Least you got there, I never use PC just stick to em and always set body font-size to 16px for the base.