I have actually tried to export it to the web, but this was the first time I ever used Unity to export a game and was unable to get it working...
The unity html export option is quite buggy in my experience, only way I got it to work was to use a different pc
I use godot now and can export normally