Learn CSS Colors by Building a Set of Colored Markers - Step 9

Tell us what’s happening:
Describe your issue in detail here.

Im not sure what could be 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>
  <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 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 9

Link to the challenge:

hello,

Always add html attributes to the opening tag of the related element.
so in this case, class is an attribute
and we want to define it for div
so place the definition inside the opening tag of div

1 Like

Ok I fixed it thank you for the help!

1 Like