Javascript DOM How to - Javascript Element Example

  1. Javascript Add h1 and span elements to the DOM and set text
  2. Javascript Add method to window and HTMLElement
  3. Javascript Add new method to DOM element
  4. Javascript Append a Method to DOM Elements
  5. Javascript Append cloned element
  6. Javascript Change the ID of an HTML element
  7. Javascript Clone matched DOM Elements
  8. Javascript Create custom method to get element by class name
  9. Javascript Define an alias for a document object outside the function scope
  10. Javascript Loop through DocumentFragment's children
  11. Javascript Receive index of nav element
  12. Javascript Sort DOM elements with sort()