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

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
I’ve set the divs and added the class, but the coding won’t pass. What am I doing wrong here?

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Rothko Painting</title>
  </head>
  <body>
    <div>
  <div class="canvas">
  </div>
  </body>
</html>

Your browser information:

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

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

Link to the challenge:

You have an extra div opening tag. Remove that and try.

Thank you. I was thinking I needed an opening

before adding the class.

1 Like

This is the opening tag already (it just has an attribute inside it)