Open your browser console, load the game, and look for errors. It should point you in the right direction. itch.io runs your code as provided, so if your game isn’t working then it’s highly likely due to your own code, or how you exported your game.
Hope that helps