Native equivalents of jQuery functions


It’s all too easy to blur the line between jQuery and native JavaScript, but it’s important to keep in mind that JavaScript is undergoing massive change year-to-year. A ton of really exciting stuff is going on, and I’d be willing to bet that the days of “needing” jQuery to build your app (and even some client projects) are becoming less and less. That’s not to say that jQuery is no longer relevant, quite the contrary. I’m just saying that if all you’re doing is some light animations you can likely swap that out to CSS animations and class manipulation via native JavaScript.

I think there are many developers who don’t realize that most of the jQuery methods they use have native equivalents that require the same or only a slighter larger amount of code to use.

By all means.