Tell us what’s happening:
Add the height property with the value 600px to your .canvas rule.
.canvas {
height: 600px;
}
This code won’t pass
I’ve switched browsers, chrome to firefox, still getting the same error.
Please assist
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 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Challenge Information:
Learn the CSS Box Model by Building a Rothko Painting - Step 9