DOM Traversal: Closest() in Vanilla JavaScript and jQuery

Mastering traversing the DOM tree is an essential skill in front-end development. Here I discuss the options available via jQuery and vanilla JavaScript.

DOM Traversal: Closest() in Vanilla JavaScript and jQuery.

Handling Click Events in JavaScript

One of the things jQuery is very good for is handling click events. However, it isn't much more difficult in vanilla JavaScript either!

Handling Click Events in JavaScript.

How to Check an Element Exists with and without jQuery

There are many easy ways to detect whether or not an element exists on-page, using either jQuery or just vanilla JavaScript

How to Check an Element Exists with and without jQuery.

A Simple Popup Window Using jQuery

Opening a new browser window programmatically on-click is very simple to achieve with jQuery, and no more complex to achieve with vanilla JavaScript too!

A Simple Popup Window Using jQuery.