Build a House Painting - Build a House Painting

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

Welcome to the forum @adamelmao

Please describe the issue in your own words.

Happy coding

look so they are saying that Your #chimney should have a top value that puts it at the top of your #house. that’s the only rejection I got and I tried to solve it but they kept refusing.

Your chimney currently is 100px height.
As you may see, there is no chimney at the top with top: 0;
So maybe you have to push the chimney more up to be really on the top of the roof.

I remember struggling with that one, you can do this too.

Thanks very much I appreciate it bro.:head_shaking_vertically:

1 Like

Have you finished the challenge or can we help you further?