#webdev
Read more stories on Hashnode
Articles with this tag
Cookies are a small string of data that is stored directly in the browser. Cookies are set by the web server using the Set-Cookie HTTP header. When a...
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...
ASYNCHRONOUS ACTIONS Asynchronous actions are actions that we initiate and they finish later. According to the sequence of instructions first start...
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...
console.dir function console.dir shows the element as an object with its properties. innerHTML & outerHTML innerHTML We can use this to even...
Block Elements From the above code, we see that the two sentences are printed on two different lines. There was space after the first sentence but...