Crafting Seamless User Experiences with 8+ Years of Frontend Mastery
Latest Articles
document.getElementById is one of the widely used methods in the HTML DOM. It will return the specified element or else it will return null. When we log element to the console, we can see it holds...
Hoisting is the process where javaScript interpreter moves the declaration of functions, variables, classes, or imports to the top of their scope, prior to execution of the code. Only the declarations...
This post assumes you are a React developer and has used useEffect in your code. But you have observed the behavior of useEffect is weird in certain scenarios and you need to know Why ! I am not going...
What is scope of a variable ? Scope determines where the variable is available within the program and its lifetime In the above code snippet, I have defined two functions. displayGreeting function has...
We have seen null or nil values in different programming languages. But there is an exception in JavaScript. In JavaScript we can see both undefined and null. The developers try to use them...