How do i wrap a selected class value in a div element with a new div element carrying a different class

Tell us what’s happening:
Describe your issue in detail here.
i am confused as to how i can wrap a class value in a div with a div carrying its own class

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

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

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

Challenge: Step 11

Link to the challenge:

Hello @maczealot.

Read the instructions again, it says to wrap/cover the div with the class="canvas" with a new div that has the class="frame". Think of wrapping presents :gift:

Hope that helped…

1 Like

yeah it did, i feel like i did it before, maybe it was typo, but it’s fine now, thank you…

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