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

Tell us what’s happening:
I dont know whats wrong with what im doing i have tried to place everything together but its still says i must add the 200px

Your code so far

/* file: index.Ext.html */
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Colored Markers</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <h1>CSS Color Markers</h1>
    <div class="container">
      <div class="marker">
      </div>
    </div>
  </body>
</html>
/* file: styles.Ext.css */
h1 {
  text-align: center;
}

.marker {
  background-color: red;
property-width: 200px;
property-height: 25px;
}

Your mobile information:

SM-A042F - Android 14 - Android SDK 34

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

Link to the challenge:

property-width: 200px;
property-height: 25px;

https://developer.mozilla.org/en-US/docs/Glossary/Property/CSS

Hi @Busanathiradebe

In your .marker CSS rule, set the height property to 25px and the width property to 200px

You need to use the properties mentioned in the instructions.

Happy coding

1 Like