Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 1.04 KB

dynamic-html.md

File metadata and controls

35 lines (33 loc) · 1.04 KB

Dynamisches HTML

Braindump

  • DOM (DocumentObjectModel)

  • Ladereihenfolge

    • Mögliche Orte für script-Tags
    • Raceconditions mit dem DOM
    • "Document Ready"-Handler, DOMContentLoaded Event
  • Erzeugen von HTML Nodes aus JavaScript

  • Manipulation des DOM aus JavaScript

    • Element.append() / before() / after()
    • Element.remove()
    • Element.replaceWith() / replaceChildren()
  • Events in JavaScript

    • Element.addEventListener()
    • DOMContentLoaded / Click / mousemove / ...
  • Todo App

    • HTML5 Vanilla JS Only, DOM als Persistenz
    • Delete-Link statt einfach aufs Item klicken
    • Transition to localStorage
    • Integration Bootstrap
      • Container-Class
      • Form-Styiling
      • ListGroup-Styling
      • Navbar
      • Bootswatch
      • Bootstrap Icons
    • Persistenz im Backend