0
Please anyone help me I am not able to understand the DOM concept in Java Script please explain me in detail.
I am not able to understand the DOM concept in Java Script please explain me in detail. If anyone can...................
6 odpowiedzi
+ 4
Document Object Model.
Think of it like the nested folder structure of your hard drive. Folders and files within folders. Except that instead of folders and files each node (item) is a bit of html... nested inside each other to describe your page. The base node is the document. Inside that you have an html node. Inside that you have a head and body node. Inside the body node is your html. Etc. It is stored as an object, and since it models what your page looks like in terms of structure it is the document object model. Each node has attributes that can be modified... color, height, text, html, and methods that can be called.
+ 6
@Adam 👍
+ 2
Refer this https://eloquentjavascript.net/14_dom.html
+ 2
https://eloquentjavascript.net/Eloquent_JavaScript.pdf
You can download a free ebook from this link
+ 2
Thank you Tony Stark for the ebook link (BTW- i am also a marvel fan😆😆😆)
+ 1
Thank you Adam For the help now i understood it