The instruction: " In the containerdiv , add two more div elements and give them each a class of marker"
In other words, you have to add two more div elements with the same class as the first one, shown here, and already given in the challenge:
<div class="marker">
</div>
âdivâ element has both, the opening <div> and the closing </div> tags. The âclassâ attribute always goes into the opening tag. Here the class is called âmarkerâ.
You donât want to nest the new divs inside of each other. They should both be completely separate just like the original div you added in the previous lesson.
Thank you both, but it keeps showing that my new div elements should be within the div with the class container, or it shows my second div element should have a closing tag.Hereâs my code
You see how there is already one .marker div inside of the .container div? You just want to add two more .marker divs. But donât nest them. Add them one after the other. So after you are through, you should have three .marker divs inside of the .container div.
Thanks, but I still donât understand how it should be nested in the container without removing the closing bracket. Anyways, thanks a bunch for trying to explain it all to me.
The .marker div is nested within the .container div. It has both an opening and closing div tag within the .contaner div. That means it is completely nested within the .container div. You just need to add two more .marker divs inside the .container div.