Those 3 files are inside a Folder, when i play index.html locally everything is working fine, I compressed those files and uploaded the folder to itch.io and have this error:
Not Sure why it's saying that, any suggestion?
Did you tick the checkbox saying, "This file will be played in the browser"?
Yes,
I found the problem,
I compressed the folder using .rar instead of .zip, now it seems to be working fine when compressing with .zip.
Glad you figured it out, I updated the title of the topic in case anyone comes across it.