My game isn't exporting properly

I made a game in gdevelop, it works very good in the preview mode. But when I exported it into a zip folder, it just didn’t open. Same goes for html. When i opened it in the browser it was just black, please help!

You cannot open a Web export on your own computer unless you run a Web server. That’s why the export window states you can upload it on websites/game portals.

i tried uploading it as a draft onto itch.io but it still was just a black screen

Did you follow the instructions listed on the wiki?