Step 10 not working for me


I am stuck here, I don’t know why the door isn’t changing upon clicking:

let doorImage1 = document.getElementById ("door1");

const botDootPath = "";

doorImage1.onclick = () => {
  doorImage1.src = botDoorPath;


Can you share a link to the problem?

Step 10:

You have a typo in your code, check spelling :slight_smile:

The general thought here is to put in things to test why it’s not working. Like log statements.

1 Like

omg i am so stupid. thanks

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.