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

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>

<!-- User Editable Region -->

  <body>
    <h1>CSS Color Markers</h1>
    <div class="container"><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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

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

Link to the challenge:

It appears you’re missing a closing a div tag. It’s also easier to read your code if you drop down a line whenever you are nesting elements inside of other elements

Hey bud… from my side I did put a

I don’t know if that’s the kind of closing tag you’re referring to?

Or is it a different one?

im not sure what you put because the forum sort of hides things if you make a tag in the text without backticks like this ``
anyway, you should have a total of two closing </div> tags

So just to be clear

sorry, it’s not showing up.
a div inside of a div will follow this pattern:
<div><div></div></div>
hope that helps

by the way, a quick way to type code, above this box where you’re typing a reply, you’ll see a button that looks like </>
clicking that button allows you type code without it being turned invisible on the forum

Oooooh thanks bud… new to this.

You really helped thanks a million :facepunch:t5:

1 Like

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