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.

🚀 For detailed tutorials, projects, and source code, check out my Vanilla JS Pocket Guides and Videos.

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