Tell us what’s happening:
guys help me with this guys I tried to kn
ow what’s happening but I don’t understand
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<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;
width: 500px;
height: 400px;
background-color: lightgray;
border: 1px solid black;
}
#chimney {
position: absolute;
width: 50px;
height: 100px;
top: 0;
left: 20px;
background-color: red;
border: 1px solid black;
z-index: -1;
}
#roof {
position: absolute;
width: 200px;
height: 80px;
top: 0;
left: 150px;
background-color: brown;
border: 1px solid black;
}
#window-1 {
position: absolute;
width: 60px;
height: 60px;
top: 120px;
left: 50px;
background-color: white;
border: 1px solid black;
}
#window-2 {
position: absolute;
width: 60px;
height: 60px;
top: 120px;
right: 50px;
background-color: white;
border: 1px solid black;
}
#door {
position: absolute;
width: 80px;
height: 150px;
bottom: 0;
left: 210px;
background-color: blue;
border: 1px solid black;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Challenge Information:
Build a House Painting - Build a House Painting