Tell us what’s happening:
Describe your issue in detail here.
I added the div element inside the body element and assigned it a class of container. The code is marked as wrong, but I can’t figure out where I made a mistake. Any help would be greatly appreciated!
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"></div>
</body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 9
Link to the challenge: