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

Tell us what’s happening:
Describe your issue in detail here.
that is what i have done but Yet am told to add a new div element and when i do i cant pass cos they keep asking me to add a new div element
Your code so far

/* file: styles.css */
.canvas {
  width: 500px;
  height: 600px;
  background-color: #4d0f00;
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Rothko Painting</title>
    <link href="./styles.css" rel="stylesheet">
<div class="frame"><div class="canvas"></div>
    <div class="canvas">


Your browser information:

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

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

Link to the challenge:

It just says to wrap this above div in another div and give it the class frame.
By wrapping, it means the above content should come in between the opening and closing div tags. And that the wrapper div should be given the class frame, just like this one has the class as canvas. That’s it.
Also, please remove all the other unnecessary divs you put in between.

1 Like

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