No.2829
Why not try one of the many available web-based game engines, ready to go? I cannot recommend particular software and resources but even w3schools has a HTML game tutorial nowadays.
You might want to try in /usagi/ here as well.
No.2830
Do what you want but if there is any chance you will want to distribute it as a standalone app in the future, picking a non-web engine that has good web export will future-proof you
Otherwise Pixi.js is decent