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

My code isn’t running.
The error is described as: “Your code should have a div element”

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->

  </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/16.5 Safari/605.1.15

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

Link to the challenge:

When I copy and paste your code it passes the challenge. There are a few steps you can try.

  1. Try restarting and refreshing the challenge to see if it will pass
  2. make sure you dont have any extensions running. Things like ad blocker, and dark mode can cause the challenge to fail.
  3. If none of the above work, then try submitting in the challenge in a different browser
1 Like

I used a different browser and it worked. Thank you!

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