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.

🦄 All new! A brand new and redesigned Vanilla JS Academy is here. Join now and get 30% off registration.

Selectors

Loops

Classes

Styles

Attributes & Properties

Event Listeners

Strings

Numbers

Arrays

Objects

Extract & Copy Properties

Variables & Functions

HTML & Text

DOM Injection

Traversing the DOM

The Viewport

Browser Storage

JSON

Ajax & APIs

ES Modules

JavaScript-Free Components