Export game as a html

When I try to export my game as a html.zip the game only works when i publish the game on sites like itch.io but I am trying to just run it local as index.html normally is just works with other html files.

Don’t think it works with GDevelop HTML. I think it said somewhere in the tutorial video that you can’t run it on your device, not sure.

Is the index.html in the same folder as the game assets