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

HTML How to Make a Website Adding Pages to a Website Add and Style Icons

Marcel Zweedijk
Marcel Zweedijk
6,421 Points

Challenge 4/5

I think at question 4 of 5 the LEFT padding is asked to be 30px. But in the answer the RIGHT padding is correct. So if I am correct, the task title needs to be corrected.

3 Answers

Adam Moore
Adam Moore
21,956 Points

The challenge worked just fine for me. Using padding: 0 0 0 30px;, it sets all of the other sides to 0, with only the left side to 30px. This is because, with all four sides listed separately, it goes: top, right, bottom, left, starting at noon and working around clockwise.

Can you paste the code you typed in?

Marcel Zweedijk
Marcel Zweedijk
6,421 Points

You are right. I think I had a blackout. Too much training without break ;-) Sorry for the disconvenience.

Adam Moore
Adam Moore
21,956 Points

Haha, happens to me constantly!