Step 25- Learning CSS Colors

Step 25

Now add a little more vertical space between your markers and the edge of the container element they’re in.

In the .container CSS rule, use the shorthand padding property to add 10px of top and bottom padding, and set the left and right padding to 0. This works similarly to the shorthand margin property you used earlier.

Learn CSS Colors by Building a Set of Colored Markers: Step 25 |](

I am a little confused as to what is being asked here. See below my code

container {
background-color: rgb(0, 0, 0);
padding-top: 10px 0;
padding-bottom: 10px 0;
padding-left: 0px
padding-right: 0px


you are not using the shorthand padding property

same error I’m facing could u elaborate in detail

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

yeah thanks for the advice, I was new to forum will do if I have ques in future :v:

contenedor {
relleno superior: 10;
relleno inferior: 10;
relleno-izquierda: 0px
relleno-derecha: 0px


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.