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

Tell us what’s happening:
Describe your issue in detail here.
I tried every possible method but it doesn’t work.

  **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="canvas" class="frame"></div>
</body>
</html>
  **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/15.5 Safari/605.1.15

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

Link to the challenge:

Hello! so you added the class=“frame” to the div, you’re supposed to wrap the class=“canvas” with the Frame class div like so…

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

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