The prompt says to create two more div element and give them each a class of marker. I keep getting errors that say I need to give the div tags need an opening tag or I need to give them a closing tag. I thought that I did both. what am I doing wrong?
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>
<!-- User Editable Region -->
<h1>CSS Color Markers</h1>
<div class="container">
<div>
<div class="marker">
</div>
<div class="marker">
</div>
<!-- User Editable Region -->
</body>
</html>
you should have three .marker div element each one should have only one pair of opening and closing tag like the above one i mentioned. remove all extra div tags. @matt.roeber
Thank you for your help. My code finally passed. I didn’t initially realize that I needed 3 div class markers and I over did it with the div tags to somehow appease the compiler. I think I would have had it right the very first time if I had just had the third marker class.
In your earlier code you had added the marker div elements after it’s container div element. By the way that is great you passed the challenge. Keep it up, happy Coding.