Why does the application only work with the Live Server extension?
I was running a project for a game similar to Mario using the Kaboom.Js library, I finished the project and everything was ok. But when I run the project through index.html the complete game does not appear, but rather the texts from the game scene, but if run with the Live Server extension in Vs code it works perfectly as it should. Any way to resolve this?
How to fix a live server webpage that is opening but not being loaded in browser?
I have the live server extension installed in VS code and open up to a http://localhost:5500/ webpage. The contents of my HTML file are instead replaced by the following error message: