Tell us what’s happening:
i think i’ve followed all instructions ,yet this doesn’t pass. please can someone help me out. i’ve been at this for over a week. please what am i doing wrong?
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>House Painting</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="house">
<div id="chimney"></div>
<div id="roof"></div>
<div id="window-1"></div>
<div id="window-2"></div>
<div id="door"></div>
</div>
</body>
</html>
/* file: styles.css */
#house {
position: relative;
border: 2px solid brown;
background-color: brown;
width: 500px;
height: 400px;
box-sizing: border-box;
}
#chimney {
position: absolute;
width: 50px;
height: 40px;
border: 5px solid black;
background-color: white;
top: -10%;
z-index: -1;
box-sizing: border-box;
}
#roof {
position: absolute;
width: 600px;
height: 60px;
border: 5px solid grey;
background-color: grey;
box-sizing: border-box;
}
#window-1 {
position: absolute;
width: 80px;
height: 80px;
border: 2px solid yellow;
background-color: yellow;
top: 60px;
left: 0;
box-sizing: border-box;
}
#window-2 {
position: absolute;
width: 80px;
height: 80px;
border: 2px solid yellow;
background-color: yellow;
top: 60px;
right: 0;
box-sizing: border-box;
}
#door {
position: absolute;
width: 100px;
height: 300px;
border: 1px solid red;
background-color: red;
bottom: 0;
right: 2px;
box-sizing: border-box;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Build a House Painting - Build a House Painting