Cuéntanos qué está pasando:
hola.. tengo un problema con mi codigo nom se si no logro ver mi error o es que el problema esta en la verificacion de mi codigo estoy casi seguro que mi codigo esta correcto por favor ayudeme Build a House Painting en css Certified Full Stack Developer Curriculum
Tu código hasta el momento
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mi Casa Bonita</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="house">
<div id="chimney"></div>
<div id="roof"></div>
<div id="window-1" class="window"></div>
<div id="window-2" class="window"></div>
<div id="door">
<div class="knob"></div>
</div>
</div>
</body>
</html>
/* file: styles.css */
/* House */
#house {
position: relative;
width: 500px;
height: 400px;
background-color: lightgray;
border: 2px solid black;
}
/* Chimney */
#chimney {
position: absolute;
width: 60px;
height: 120px;
background-color: brown;
border: 2px solid black;
top: 0px; /* 👈 ahora con 0px */
left: 70px;
z-index: -1;
}
/* Roof */
#roof {
position: absolute;
width: 100%;
height: 60px;
background-color: sienna;
border: 2px solid black;
top: 0px;
left: 0;
}
/* Windows */
#window-1 {
position: absolute;
width: 90px;
height: 70px;
background-color: skyblue;
border: 2px solid black;
top: 120px;
left: 80px;
}
#window-2 {
position: absolute;
width: 90px;
height: 70px;
background-color: skyblue;
border: 2px solid black;
top: 120px;
right: 80px;
}
/* Door */
#door {
position: absolute;
width: 120px;
height: 150px;
background-color: peru;
border: 2px solid black;
bottom: 0px;
left: 190px;
}
Información de tu navegador:
El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Información del Desafío:
Build a House Painting - Build a House Painting
https://www.freecodecamp.org/espanol/learn/full-stack-developer/lab-house-painting/build-a-house-painting