Learn Intermediate CSS by Building a Picasso Painting - Step 14

Please help me to find the mistake. The mistake says: " Your first new div should have the classes eyes and left". I have them, and I have closing tags, and can’t figure out, what is missing.

Thank you in advance!

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Picasso Painting</title>
    <link rel="stylesheet" href="./styles.css" />
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  </head>
  <body>
    <div id="back-wall"></div>
    <div class="characters">
      <div id="offwhite-character">
        <div id="white-hat"></div>
        <div id="black-mask">

<!-- User Editable Region -->

      <div id="eyes left"></div>
      <div id="eyes right"></div>            </div>

<!-- User Editable Region -->

        <div id="gray-instrument"></div>
        <div id="tan-table"></div>
      </div>
    </div>
  </body>
</html>
/* file: styles.css */
body {
  background-color: rgb(184, 132, 46);
}

#back-wall {
  background-color: #8B4513;
  width: 100%;
  height: 60%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

Your browser information:

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

Challenge: Learn Intermediate CSS by Building a Picasso Painting - Step 14

Link to the challenge:

You should add the ‘class’ attribute, not the ‘id’ attribute to the div elements. This is an example from the same code (a few code lines above this in question):

<div class="characters">

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.