Your new div element should have an opening tag

Next, within the div, add another div element and give it a class of`marker.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<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 marker">
        </div>
  </body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Step 10

Link to the challenge:

1 Like

You have added a second class name to your first div. You should create a second div and put it before the first div’s closing tag.

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