Syllabus

  1. 01JavaScript and the DOMConnect JavaScript to web pages: load scripts with the script element, understand the Document Object Model as a tree, select elements, change their text, attributes, styles and classes, and create and remove elements.7 lessons
    1. 01The Script Element
    2. 02The DOM Tree
    3. 03Selecting Elements
    4. 04Changing Content and Attributes
    5. 05Styles and Classes
    6. 06Creating and Removing Elements
    7. 07Project: Trip Packing List
  2. 02DOM Events with JavaScriptMake pages respond to people: register and remove event handlers, use the event object, handle forms, typing, mouse movement and keyboard shortcuts, and delegate events efficiently.7 lessons
    1. 01What Are Events?
    2. 02Removing Event Listeners
    3. 03The Event Object
    4. 04Forms and Input Events
    5. 05Mouse Events
    6. 06Keyboard Events
    7. 07Project: Color Mixer
  3. 03Templating with HandlebarsGenerate HTML from data with Handlebars templates: compile a template, fill it with expressions, choose content with if and else, repeat it with each, and combine them to render real pages.5 lessons
    1. 01Templates and Handlebars
    2. 02Expressions
    3. 03if, else and unless
    4. 04Lists with each
    5. 05Project: Gig Listings