You need to export your project as a web project, then zip that up and upload to itch, and checking the box stating it will be playable in the browser. (there are some good YouTube videos showing the process). If you are using C# you are out of luck as C# web export is not functional right now in Godot. If you are using GDScript then make sure to export using the non .NET version on Godot to export.