(Also read: How it feels to learn JavaScript in 2016 and then this to re-calibrate your breathing.)
Back in the day, I learnt JavaScript by using view-source:
and copying code. JavaScript is growing up now with package managers, transpilers, and task runners. If you want to make the jump from old-world JavaScript to new, you’ll appreciate this primer (and also remember Gina Trapani).