Articles in this series
VARIABLES Variables are used to store data. Just like containers variables hold data. Variables are declared using let, var or const. Example: var...
DOM tree refers to an HTML page where all objects are nodes. There are 3 types of nodes in the DOM tree text nodes element nodes comment nodes ...
console.dir function console.dir shows the element as an object with its properties. innerHTML & outerHTML innerHTML We can use this to even...
An event is a signal that something happened. Every DOM node generates this signal. onClick As you press the click Me button the event is generated...
ASYNCHRONOUS ACTIONS Asynchronous actions are actions that we initiate and they finish later. According to the sequence of instructions first start...
Sometimes our script can have errors. Execution of the program halts when an error occurs. We can use the try-catch method to catch errors and...