Project Chore Doors - JavaScript Interactive Websites

Hello all,
I am stuck with Chore Doors Project. I managed to finish all 70 steps but somehow, I lost the plot at the end and the game wasn’t working as it should be. I may need another set of helpful eyes to comb over the code and find where I am going wrong. Appreciate the help.

Here is the code link:

Thank you,
Shashi.

Hi I’m also learning and was looking at my your code to see where mine is going wrong and I have seen one problem not sure if its the thing that it making everything not work but line 94 false is spelt wrong

1 Like

Hello, Thank you for spotting the typo @ false. It’s been corrected but still, the game isn’t working. When I clicked any of the three doors, the door disappears with no original image as shown below.

I know you posted this years ago but did you ever figure it out? I am having the same issue and it seems that even codecademy didn’t follow the instructions. When I look at the js on the sample page it is different than how the instructions tell you to do it. including the score accumulation and all that which is completely left out of the instructions for the project.

Here the code posted to github, many thanks.

Hi Shashi
I don’t know if you solved your case, but I see in your onclick functions you 've used door1, door2 and door3 but you should use doorImage1, doorImage2 and doorImage3 instead.

Secondly try to remove the exclamation mark from your isClicked on line 60, 68 and 76. Then I hope it should solve the case

Thank you

Nabeel