Introduction
Hello, fellow coders!
Imagine you’re filling your Voter form. You don’t write everything in one long paragraph, right? You neatly fill:
Name: Rahul Sharma
Age: 28
City: Mumbai....
That’s exactly what a JavaScript Object does – it st...
Introduction
When working with the DOM in JavaScript, you’ll often retrieve groups of elements or nodes. Two of the most common of them you’ll meet are HTMLCollection and NodeList. They look similar at first glance — both are array-like — but they ...
Introduction
Hello, fellow coders!
In my previous posthttps://dev.to/ritam369/a-gentle-introduction-to-the-foundation-of-nodejs-architecture-bfe, we explored the three core pillars of Node.js: the V8 engine our JavaScript interpreter, Libuv the ma...
Introduction
Hello, fellow coders! Imagine you’re inviting your entire family for a big Diwali get-together in Kolkata. The old-school way? Writing a long, formal letter with “Respected Uncle ji, Aunty ji, please join us on 10th November at 7 PM sh...
Let's get straight to the point.
global and globalThis both refer to JavaScript's global object, but they differ in scope and compatibility across environments.
What is global??
global is NodeJS-specific and serves as the top-level object containin...
Introduction
Hey there my fellow developers! If you've ever dealt with server-side JavaScript, you've likely heard the buzz around Node.js. It's the powerhouse behind countless web apps, from Netflix's streaming magic to LinkedIn's dynamic feeds. B...
Introduction
Hey there, my fellow code readers!
Imagine this: You're running a small family-owned kirana store in a busy Mumbai neighbourhood, where every day brings a flood of customers asking for the same things – calculating the total cost of g...
Introduction
Hello, my fellow readers! If you're just starting out with JavaScript array or brushing up on your skills, let me telll you that arrays are like the backbone of data handling in programming.
Think of an array as a busy Indian street m...
Introduction
Hey there! my fellow code explorer!
Imagine you're planning a weekend road trip with friends. You've got a list of must-visit spots: the beach, a cozy café, that hidden hiking trail, a roadside diner, and the sunset viewpoint. Instea...
Introduction: Every Decision Has a Path
Imagine you’re walking to your college.
If it’s raining → you take an umbrella for walk.
Else → you walk normally.
If it’s exam tomorrow → time to study before the exam day.
Else → you scroll reels in Ins...
Introduction: The Silent Decision-Makers in Your Code
Imagine you're building a calculator.
You enter two numbers.
You press a button.
You expect a result.
Behind that simple action lies something powerful — operators.
Operators are the symbols ...
Introduction
In JavaScript, how and when variables become available in our code isn’t always intuitive. Under the hood, the engine’s execution contexts rearranges your declarations before the code runs/executes — this behavior known as hoisting. Bu...
Introduction: “Wait… Where Is My Data Coming From?”
Imagine this.
You’re filling out a form on a website.
You type your name.
You enter your age.
You tick a checkbox that says “I am a student.”
You click submit.
Now pause for a second.
Where d...
Introduction: CSS Without Selectors Is Just Noise
HTML gives your webpage structure.
CSS gives it style.
But here’s the uncomfortable truth most beginners don’t realize early enough:
> CSS without selectors is useless.
Imagine walking into a roo...
Introduction: Why Writing HTML Feels Slower Than It Should
If you’ve ever written HTML for more than a few minutes, you’ve probably felt it.
Not confusion.
Not difficulty.
Just… slowness.
You type an opening tag.
You type a closing tag.
You inden...
Introduction: HTML Is the Skeleton of the Web
Open any website.
Scroll. Click. Read.
It feels smooth, almost effortless—but underneath that smooth experience is something brutally simple: plain text arranged with clear intentions.
Every website t...
Introduction: A Simple Action, a Complex Story
You type a URL.
You press Enter.
A webpage appears.
It feels instant. Effortless.
Nothing special, right?!!
But under the hood, that single key press triggers a carefully coordinated chain of events...
Introduction: How Does a Browser Know Where a Website Lives?
When you type google.com into your browser, something interesting happens behind the scenes.
Your browser doesn’t magically know where Google lives on the internet. It doesn’t even unders...
The Internet Without Rules: A Thought Experiment
Imagine two people trying to have a conversation over a call but it's a bit noisy phone line. Words can get dropped, repeated, or misunderstood — and there’s even no guarantee that the other side eve...
Introduction: The Internet Runs on Rules
The internet is not magic. It’s a carefully negotiated contract between machines.
Every email you send, every video you stream, every API call your backend makes—none of it happens randomly. Data moves becau...