Thank you :)
I didn't code in html5, I used Godot Engine (coding in gdscript) and I exported to html5.