- querying and modifying the DOM,
- modifying classes and attributes,
- listening to events, and
I’ll finish off by showing you how to create your own super slim DOM-library that you can drop into any project. Along the way, you’ll learn that DOM manipulation with VanillaJS is not rocket science and that many jQuery methods in fact have direct equivalents in the native API.
... read the whole story at www.sitepoint.com.