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

Tell us what’s happening:

Here’s my code… i don’t know what’s wrong
Please help

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"></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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Challenge Information:

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

hi and welcome to the fCC forum.

The instructions wanted the new div to be placed -within- the .container div.
Right now you have the new div -below- the .container div.

2 Likes

Hey Buddy Kindly Put in inside the existing div class .container

As the new div .marker is a child of .container

Hope You Understand !!

1 Like