Great to see that this article contains both Modern and Legacy JS. Take
jQuery#addClass for example: in the olden days we’d use
Element.className. Nowadays we can use
Related: I know jQuery. Now what? →
Related: Advanced JS, a chapter from the course materials I teach.