RGMC
1
Tell us what’s happening:
Describe your issue in detail here.
Please help on step 11
**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>
<div class="canvas">
</div>
<div class=".canvas" class="frame"></div>
</body>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36
Challenge: Learn the CSS Box Model by Building a Rothko Painting - Step 11
Link to the challenge:
ilenia
2
what kind of help do you need? what issues are you having?
RGMC
3
This the result I got any time I try to submit:
Your .canvas
element should be nested in the new div
element.
I have tried severally based on my interpretation of the question but all the code I wrote was not correct.
ilenia
4
the description says
Wrap the .canvas
element in another div
. Give that div
the frame
class.
So you need a div
with class of canvas
, inside a div
with class of frame
your divs are not nested
RGMC
5
I don't know if I get your explanation but this is what I did aging but it has not yet passed:
<div class="canvas">
</div>
<div class="frame">
<div class=".canvas"> </div>
</div>
Thank you.
RGMC
6
I still try it this way, it wasn't go through:
<div class="canvas">
</div>
<div <div class="frame" class="canvas"></div>
</div>
Thank you all,
You have really delivered me . I was ignoring the default canvas initially, but now I’m good.
Blockquote
system
Closed
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.