Step 10 - css color makers

** within the div , add another div element and give it a class of marker:**
Hello, this is my first time to use this forum, because I can no longer find answers to step 10. On this challenge, we need to add div element within another div element, I did watch other codes on where their div element is next to another div element with closing tags, I tried it, but it won’t work because the instructions says the div must be in ‘‘within’’’ the other div element.

  **  <body>
<h1>CSS Color Markers</h1>
<div class="container"> <div class="markers"
</div>
**
/* 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>
  <div class="marker">
  </div>
</body>
</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/102.0.5005.115 Safari/537.36

Challenge: Step 10

Link to the challenge:

I just solved it. thanks!

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