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

Tell us what’s happening:
Describe your issue in detail here.

alright I am back again with another beginner mistake, it is saying the new .canvas element should be nested in the new div element which I have done and also triple checked with chatGPT but even chat is getting it wrong so please someone anyone tell me, what am I doing wrong
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>

<!-- User Editable Region -->

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


<!-- User Editable Region -->

  </body>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15

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

Link to the challenge:

First, reset the task.
The div that’s there, the one with the class = canvas, that div needs to be wrapped around by a div element, the class of which should be frame.
Wrap a div element around the div class=“canvas”, and give it a class of frame.
I hope this helps.
Thank you.

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