Tell us what’s happening:
- Your #chimney should have a top value that puts it at the top of your #house.How can I by-pass this since I keep on using the correct values but still says failed
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>House Project</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>
#house {
position: relative;
width: 500px;
height: 400px;
border: 3px solid black;
background-color: lightblue;
}
#chimney {
position: absolute;
width: 60px;
height: 100px;
border: 2px solid black;
background-color: brown;
top: 0px;
left: 50px;
z-index: -1;
}
#roof {
position: absolute;
width: 500px;
height: 80px;
border: 2px solid black;
background-color: darkred;
top: 0;
}
#window-1, #window-2 {
position: absolute;
width: 80px;
height: 80px;
border: 2px solid black;
background-color: white;
top: 120px;
}
#window-1 {
left: 60px;
}
#window-2 {
right: 60px;
}
#door {
position: absolute;
width: 100px;
height: 150px;
border: 2px solid black;
background-color: darkblue;
bottom: 0;
left: 200px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 Edg/150.0.0.0
Challenge Information:
Build a House Painting - Build a House Painting

