DOM Manipulation
JavaScript can read and modify HTML through the Document Object Model (DOM). Use querySelector, textContent, and innerHTML to interact with elements.
Keep DOM changes minimal — each modification can trigger reflows that slow the page.