Please see my code where is problem I need to nested div element with in the div

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <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">
  <h1>CSS Color Markers</h1>
  <div class="marker"> <div classs= "container">
/* file: styles.css */
h1 {
text-align: center;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; A7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36

Challenge: Step 10

Link to the challenge:

Hi @Usmankk43

The instruction says:

Next, within the div , add another div element and give it a class of marker .

This is how you nest a div inside another div.

<div class="container">
   <div class="nested-div"> </div>

I have set the class of the nested div to nested-div. Be sure to change it to what the task wants. And check the spelling of class.

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