I was using Chrome. I switched to Edge and it works now. Perhaps you might want to warn about that in the game's description.
Interesting. I tried running the game in chrome and it worked fine, so I'm not sure what caused your problem. Web exports in Godot 4 can be buggy at some times though so I'll add something to the game's description about it.