All articles

Tagged: Browser

6 min read

Browser Storage & State: localStorage, Cookies, IndexedDB & More

A practical guide to storing data in the browser — localStorage and sessionStorage, cookies and their flags, when to use each, IndexedDB for larger structured data, the Cache API, security and size limits, and patterns for persisting app state — with hands-on exercises and solutions.

JavaScriptStorageBrowserAdvanced
12 min read

The DOM: From Zero to Hero

A complete, practical guide to the Document Object Model — what the DOM really is, selecting and traversing nodes, reading and changing content, attributes vs properties, classes and styles, creating/inserting/removing elements, the event model (bubbling, delegation, preventDefault), forms, performance (reflow/repaint, fragments, debouncing), common mistakes, and hands-on exercises with solutions.

JavaScriptDOMBrowserFrontend