Working With DOM
What is DOM?
alert("This is a pop-up") //the default function to alert the user written in js
//but the actual call that is happening behind the scenes is
window.alert("This is a pop-up")
//this gives access to the developer the methods and properties of window object automatically without any necessity of calling them using `window` keywordElement
Node
Attributes vs Properties
Styling DOM Elements
Adding Element
Removing Element
Last updated