Learn CSS Colors by Building a Set of Colored Markers - Step 40

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

/* file: index.Ext.html */

h1 {
text-align: center;
}


  padding: 10px 0;
}

.marker {
  width: 200px;
  height: 25px;
  margin: 10px auto;
}

.one {
  background-color: rgb(0, 0, 0);
}

.two {
  background-color: rgb(0, 0, 0);
}

.three {
  background-color: rgb(0, 0, 0);
}

/* file: styles.Ext.css */

h1 {
text-align: center;
}


  padding: 10px 0;
}

.marker {
  width: 200px;
  height: 25px;
  margin: 10px auto;
}

.one {
  background-color: rgb(0, 0, 0);
}

.two {
  background-color: rgb(0, 0, 0);
}

.three {
  background-color: rgb(0, 0, 0);
}

Your mobile information:

SM-S901B - Android 14 - Android SDK 34

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 40

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hello!
You have removed the .container and its background-color of rgb(0, 0, 0). Try adding it in again

1 Like

Hey @Henok1 next time you post something make sure to describe it to us so we know what we should help you with. I can see that you have a padding but is outside your h1 and is not identify to who is this padding belong to because is outside. also there is a closing bracket at the end of the padding . hope that helps if not comment back and we help you from there.

1 Like

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