Building Interactive JavaScript Websites
Bring web pages to life with JavaScript: load scripts, work with the DOM tree, select and change elements, respond to clicks, typing and other events, and render pages from data with Handlebars templates.
- Beginner level
- 3 modules
- 19 lessons
- 71 tasks and questions
Syllabus
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
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
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