Build a House Painting - Build a House Painting#46

Tell us what’s happening:

i have tried couple of heights and width to full the conditition of step 46, but still i am not passing it right. I do not know what to do now. Can someone please help

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">
    <link rel="stylesheet" href="styles.css">
    <title>House Painting</title>
</head>
<body>
<div id="house">
    <div id="chimney"></div>
    <div id="roof"></roof>
    <div id="window-1"></div>
    <div id="window-2"></div>
    <div id="door"></div>
</div>
</body>
</html>
/* file: styles.css */
#house {
  position: relative;
  border: 5px solid black;
  background-color: blue;
  width: 500px;
  height: 400px;
}

#chimney {
  position: absolute;
  width: 35px;
  height: 50px;
  top: -50px;
  left: 50px;
  z-index: -1;
  border: 1px solid black;
  background-color: yellow;
}

#roof {
  position: absolute;
  width: 495px;
  height: 60px;
  top: 0;
  border: 3px solid black;
  background-color: brown;
}

#window-1 {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 4px solid black;
  background-color: pink;
  top: 95px;
  left: 20px;
  z-index: 3;
}

#window-2 {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 4px solid black;
  background-color: pink;
  top: 95px;
  right: 20px;
  z-index: 3;
}

#door {
  position: absolute;
  width: 150px;
  height: 400px;
  border: 3px solid black;
  background-color: lightblue;
  bottom: 0;
  left: 175px;
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a House Painting - Build a House Painting

where is the door? is the door on the roof?
try putting the door where it usually go, level with the ground

double check what you have written

2 Likes