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

Tell us what’s happening:
Hi everyone. I don’t know if this is a bug or something. My code is correct but it won’t proceed to another step. Can some help me with this?

Your code so far

/* file: styles.css */
.canvas {
  width: 500px;
  height: 600px;
  background-color: #4d0f00;
}
<!-- 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>

<!-- User Editable Region -->


    <div class="canvas">
      <div class="frame"></div>
    </div>


<!-- User Editable Region -->

  </body>

Your browser information:

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

Challenge: Learn the CSS Box Model by Building a Rothko Painting - Step 11

Link to the challenge:

Welcome to our community!

You have inverted classes. Within the div with class “frame” is nested the existing div element.

1 Like

You haven’t wrapped the canvas element in another div class frame.
You’ve wrapped the div class frame in the canvas element.

1 Like

Thanks @DobarBREND. I thought it was just a bug. I transfer the frame class to the first <div>

1 Like