Build a House Painting - Build a House Painting

Tell us what’s happening:

Title: Build a House Painting – Error persists

Description:

Hello everyone,

I am working on the “Build a House Painting” lab in the Responsive Web Design course.

I keep getting the same error when I click on “Check Your Code”, even after trying to fix it. The error does not disappear.

Could someone please help me identify the problem?

Thank you!

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>Cozy House</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 */
body {
background-color: #d9f0f2;
}

#house {
position: relative;
width: 500px;
height: 400px;
background-color: #f2c078;
border: 6px solid #493628;
margin: 80px auto;
}

#chimney {
position: absolute;
top: 0;
left: 355px;
width: 55px;
height: 125px;
background-color: #b85c38;
border: 5px solid #493628;
z-index: -1;
}

#roof {
position: absolute;
top: 0;
left: -20px;
width: 530px;
height: 95px;
background-color: #6d597a;
border: 5px solid #493628;
}

#window-1,
#window-2 {
position: absolute;
width: 75px;
height: 70px;
background-color: #8ecae6;
border: 6px solid #493628;
top: 155px;
}

#window-1 {
left: 65px;
}

#window-2 {
right: 65px;
}

#door {
position: absolute;
width: 95px;
height: 175px;
background-color: #7f5539;
border: 6px solid #493628;
bottom: 0;
left: 195px;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36 OPR/136.0.0.0

Challenge Information:

Build a House Painting - Build a House Painting

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-house-painting/66d6a7a3e1aa411e94bf2346.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @rihemhammami

I don’t see a chimney in the preview.

Happy coding