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

Tell us what’s happening:

Describe your issue in detail here.
Step 9
Add the height property with the value 600px to your .canvas rule.

Your code so far

/* file: styles.css */
.canvas {
  width: 500px;

/* User Editable Region */

.canvas {
  height: 600px;
}

/* User Editable Region */

}
<!-- 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 class="canvas">
    </div>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge Information:

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

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hey @shamay.peart !
You shouldn’t form a new selector. The property is to be added to the original class selector.

It really helps us help you better if you talk to us about what difficulties you are having. Copy-pasting the instructions at us doesn’t really help!

1 Like

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