Help please step 42

Step 42

Update the .one class selector to target the new red class.

??? I have no idea how to do that because this boot camp does not explain how.

Any help???

Thanks.

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

.container {
background-color: rgb(255, 255, 255);
padding: 10px 0;
}

.marker {
width: 200px;
height: 25px;
margin: 10px auto;
}

.one {
background-color: rgb(0,0,0);
}

.two {
background-color: rgb(0, 0, 0);
}

.three {
background-color: rgb(0, 0, 0);
}

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 42

Link to the challenge:

replay the .one with .red

1 Like

hi good day please can you help me out with step 42 of color markers css thank you

1 Like