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

Tell us what’s happening:
I dont understand why it says i must put the div inside the container as im doing that it keeps on saying i should do it again i dont know how is it wrong

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 class="marker">
      <div class="marker">
      </div>
    </div>
  </body>
</html>
/* file: styles.Ext.css */
h1 {
  text-align: center;
}

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

Your mobile information:

SM-A042F - Android 14 - Android SDK 34

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

Link to the challenge:

Hi @Busanathiradebe

The new div elements are missing closing tags.

Happy coding

1 Like