Category: Javascript

What is CSSOM 0

What is CSSOM

A typical html file with some CSS will have the style sheet While the browser receives the raw bytes of data and kicks off the DOM construction process, it will also make a request...

How is HTML DOM changed? 0

How is HTML DOM changed?

Repaint When changing element styles which don’t affect the element’s position on a page (such as background-color, border-color, visibility), the browser just repaints the element again with the new styles applied (that means a...

Why is HTML DOM slow? 0

Why is HTML DOM slow?

Imagine a DOM which a list of 10 items on your web page and if because of any user interaction, web page just needs to update one of them, that’s not possible. In this...

What is destructuring 0

What is destructuring

Destructuring allows you to easily extract values from Objects or Arrays and assign to new values or even assign default values to undefined properties Imagine this code : user = { name: ‘dave’, gender:...