Tell us what’s happening:
so um… my #chimney needs a top value in task 44, but I’m still getting error so how do I fix this lmao?
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 id="door-knob"></div>
</div>
</div>
</body>
</html>
/* file: styles.css */
#house {
position: relative;
top: 170px;
left: 500px;
width: 500px;
height: 400px;
background-color: blue;
border: 7px solid darkblue;
}
#house div {
position: absolute;
}
#chimney {
top: -60px;
left: 360px;
width: 60px;
height: 100px;
background-color: rgb(144, 168, 246);
border: 7px solid darkblue;
z-index: -1;
}
#roof {
width: 490px;
height: 100px;
background-color: darkblue;
border: 7px solid transparent;
top: 0;
z-index: 1;
}
#window-1 {
width: 80px;
height: 80px;
border: 7px solid darkblue;
background-color: rgb(144, 168, 246);
top: 150px;
left: 70px;
z-index: 1;
}
#window-2 {
width: 80px;
height: 80px;
border: 7px solid darkblue;
background-color: rgb(144, 168, 246);
top: 150px;
left: 340px;
z-index: 1;
}
#door {
width: 90px;
height: 150px;
border: 5px solid darkblue;
background-color: rgb(60, 60, 187);
bottom: 0;
left: 200px;
z-index: 1;
}
#door-knob {
width: 20px;
height: 20px;
position: absolute;
top: 60px;
left: 60px;
border-radius: 100%;
background-color: darkblue;
z-index: 2;
}
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
Challenge Information:
Build a House Painting - Build a House Painting