Document Object Model (DOM)
DOM (short for Document Object Model) is a cross-platform and language-independent interface that treats an HTML or XML document as a tree structure wherein each node is an object representing a part of the document. The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree; with them one can change the structure, style or content of a document. Nodes can have event handlers (also known as event listeners) attached to them. Once an event is triggered, the event handlers get executed.
The principal standardization of the DOM was handled by the World Wide Web Consortium (W3C), which last developed a recommendation in 2004. WHATWG took over the development of the standard, publishing it as a living document. The W3C now publishes stable snapshots of the WHATWG standard.
In HTML DOM (Document Object Model), every element is a node:
Here are 32 public repositories matching this topic...
Made a stopwatch with JS setInterval method
-
Updated
Jan 30, 2022 - SCSS
Yet, another JS slider, written by me.
-
Updated
Aug 6, 2022 - SCSS
You can type and add tasks to the list and remove them one by one once completed. It takes the value from the input when you add a new task. Used trim to avoid empty spaces. It shows a text "all tasks completed" and hides it when there are still pending tasks
-
Updated
Aug 13, 2023 - SCSS
A more advanced password generator in a second style.
-
Updated
Apr 29, 2021 - SCSS
A simple temperature converter that I built from scratch! It allows users to input a temperature in Celsius and convert it to Fahrenheit or Kelvin.
-
Updated
Mar 12, 2025 - SCSS
-
Updated
Jul 7, 2021 - SCSS
Esse projeto é uma mistura de dois Masterclass, o #08 que usamos estratégias de unidades de medidas do CSS, para que tanto o nosso Layout, quanto os nossos textos, e Media Queries para que fiquem responsivos. Já o #15, é a introdução ao SASS, onde coloco em prática tais ensinamentos.
-
Updated
Jul 23, 2023 - SCSS
-
Updated
Oct 29, 2022 - SCSS
This is a challenge taken from the "Frontend Mentor" website, it was made with the aim of consolidating my TypeScript skills.
-
Updated
Apr 1, 2023 - SCSS
Accordion information cards user interface
-
Updated
Mar 1, 2021 - SCSS
-
Updated
Apr 13, 2025 - SCSS
This are 5 simple projects to practice my DOM manipulation knowledge.
-
Updated
Jul 24, 2022 - SCSS
Created by World Wide Web Consortium
Released October 1, 1998
- Followers
- 51 followers
- Repository
- whatwg/dom
- Website
- github.com/topics/dom
- Wikipedia
- Wikipedia