Messing up on tests #42 and #44, both read as such;
- Your
#doorshould be placed at the bottom of the house.
- Your
#chimneyshould have atopvalue that puts it at the top of your#house.
Codes in question are as follows:
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rsl="stylesheet" href="styles.css">
<title>House Painting</title>
</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>
styles.css
* {
box-sizing: border-box;
}
#house {
position: relative;
width: 500px;
height: 400px;
background-color: violet;
border: 25px solid violet;
top: 30px;
z-index: 1;
}
#chimney {
position: absolute;
width: 30px;
height: 40px;
border: 30px solid brown;
background-color: brown;
top: -84px;
right: -26px;
z-index: -1;
}
#roof {
position: absolute;
width: 447px;
height: 57px;
border: 27px solid gray;
background-color: gray;
}
#window-1 {
position: absolute;
width: 50px;
height: 40px;
border: 50px solid rgb(116, 195, 219);
background-color: lightblue;
top: 150px;
left: 10px;
}
#window-2 {
position: absolute;
width: 50px;
height: 40px;
border: 50px solid rgb(116, 195, 219);
background-color: lightblue;
top: 150px;
right: 100px;
}
#door {
position: absolute;
width: 20px;
height: 60px;
border: 30px solid rgb(123, 94, 64);
background-color: rgb(114, 68, 38);
top: 314px;
right: 20px;
z-index: 3;
}