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 trialMarcel Zweedijk
6,421 PointsChallenge 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
21,956 PointsThe 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.
Pedro Cabral
Full Stack JavaScript Techdegree Student 23,916 PointsCan you paste the code you typed in?
Marcel Zweedijk
6,421 PointsYou are right. I think I had a blackout. Too much training without break ;-) Sorry for the disconvenience.
Adam Moore
21,956 PointsHaha, happens to me constantly!