How React Virtual DOM works under the hoodWhat problem does the virtual DOM solves? To understand the use of react, we first how native browsers like firefox, chrome etc. render raw HTML,CSS and JavaScript. Browser renders them using the follMay 8, 2026·7 min read
Event Handling in JSIn today's digital age, interactivity is key to engaging users on websites. One of the most powerful ways to make a webpage come alive is through event handling. Event handling allows websites to respond to user actions like clicks, typing, mouse mov...Feb 25, 2025·3 min read
My learnings DOM in JSThe Document Object Model, or DOM for short, represents all page content as objects that can be modified.The document object is the main “entry point” to the page. We can change or create anything on the page using it. Now, the question may arise how...Feb 22, 2025·3 min read
Class Inheritance in JSWhat is a class? Classes are a template for creating objects. They encapsulate data with code to work on that data. Just like functions can be defined using two ways classes can be defined by class declaration and class expression. // class declarati...Feb 22, 2025·2 min read
Prototypes in JSWhat is Prototype? Prototypes are the mechanism by which JavaScript objects inherit features from one another.In JavaScript, objects can inherit features from one another via prototypes. Every object has its own property called a prototype. Because t...Feb 14, 2025·3 min read
Polyfills: Bridging the gap between JS and BrowsersWhat is a polyfill and why is it important? Polyfill is a way to modify or add new functions. It is basically a piece of code to add/modify the new functions. It is used to provide modern functionality to web browsers. It is basically a piece of code...Feb 13, 2025·3 min read
Functions in JS: Learn code reusability and ModularityWhat are functions? Functions are the basic building blocks of any programming language. They allows us to call the same code any number of times thereby preventing repetition. Prompt(), alert() all of these are in-built functions of JavaScript. How ...Feb 12, 2025·2 min read