The "run" function is not working please help


Repl link:

code snippet
1 Like

Hey @JeffreyJover welcome to the forums!

Thank you for your post and sorry that you are experiencing issues. However, we may not be able to help you with this issue if you do not complete the template fields fully.

Without a code excerpt and/or the link to your Repl there won’t be much we can do to help you. A screenshot of the expected output would also be appreciated.

The more information you provide at the start, the easier it will be to identify the bug in your program.


Upon inspection of the repl you provided, it appears your repl is trying to access a game.js script that does not exist. Try renaming script.js to game.js.


Hey @JeffreyJover! Welcome to the community!

In your <script> tag, you put your src attribute as "game.js". However, there is no game,js file that exists.

To fix this, you can either change the src attribute to "script.js" or renaming your script.js to game.js. Either way will work.


thank you very much! I had no idea something like that could break it.

1 Like