Skip to main content Accessibility Feedback


Learn how to get DOM elements and do awesome stuff with them.

Start learning now →

What you’ll learn

  • How to get elements in the DOM.
  • How to loop through arrays and objects.
  • How to get, set, and remove classes.
  • How to manipulate styles.
  • How to get and set attributes.
  • How to listen for events in the DOM.

The pocket guide comes in DRM-free PDF, EPUB, MOBI, and HTML formats, so you can read on any device.

Loved your book, it's become a daily reference for me. Fantastic stuff! - Chris Baughman

You'll also get these awesome bonuses

  • All of the source code and well-documented demos so that you can see the lessons in action.
  • My vanilla JavaScript toolkit, packed with cheat sheets, code snippets, boilerplates, helper functions, polyfills, and a growing list of recommended vanilla JS plugins.
  • Exclusive access to my private Slack team, where you can chat with other students, get feedback on code, ask questions, and share the latest tips, tricks, and strategies for going vanilla JavaScript.

Start learning now →

The cheat sheet and the ability to ask questions on Slack were worth the price of the book alone. - David Buchholz

Your 100% Money-Back Guarantee 💰

Don’t put off learning vanilla JavaScript! If you’re not 100% satisfied with the book, let me know within 30 days of purchase and I’ll give you a full refund.

About the Instructor

Chris Ferdinandi

Hi, I’m Chris Ferdinandi. I write vanilla JavaScript plugins that are used by organizations like Apple, Harvard Business School, and CNN.

I want to help you master vanilla JavaScript, without all of the painful false starts and roadblocks I encountered when I was learning.

Ready to buy?

Get everything you need to start mastering DOM manipulation with vanilla JavaScript:

  • The Pocket Guide (in PDF, EPUB, MOBI, and HTML formats)
  • The Source Code & Demos
  • The Vanilla JavaScript Toolkit
  • Exclusive Slack Access
  • FREE Updates for Life

Buy now for just $29

Ever wanted to ditch jQuery but not sure how? This book by @ChrisFerdinandi will set you on the right path. - Jeremy Green

Not ready yet? Get daily developer tips.

I send out a short email each weekday with code snippets, tools, techniques, and interesting stuff from around the web.