Tell us what’s happening:
Hello everyone!
I really don’t know where I’m wrong in this lesson, I searched on the forum but it’s not there and it doesn’t work. I tried the last way which is to go to the next lesson to copy and paste it, but it doesn’t work either. So I hope you guys can help me with it.
Your code so far
<!-- 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="frame">
<div class="canvas">
<div class="one"></div>
</div>
</div>
</body>
</html>
/* file: styles.css */
.canvas {
width: 500px;
height: 600px;
background-color: #4d0f00;
}
.frame {
border: 50px solid black;
width: 500px;
padding: 50px;
margin: 20px auto;
}
.one {
width: 425px;
height: 150px;
/* User Editable Region */
background-color: #efb762;
/* User Editable Region */
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Challenge Information:
Learn the CSS Box Model by Building a Rothko Painting - Step 19