Tell us what’s happening:
Describe your issue in detail here.
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>
<!-- User Editable Region -->
<div class="canvas"></div>
<div class="frame"><div/>
<!-- User Editable Region -->
</body>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.55
Challenge: Learn the CSS Box Model by Building a Rothko Painting - Step 11
Link to the challenge:
it says Wrap the .canvas
element in another div
. Give that div
the frame
class. when i wrapped it, the hint says You should add a new div
element. When i added a new div element it still didnt pass. can you tell me what im doing wrong?