Hello there,
Can anyone please help? Im working on this project:
and im up to step 10 but my door wont open, ive checked for typos, and ive checked the walkthrough and I cant find any obvious reasons! Maybe I have just been staring at it too long!
Thanks in advance!
Here is my code:
HTML
Chore Door!CSS
body {
background-color: #010165;
margin: 0px;
}
#door1 {
cursor: pointer;
}
JavaScript
let doorImage1 = document.getElementByID(‘door1’);
let botDoorPath = “https://s3.amazonaws.com/codecademy-content/projects/chore-door/images/robot.svg”
doorImage1.onclick = () => {
doorImage1.src = botDoorPath;
}