Level 3 · Interactive Web Applications
Module 14: State and Persistence
Understanding application state
Identify an application's state, keep it in one JavaScript object instead of scattered across the DOM, and change it through small, named update functions.
Lesson 67
Rendering interfaces from state
Write render functions that build the interface from state, re-render after every change, and escape user content safely.
Lesson 68
Local storage and session storage
Save and load data with localStorage and sessionStorage, handle missing and invalid values, and know the limits of browser storage.
Lesson 69
JSON serialization
Convert data to and from JSON with JSON.stringify and JSON.parse, handle invalid JSON, and know which values JSON cannot represent.
Lesson 70
IndexedDB fundamentals
Open an IndexedDB database, create object stores and indexes, and add, read, query and delete records inside transactions, wrapped in promises.
Module mastery assessment
Eight questions and a browser practical covering Lessons 66 to 70: application state, rendering from state, local and session storage, JSON and IndexedDB.