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.
Attributes & Properties
Variables & Functions
HTML & Text
Traversing the DOM
- Cookies - Get and set cookie values.
- localStorage - Store data locally in the browser for later use.
- sessionStorage - Store data locally for the duration of the current browser session.
Ajax & APIs
- fetch() - Make Promise-based HTTP request.
- Promise.all() - Wait for two or more asynchronous tasks to resolve.
- async & await - Write asynchronous code like it’s synchronous.