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

Tell us what’s happening:
Describe your issue in detail here.
Hi im f*** confused lol
why is do not working I creat a new div element outside the existing one and with the class frame?
what exactly I do wrong
someone can tell me pls?

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

</body>
  **Your browser information:**

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

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

Link to the challenge:

The instructions say to wrap the new div around the old div, that means that the new div you are creating should become parent of the old div.

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