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

Tell us what’s happening:
I am struggling to proceed on this step. Please kindly assist!

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>
      <div class="frame">
        </div>
        <div class="canvas">
          </div>
        <div class="canvas">
          </div>
      
  </body>

Your browser information:

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

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

Link to the challenge:

you’re asked here to wrap (enclose) the div with “canvas” class with another div having a class “frame”.
And one more thing I am looking two “canvas” div’s and there should be only one div with “canvas” class.

I still don’t get it, I tried removing one div with “canvas” class to be left with one but still the code can’t pass :man_facepalming: :man_facepalming: :man_facepalming:

Ok if you removed on of the “canvas” div I think the only problem you are having is wrapping it with the new div “frame”.

<div class="div1">
<div class="div2">
</div>
</div>

Can you see how div1 wraps div2. you should do yours the same way.

Cool, I managed to proceed now. Thanks :pray: :pray: :pray: :pray: