+ 1

DOM javascript

I didn't understand the DOM in javascript

21st Jun 2018, 7:51 PM
Marcello Muratori
Marcello Muratori - avatar
8 odpowiedzi
+ 3
DOM is simply a tree of objects generated from HTML. Don't over think this.
21st Jun 2018, 8:57 PM
damyco
damyco - avatar
+ 2
DOM is Document Object Model to access all the elements in HTML page using JavaScript. It is like tree structure, where document object is tree and body, head, div etc are branches and leaves.
18th Aug 2020, 9:44 AM
SONU
SONU - avatar
+ 1
DOM is like you calling something from the HTML document by using JavaScript. That's all I think.
30th Oct 2020, 7:53 PM
Atsu Fenuku
Atsu Fenuku - avatar
0
DOM is Document Object Model, a tree of objects generated from HTML. Where, innerHTML is a property The document object is the root of the DOM
3rd Sep 2020, 12:05 PM
Prasheetha Chouhan
Prasheetha Chouhan - avatar
0
DOM transforma todos los elementos de html y los transforma en objetos en JS para hacer uso de estos. Y para poder hacer eso se deben traer los elementos ya sean por su id o clase correspondiente.
15th Sep 2020, 1:35 AM
David Cortes
David Cortes - avatar
0
innerHTML is a property The document object is the root of the DOM
27th Oct 2020, 6:19 AM
INDRA NARAYAN THAKUR
INDRA NARAYAN THAKUR - avatar
- 4
what part of it
21st Jun 2018, 7:52 PM
TheCoder04