javascript – Attempting to build a crash-game, what should I learn?

I’m attempting to build the front-end of a crash game (similar to bustabit). I want the very basic front end of the game, i.e. an ability to wager and run a graph of the multiplier in realtime. No player information needs to be recorded or anything from a back-end perspective; a demo of the game is essentially what I desire.

I’m currently learning HTML, CSS, and JavaScript in order to build the fundamentals in order to design such a game. Does anyone have any recommendations on resources or other languages/frameworks I could use to build such a game?

I apologise if this question is rather abstract or ill-defined. I come from a mathematics/pen-paper background, so I’m sorry for my ignorance.

Cheers!