Learn the CSS Box Model by Building a Rothko Painting - Step 13

Tell usMy code doesn’t work and I can’t find the error what’s happening:

My code doesn’t work and I can’t find the error. I need help.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Rothko Painting</title>
    <link href="./styles.css" rel="stylesheet">
  </head>
  <body>
    <div class="frame">
      <div class="canvas">
      </div>
    </div>
  </body>
</html>
/* file: styles.css */
.canvas {
  width: 500px;
  height: 600px;
  background-color: #4d0f00;
}


/* User Editable Region */

 .frame {
  border: 50px solid black;
  .frame {width:500px;}
}


/* 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/133.0.0.0 Safari/537.36

Challenge Information:

Learn the CSS Box Model by Building a Rothko Painting - Step 13

When you use .frame you’re saying that everything in your HTML that is the “frame” class will be affected by what you put in between your brackets: {}

So look at what you have within the brackets of your first .frame