What Is the DOM?
Concept CheckMedium
Question
Which statement best describes the DOM in JavaScript?
Hint
DOM stands for Document Object Model.
Explanation
The DOM (Document Object Model) is a tree-like representation of an HTML document in memory. JavaScript can read and modify this tree to change page content, structure, and styling dynamically. It is not a database, a styling language (that is CSS), or a network protocol (that is HTTP).
Related Resources
Related Lessons
- DOM
Learn what the DOM is and how to manipulate it.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.