Link to the project or level:
What I expect to happen:
The functions should run only when I click the appropriate buttons.
What actually happens:
The functions run without being called. The function triggers as soon as the code reads the onEvent block, even if the event has not been triggered yet.
What I’ve tried:
Restarting the browser, restarting the computer, remaking the functions, switching from block to text view.