I have tried all of the ways I know how to get this to work, it keeps telling me that either i am not including opening tags for me new div or closing tags, i add and it still doesnt work and it also tells me that i then am not putting the second divs WITHIN the container div. please help! and please dumb it down for me haha
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 class="marker">
</div>
</div>
</div>
</div>
<!-- User Editable Region -->
</body>
</html>
what do you mean by that? ive tried to code it a couple different ways but it either says i need to put the 2 new divs within the container div which to me would be <div class=“container”, div class"marker"> and so on but that doesnt work either
we can see that the opening tag of the second .marker is before the closing tag of the first .marker, so that means that the second .marker is inside the first one. They should be all siblings, at the same level, not inside each other.
I know my formatting needs work
So I did exactly what you have here and when i check code, it tells me “Your new div elements should be within the div with the class container .”
It’s exactly the same thing you have written with proper indentation, it’s not different code, to show that they are one inside the other. you need to still fix it
Oh, i see. Your comment was to make note of the format of my code. Thank you.
Do you by chance know what I am doing wrong to get past this section? I dont understand what it means that it wants me to put the new div elements within the container div, ive tried it a couple different ways and its not pushing through to the next section.
I did not understand the verbiage, no. But I was able to figure it out, between you reformatting it and i just tried to recode a couple different ways and I got it down.