Problem with importing js files on html

I want to import a menu.js file to my main html file for a Phaser game. But only the js file imported when i have created the project only works. (project namev sse-game)

I don’t see a server.js? You can’t just upload some html with it’s required js and css. You’ll need a server.js which handles the requests for sse-game.glitch.me.

EDIT: Never… mind? It actually works.

It seems in the menu.js you are trying to access this.load which is undefined…