Tell us what’s happening:
Hello! I’m struggling to add a second class to my div element? I’ve typed in “one” with a space from “marker” within the same speech marks as per the example but it does not seem to work. I must be missing something really silly. Thanks!
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>
<div class="container">
<!-- User Editable Region -->
<div class="marker one">
</div>
<div class="marker">
</div>
<div class="marker">
</div>
<!-- User Editable Region -->
</div>
</body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}
.marker {
width: 200px;
height: 25px;
background-color: red;
margin: 10px auto;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Challenge Information:
Learn CSS Colors by Building a Set of Colored Markers - Step 16