Someone wanted to learn this too, so Grasp built them a personal learning path.
You can keep exploring this one or create your own
Profitable Video Game Development
Module 1
First Playable Platformer in the Browser
Module 2
Event Logic and Character Control
Module 3
Core Platformer Systems
Module 4
JavaScript Foundations Through Game Examples
Module 5
Custom Game Logic with JavaScript
Module 6
Game Feel, Audio, and Player-Friendly Features
Module 7
Level Design, Playtesting, and Quality Control
Module 8
Commercial Validation and Scope Control
Module 9