Check out the video presentation or the written transcript below.
Getting Our Hands Dirty
First, we want to select something in the DOM. The two most common methods for doing this are
querySelector. They’re similar, except with
querySelector we can select elements by their class. As its name suggests
getElementById only allows us to select elements by their ID.
With something selected, we could now change pretty much anything about it. This is basically what jQuery does behind the scenes.
It’s also worth noting that there are/were some other players in the same field as jQuery, for example MooTools and YUI.
A Whole New Node
- Introducing REST APIs
- Bringing React into our theme