12 - Dynamic Objects and Controls with JavaScript and the DOM — Topics & Learning Outcomes

📋 Module Topics🎯 Student Learning Outcomes

Module Topics

Introduction to the DOM and Dynamic Manipulation

Introduces the Document Object Model as a programmable interface and establishes the foundation for dynamically interacting with HTML elements using JavaScript at runtime.

Creating and Inserting HTML Elements Dynamically

Covers JavaScript methods for programmatically creating new HTML elements and inserting them into the DOM at specified locations within a webpage.

Modifying Existing Elements and Their Properties

Explores techniques for reading and updating element attributes, styles, classes, and content to change the appearance and behavior of existing DOM nodes at runtime.

Removing Elements from the DOM

Explains how to programmatically remove HTML elements and their child nodes from the document, including best practices for clean and safe removal.

Adding and Managing Event Listeners

Details how to attach, configure, and remove event listeners on DOM elements to enable user interaction and respond to browser events dynamically.

Building Interactive UI Controls with JavaScript

Brings together DOM creation, modification, and event handling concepts to construct fully functional interactive user interface controls entirely through JavaScript code.

Student Learning Outcomes

By the end of this module, students will be able to:

MO1
Explain the DOM tree structure and the role JavaScript plays in accessing and modifying elements at runtime
Level: UnderstandType: CognitiveCourse mapping: —
MO2
Apply JavaScript DOM methods — including createElement(), appendChild(), insertBefore(), and remove() — to programmatically create, insert, and remove HTML elements within a webpage
Level: ApplyType: CognitiveCourse mapping: —
MO3
Manipulate existing DOM element properties, including inline styles, CSS classes via the classList API, and text or HTML content using textContent, innerText, and innerHTML
Level: ApplyType: CognitiveCourse mapping: —
MO4
Implement event listeners using addEventListener, applying event delegation patterns and proper listener removal to manage user interactions on dynamically generated elements
Level: ApplyType: BehavioralCourse mapping: —
MO5
Construct a fully functional, accessible, and reusable interactive UI control built entirely with JavaScript DOM creation, modification, and event-handling techniques
Level: CreateType: CognitiveCourse mapping: —

Course Outcomes (reference)

No course outcomes have been defined.