Chorebot help Javascript

Hi! so i’m doing this codecademy course and everything works out perfectly except for the last part which is the button that says ‘play again?’ and when clicked it reset the game. For some reason, it just doesn’t work and now the door is showing no image when clicked. Please help!

let doorImage1 = document.getElementById(‘door1’)
let doorImage2 = document.getElementById(‘door2’)
let doorImage3 = document.getElementById(‘door3’)
let beachDoorPath = ‘https://content.codecademy.com/projects/chore-door/images/beach.svg
let botDoorPath = ‘https://content.codecademy.com/projects/chore-door/images/robot.svg
let spaceDoorPath = ‘https://content.codecademy.com/projects/chore-door/images/space.svg

let closedDoorPath = ‘https://content.codecademy.com/projects/chore-door/images/closed_door.svg
let numClosedDoors = 3;
let openDoor1;
let openDoor2;
let openDoor3;
let startButton = document.getElementById(‘start’);
let currentlyPlaying = true;

const isClicked = (door) => {
if (door.src === closedDoorPath) {
return false;
} else {
return true;
}
}

const isBot = (door) => {
if (door.src === botDoorPath) {
return true;
} else {
return false;
}
}

const playDoor = (door) => {
numClosedDoors–;
if (numClosedDoors === 0) {
gameOver(‘win’);
} else if (isBot(door)) {
gameOver(‘lose’);
}
}

const randomChoreDoorGenerator = () => {
const choreDoor = Math.floor(Math.random() * numClosedDoors);
if (choreDoor === 0) {
openDoor1 = botDoorPath;
openDoor2 = spaceDoorPath;
openDoor3 = beachDoorPath;
} else if (choreDoor === 1) {
openDoor1 = beachDoorPath;
openDoor2 = botDoorPath;
openDoor3 = spaceDoorPath;
} else if (choreDoor === 2) {
openDoor1 = spaceDoorPath
openDoor2 = beachDoorPath
openDoor3 = botDoorPath

}
}

doorImage1.onclick = () => {
if(!isClicked(doorImage3) && currentlyPlaying){
doorImage1.src = openDoor1;
playDoor(doorImage1);
}
}

doorImage2.onclick = () => {
if(!isClicked(doorImage3) && currentlyPlaying) {
doorImage2.src = openDoor2;
playDoor(doorImage2);

}
}

doorImage3.onclick = () => {
if(!isClicked(doorImage3) && currentlyPlaying) {
doorImage3.src = openDoor3;
playDoor(doorImage3);
}
}

startButton.onclick = () => {
startRound();
}
const startRound = () => {
numClosedDoors = 3;
doorImage1.src = closedDoorPath;
doorImage2.src = closedDoorPath;
doorImage3.src = closedDoorpath;
startbutton.innerHTML = ‘Good luck!’
currentlyPlaying = true;
randomChoreDoorGenerator();
}

const gameOver = (status) => {
if (status === ‘win’) {
startButton.innerHTML = ‘You win! play again?’;
} else {
startButton.innerHTML = ‘Game over! Play again?’
}
currentlyPlaying = false;
}
startRound();