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

Tell us what’s happening:
Step: Create a new CSS rule that targets the class marker , and set its background-color property to red .

I did what the instruction told me to do. Still not passing this step. What’s wrong here?

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 class="marker">
      </div>
    </div>
  </body>
</html>
/* file: styles.css */
h1 {
  text-align: center;
}


/* User Editable Region */

.marker {
  background-color:"red";
}

/* User Editable Region */


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43

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

Link to the challenge:

you dont set a CSS rule by "" if you delete the "" around the property "red" then you should pass

1 Like