I feel so dumb!

** First, add the class one to the first marker div element.**
i dont know what to write

  **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" type="text/css" href="styles.css">
</head>
<body>
  <h1>CSS Color Markers</h1>
  <div class="container">
    <div class="marker">
    </div>
    <div class="marker">
    </div>
    <div class="marker">
    </div>
  </div>
</body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}

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

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 16

Link to the challenge:

Sometimes the text in the challenges is kind of awkward to read. What it is saying here is that you want to add another class called 'one' to to the first 'marker' div. The marker divs are the three divs that have the class 'marker'. From the instructions of the challenge it shows that you can add multiple classes to an element if you separate them by spaces ie class='class1 class2'

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