You didn't upload your game correctly. You're supposed to upload a .zip file with all of your files in it, with a file called index.html. Then you're supposed to checkmark "this file will be played in the browser".