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, and IE9+. You can extend support back further with polyfills.

🚀 The Vanilla JS Academy is back! The next session of the Vanilla JS Academy starts on May 6. Register today and make 2019 the year you learn to think in JavaScript.

Methods & APIs

  1. Selectors
  2. Loops
  3. Classes
  4. Styles
  5. Attributes
  6. Event Listeners
  7. Strings
  8. Arrays
  9. Objects
  10. HTML and Text
  11. DOM Injection
  12. Traversing the DOM
  13. The Viewport
  14. Distances
  15. Browser Storage
  16. JSON
  17. Ajax and APIs
  18. JavaScript-Free Components