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

Tell us what’s happening:

Hi everyone!
I don’t understand how to add another div class to the existing div class without coding new div class,
So the mistake i get is on the step10.

Your code so far

<!-- 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;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) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

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

Leave one space between the two class names and remove the semicolon

1 Like

Hi there!
The instructions is asking you:
within the div element, add another div element and give it a class of marker.

You didn’t added new div element within the container div element. Instead you added a second class marker to the container div element.
Example

<div class="box">
<div class="apple"></div>
</div>