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

Tell us what’s happening:

I don’t understand what should i do in this step. How do i wrap .canvas element into 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">

<!-- User Editable Region -->

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

<!-- User Editable Region -->


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

Challenge Information:

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

pls click reset first to get the original code:

<div class="canvas">

Then add an opening div tag to above this code and a closing div tag below this code.
Finally add the required class to the new div opening tag.


It should look something like this:

mod edit: code removed

Just how you put a canvas inside a frame! :wink:

Let me know if it works!

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Ohh, you’re right. I didn’t thought that they also need to use their problem solving skills then. sorry! :sweat_smile:

1 Like

Thanks a lot, i solved the problem!:smiling_face_with_three_hearts: