Skip to main content Accessibility Feedback

Reference Guide

A quick reference for commonly used JavaScript methods and browser APIs.

Unless otherwise noted, these work in all modern browsers on desktop and mobile. You can extend support back further with polyfills.

🚀 Relaunch Sale! Today through this weekend, get 30% off any vanilla JS pocket guide or bundle. They've been completely updated with new methods and modern JS approaches.

Selectors

Loops

Classes

Styles

Attributes

Event Listeners

Strings

Numbers

Arrays

Objects

HTML and Text

DOM Injection

Traversing the DOM

The Viewport

Distances

Browser Storage

JSON

Ajax and APIs

JavaScript-Free Components