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

Tell us what’s happening:
Describe your issue in detail here.

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>
  <body>
    <h1>CSS Color Markers</h1>

<!-- User Editable Region -->

    <div class="container">
      <div class="marker">
        <div class='marker'></div>
        <div class='marker'></div>
      </div>
    </div>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 14

confused on what I’m doing wrong

Your issue is that you placed your two divs inside this marker div which is incorrect

I would suggest resetting the lesson and place your two marker divs below the marker div.
then it will pass

thank you so much !!! i’ll let you know if it works

i’m sorry i guess i’m just a little confused by what you mean. could you elaborate/show an example? thanks again

So you wrote this which is incorrect

but the lesson wants you to place the two marker divs below the first one

  <div class="marker">
  </div>
PLACE OTHER TWO DIVS HERE

hope that is clearer

thank youuuu!! again i’ll let you know if this works

unfortunately it didnt work, im so confused now, im sure i did what you said but now it’s just saying " Your new div elements should be within the div with the class container ."

thank you for your help and kind words, I appreciate it : )

i still can’t get it to work : /

It would help to see your new code so we can see the issue and help

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

thank you that worked!!

1 Like

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