Close-up photograph of water surging over rocks

A web page is open to all kinds of manipulation in JavaScript, including adding, removing and cloning elements. This reading list introduces methods to achieve these ends, with many more to be added.

Prerequisites:: JavaScript Fundamentals

Estimated time: 1 hour

  1. Progressively Enhanced Elements
  2. document.createElement
  3. appendChild & insertBefore
  4. insertAdjacentHTML
  5. Removing Elements
  6. Cloning Elements
  7. Changing Attributes
  8. classList
  9. textContent
  10. hasChild & contains

Photograph by Mike Bitzenhofer, used under a Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic license

Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.