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

Please help me i try so much i try evrey way it say have 2 div indoning like say but :expressionless:

<!-- file: index.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>

<!-- User Editable Region -->

  <body>
    <h1>CSS Color Markers</h1>
    <div class="container"></div>
    <div class="marker"></div>
  </body>

<!-- User Editable Region -->

</html>
/* file: styles.css */
h1 {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/22.0 Chrome/111.0.5563.116 Safari/537.36

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

Link to the challenge:

Your marker div needs to be nested inside your container div

Example of nesting

<div>
   <h1>Nested</h1>
   <h2>also nested</h2>
</div>

These h1 and h2 are nested inside the div

2 Likes

You need to add div element in in your first div element