DHTML — 35 free lessons

dynamic html · dom + script + style · pre-framework era

Start lesson 1 →

DHTML Tutorial

1. What is DHTML · HTML + CSS + JavaScript + DOM2. The DOM · The Document Tree3. DOM Node Types · Element · Text · Attribute …4. Document Object · Entry to the DOM5. Window Object · The Global Container6. Accessing Elements · GetElementById …7. Modern Selecting · QuerySelector · QuerySelectorAll8. InnerHTML · Setting Markup as a String9. InnerText vs TextContent

DHTML DOM Manipulation

10. CreateElement · CreateTextNode11. Inserting Nodes · AppendChild · InsertBefore12. Removing Nodes · RemoveChild13. Cloning Nodes · CloneNode Deep vs Shallow14. Element.style · Changing Inline CSS15. Computed Styles · GetComputedStyle16. ClassName · ClassList · The CSS Hooks17. SetAttribute · GetAttribute · RemoveAttribute

DHTML Events

18. Event Handlers · The Old Onclick Way19. AddEventListener · The Modern Way20. Event Bubbling · Capturing · Delegation21. Event Object · Target · Type · PreventDefault22. Mouse Events · Click · Mousemove · Mouseover23. Keyboard Events · Keydown · Keyup · Key Codes24. Form Events · Submit · Change · Input25. Window Events · Load · Resize · Scroll

DHTML Patterns

26. Timing · SetTimeout · SetInterval · ClearTimeout27. Show / Hide Patterns · Display · Visibility28. Toggle Patterns · ClassList.toggle29. Animations the DHTML Way · SetInterval + Style30. Drag and Drop · Mousedown · Mousemove · Mouseup31. Modal Patterns · Overlays · Centering32. Accordion · Tabs · The Classic Widgets

DHTML Modern Legacy

33. AJAX · The Leap to Fetching Without Reload34. Why DHTML Became Invisible · Frameworks Ate it35. References · Examples · The Legacy you Still Touch