The 11th challenge was quite confusing

The 11th challenge was quite confusing, the image shows a padding of 100px by 200 for teal and 200px by 200px for the other, but the solution uses 0 and 50px for teal and 50px for the other, i’m really confuse.

Might we please be availed of a link to the landing page for this exercise?

https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-22-improved-styling-with-css/modules/wdcp-22-learn-css-typography/lessons/learn-css-code-challenges/exercises/padding-margin-challenge

1 Like

Padding is measured from the box edge inward, but it also stretches the box.

1 Like

@mtf, Thank you for that. so the dimension 100px and 200px given inside the box is for what actually?

Inside dimensions. With padding only on the left and right, the 100px teal box stretches to 200 px wide. With padding all around, the 100 X 100 purple box stretches to 200 X 200.

1 Like

Thank you @mtf, i understand better now.

1 Like