DOM stands for Document Object Model.
It represents the structure of an HTML page as a tree of elements.
DOM manipulation means changing HTML content, attributes, or styles dynamically using JavaScript or jQuery.
This code changes the text content of an HTML element dynamically.
This example modifies the style of elements using jQuery.
DOM manipulation is often used together with events to create dynamic behavior.
DOM Manipulation Notes:
- Changes page without reload
- Works on HTML elements
- Used in dynamic UI
- Very important frontend skill