Showing posts with label JOURNEY. Show all posts

Web Dev Day 18: Unmasking JS (Prototypes)

📅 Date: April 25, 2026

🧠 Mood: The Mechanic 🔧

🔥 Topic: Web Dev Day 18: Unmasking JS (Prototypes)

🛑 JavaScript Lied to Me

It’s Saturday. Usually, I would be grinding out Linked Lists in C++ today. But my mind is completely stuck on what I learned yesterday about Object-Oriented Programming in JavaScript. I thought I understood it. I used the class keyword, I built a constructor, and it felt exactly like C++ or Java.

Then, I dug a little deeper and hit a brutal reality check: Classes in JavaScript are fake.

Unlike Java or C++, JavaScript does not have traditional classes. The class keyword introduced in ES6 is literally just "syntactic sugar"—a nice-looking wrapper put there to make developers from other languages feel comfortable. Under the hood, JavaScript is fundamentally a prototype-based language. If you don't understand prototypes, you don't understand JavaScript. Today, I opened the hood to see the actual engine.


🧬 The Prototype Chain (The DNA of JS)

In JavaScript, absolutely everything is an Object. Arrays are objects. Functions are objects. Strings are objects. And every single object has a hidden, built-in property called its Prototype. This prototype is like a parent object from which it inherits methods and properties.

1. How Inheritance Actually Works

When you create an array let arr = [1, 2, 3] and type arr.push(4), where did the .push() function come from? You didn't write it. JavaScript looks at your array, doesn't find a push method, so it travels UP the chain to the master Array.prototype object. It finds the method there and uses it.

2. The End of the Line (Null)

This lookup process goes up and up. Your array inherits from Array.prototype, which inherits from the ultimate master Object.prototype. If JavaScript looks for a method and reaches Object.prototype without finding it, it hits null and throws a terrifying "undefined" error.


💻 Practical: Hacking the Master Object

To prove I understood this, I decided to do something dangerous but educational. I injected a custom method directly into the highest-level JavaScript Object prototype. By doing this, every single variable I create instantly gains access to this new superpower.

// Let's create an array and a string
let myFriends = ["Munmun", "Rahul"];
let myName = "Sahil";

// We inject a brand new method straight into the core Object Prototype
Object.prototype.sahilCustomPrint = function() {
    console.log(`System Override: Executing Sahil's custom logic on ${this}`);
};

// Now, watch the magic. 
// Even though I never added this method to the array or the string directly...

myFriends.sahilCustomPrint(); 
// Output: System Override: Executing Sahil's custom logic on Munmun,Rahul

myName.sahilCustomPrint();    
// Output: System Override: Executing Sahil's custom logic on Sahil

Because both the Array and the String ultimately trace their ancestry back to the master Object, they both inherited my custom function automatically. This is incredibly powerful, but it's also why you should rarely mess with the global prototype in production—you might accidentally overwrite critical browser functions!


🎯 The Solid Foundation

Understanding Prototypes demystifies the "magic" of JavaScript. It proves that there is no magic, just a highly logical chain of object references. Tomorrow, I will tackle the final boss of core JavaScript concepts: Closures and Lexical Scoping. Let's finish the weekend strong.

Web Dev Day 17: Object-Oriented JS (The Blueprint)

📅 Date: April 24, 2026

🧠 Mood: The Engineer ⚙️

🔥 Topic: Web Dev Day 17: Object-Oriented JS (The Blueprint)

📐 Returning to Familiar Ground

Up to this point, I have been writing JavaScript in a very "procedural" way. Create a variable here, write a function there, attach an event listener. It works fine for small scripts like a Dark Mode toggle or a simple Crypto API fetch. But what happens when you are building a system with 1,000 users?

You cannot write 1,000 separate variables. You need a system. Having spent a significant amount of time grinding through data structures and algorithms in C++, the concept of structuring data is hardwired into my brain. Today, I finally brought that engineering mindset into the browser by diving into Object-Oriented Programming (OOP) in JavaScript. It is time to stop hardcoding data and start building blueprints.


🏭 Classes and the 'this' Keyword

Modern JavaScript (ES6) introduced the class syntax. It acts exactly like a factory template. Instead of creating a user from scratch every time, you define the "shape" of a user once, and then stamp out as many copies (objects) as you need.

1. The Constructor Method

Whenever you create a new object from your blueprint, a special function called the constructor() runs automatically. This is where you pass in the initial data—like the user's name or email—to set up that specific instance.

2. The Infamous 'this' Keyword

In JS, this points to the specific object that is currently executing the code. If I have two users, Sahil and Munmun, this.name will correctly point to "Sahil" when my object calls it, and "Munmun" when her object calls it, even though they share the exact same blueprint.


💻 Practical: Building the User Factory

Here is a clean implementation of a User class that encapsulates its own data and behavior (methods).

// 1. Define the Blueprint (Class)
class User {
    // The setup function
    constructor(username, role) {
        this.username = username;
        this.role = role;
        this.isOnline = false;
    }

    // A method (behavior) shared by all users
    login() {
        this.isOnline = true;
        console.log(`${this.username} has logged into the system.`);
    }

    // Checking status
    getStatus() {
        return `${this.username} is currently ${this.isOnline ? 'Online 🟢' : 'Offline 🔴'}`;
    }
}

// 2. Instantiate Objects using the 'new' keyword
const adminUser = new User("Sahil", "Admin");
const guestUser = new User("Munmun", "Guest");

// 3. Testing the logic
console.log(adminUser.getStatus()); // Sahil is currently Offline 🔴
adminUser.login();                  // Sahil has logged into the system.
console.log(adminUser.getStatus()); // Sahil is currently Online 🟢

// Notice how guestUser is unaffected by adminUser's actions
console.log(guestUser.getStatus()); // Munmun is currently Offline 🔴

The beauty of this is scalability. I can generate 10,000 users using a loop and that same User class, and my code remains incredibly clean and modular.


🎯 What's Next?

Classes in JavaScript are actually just "syntactic sugar" over something called Prototypal Inheritance. Tomorrow, I will dive deep into Prototypes to understand how JavaScript shares methods under the hood without wasting memory. The core JS deep dive continues!

Web Dev Day 16: LocalStorage vs SessionStorage

📅 Date: April 23, 2026

🧠 Mood: The Data Hoarder 🗄️

🔥 Topic: Web Dev Day 16: LocalStorage vs SessionStorage

😤 The Page Refresh Tragedy

Picture this: You are sitting on the train, filling out a massive, multi-page university form on your phone. The network drops just as you hit submit. The browser throws an error, you swipe down to refresh the page, and boom—every single text box is completely empty. You have to start all over again. The frustration is enough to make you want to throw your phone out the window.

As developers, we know that JavaScript variables are incredibly fragile. The moment a user hits the refresh button, or navigates away from the page, all the data held in JS variables is instantly destroyed. The slate is wiped clean. Today, I learned how to fix this terrible user experience by tapping into the browser's secret database: Web Storage.


🗄️ The 5MB Safe in Your Browser

Modern browsers give every website a tiny, isolated database (around 5MB) to store data directly on the user's device. It operates using simple Key-Value pairs (like a dictionary). There are two main types of storage, and choosing the wrong one can break your application.

1. LocalStorage (The Permanent Tattoo)

Data saved in localStorage does not expire. If you save a user's "Dark Mode" preference here, they can close the tab, shut down their laptop, and come back three months later—the website will still remember they prefer Dark Mode. It only goes away if the developer writes code to delete it, or the user manually clears their browser cache.

2. SessionStorage (The Sticky Note)

Data saved in sessionStorage is temporary. It survives page refreshes, but the absolute second the user closes the browser tab, the data is incinerated. This is perfect for sensitive data or temporary states, like a multi-step checkout form where you don't want old data lingering if they abandon the cart and come back tomorrow.


💻 Practical: Saving Theme Preferences

Back in Day 10, I built a Dark Mode toggle button. But it was flawed because it reset to Light Mode every time I refreshed the page. Today, I upgraded it using LocalStorage so it remembers the user's choice permanently. Here is the exact syntax:

// The 3 Core Commands of Web Storage:
// 1. setItem(key, value)
// 2. getItem(key)
// 3. removeItem(key)

// Example: Saving Dark Mode State

// When the page loads, check if they already have a saved preference
const savedTheme = localStorage.getItem("themePref");

if (savedTheme === "dark") {
    document.body.classList.add("dark-mode");
}

// When the user clicks the toggle button
toggleBtn.addEventListener('click', () => {
    document.body.classList.toggle("dark-mode");
    
    // Check the current state and save it to LocalStorage
    if (document.body.classList.contains("dark-mode")) {
        localStorage.setItem("themePref", "dark");
    } else {
        localStorage.setItem("themePref", "light");
    }
});

The one major limitation? Web Storage can only save Strings. If you want to save a complex JavaScript array or object (like a shopping cart), you must convert it to a string first using JSON.stringify(), and convert it back using JSON.parse() when you retrieve it.


🎯 The Final Piece of Vanilla JS

With the DOM, Events, Async/Await, and Web Storage under my belt, I have finally collected all the infinity stones of Vanilla JavaScript. I can now build a fully functional frontend. Tomorrow, the game changes. It is time to leave the raw code behind and step into the world of modern frameworks. Tomorrow, we install React.

Web Dev Day 15: Async/Await & Crypto Tracker

📅 Date: April 22, 2026

🧠 Mood: The FinTech Builder 📈

🔥 Topic: Web Dev Day 15: Async/Await & Crypto Tracker

🚆 Upgrading to the AC Local

Yesterday, I learned how to fetch data from the internet using JavaScript Promises. It worked, but writing endless .then() blocks felt exactly like navigating a crowded railway platform during Mumbai rush hour—messy, confusing, and prone to taking a wrong turn. In the developer world, deeply nested promises are notoriously called "Promise Hell."

Today, I learned the modern solution: Async/Await. If standard Promises are the regular crowded local train, Async/Await is the AC Local. It gets you to the exact same destination, but the journey is infinitely smoother, cleaner, and easier to read. It allows you to write asynchronous code that actually looks and behaves like normal, synchronous code.


✨ Syntactic Sugar: How it Works

Async/Await doesn't replace Promises; it just wraps them in a much nicer syntax.

1. The 'async' Keyword

When you put the word async in front of a function, you are telling the JavaScript engine: "Hey, this function is going to take some time. It will automatically return a Promise."

2. The 'await' Keyword

This is where the magic happens. You can only use await inside an async function. It literally tells the code to pause on that specific line until the data is fully fetched, without freezing the rest of the website. No more .then() chains!


💻 Project: Building a Live Crypto Tracker

I keep a close eye on the stock market and SIPs, so dealing with financial data is something I naturally gravitate towards. I decided to use the free CoinGecko API to fetch the live price of Bitcoin and display it. Notice how clean the try/catch block makes the error handling.

// 1. Declare the async function
async function fetchBitcoinPrice() {
    
    // 2. Use try/catch for clean error handling
    try {
        console.log("Fetching live data...");
        
        // 3. AWAIT the network request
        const response = await fetch('https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd');
        
        // 4. AWAIT the parsing of the JSON data
        const data = await response.json();
        
        // 5. Update the UI
        console.log(`Live Bitcoin Price: $${data.bitcoin.usd}`);
        document.getElementById('btc-display').innerText = `$${data.bitcoin.usd}`;
        
    } catch (error) {
        // This block only runs if the internet drops or the API fails
        console.error("Failed to fetch data:", error);
        document.getElementById('btc-display').innerText = "Error loading price.";
    }
}

// Trigger the function
fetchBitcoinPrice();

The code reads top-to-bottom, exactly like a story. Fetch the response -> Parse the JSON -> Update the UI. If anything breaks along the way, instantly jump to the Catch block. This is professional-grade JavaScript.


🎯 The Milestone Reached

With Async/Await, I now possess the ability to pull real-world data into my applications. The foundation of Front-End development is nearly complete. Tomorrow, we will look into LocalStorage—how to save user data directly in the browser so it doesn't disappear when they hit refresh!

Web Dev Day 14: JavaScript Promises & Fetch API

📅 Date: April 21, 2026

🧠 Mood: The Deal Maker 🤝

🔥 Topic: Web Dev Day 14: JavaScript Promises & Fetch API

🚦 Waiting for the Signal: A Promise Story

If you’ve ever been stuck on a train between Thane and Kandivali, you know the frustration of the "Signal." The train stops. You don't know when it will move again. You have a **Promise** from the railway that you will reach your destination, but right now, that promise is in a **Pending** state. You can either wait patiently (Success) or the train breaks down (Failure).

Web development works exactly the same way. When you ask a server for data—like your Instagram feed or a weather report—it takes time. You don't want your whole website to freeze while waiting. This is where **JavaScript Promises** come in. They are placeholders for a future value.


🤝 The Three States of a Promise

A Promise is an object representing the eventual completion (or failure) of an asynchronous operation. It can only be in one of three states:

1. Pending

The initial state. The operation hasn't finished yet. The train is still waiting for the signal.

2. Resolved (Fulfilled)

The operation completed successfully. You reached the station. We use the .then() block to handle this result.

3. Rejected

The operation failed. The train broke down. We use the .catch() block to handle the error gracefully without crashing the app.


💻 The Fetch API: Real World Data

The most common way we use Promises today is through the fetch() API. It allows us to go out to the internet, grab data, and bring it back to our UI. Here is how I fetched a random user's data today:

// Fetching data from a public API
fetch('https://jsonplaceholder.typicode.com/users/1')
    .then((response) => {
        // We first convert the raw response to JSON
        return response.json(); 
    })
    .then((data) => {
        // Now we can use the actual data
        console.log("User Name:", data.name);
        console.log("User Email:", data.email);
    })
    .catch((error) => {
        // If the internet is down or the URL is wrong
        console.error("Oops! Something went wrong:", error);
    });

Using .then() chains can get a bit messy (often called "Promise Hell"). In my next post, I will show you how to clean this up using the modern async/await syntax, which makes asynchronous code look like normal, synchronous code.


🎯 Today's Takeaway

The web is no longer static. It’s a network of interconnected APIs. Mastering Promises is the difference between a student project and a production-ready application. Stop waiting for the signal—start handling it.

Web Dev Day 13: Asynchronous JS (Timers & the Event Loop)

📅 Date: April 20, 2026

🧠 Mood: The Time Traveler ⏳

🔥 Topic: Web Dev Day 13: Asynchronous JS (Timers & the Event Loop)

🕒 Life in Parallel: Lessons from a Mumbai Local

If there is one thing that commuting from Thane to Kandivali teaches you, it's the art of "Asynchronous living." While I’m standing on the platform waiting for my train, I don't just stand still and do nothing else. I’m checking my emails, listening to a podcast, or reviewing my code notes on my phone. My life doesn't "freeze" just because one task (the train arriving) is taking its time.

JavaScript, by default, is a very "Synchronous" person. It executes code line by line. If a task takes 10 seconds to finish, the entire browser freezes until that task is done. You can't click buttons, you can't scroll—nothing. This is a nightmare for user experience. Today, I learned how JavaScript handles these "waiting periods" without breaking the flow.


⏳ The Magic of "Later": setTimeout and setInterval

To handle time-based tasks, JavaScript uses the Web APIs provided by the browser. These allow us to schedule code to run in the future.

1. setTimeout (The One-Shot)

Think of this as an alarm clock. You tell JavaScript: "Hey, take this function and run it exactly 3 seconds from now." The rest of your code keeps running immediately. When the 3 seconds are up, the browser pushes your function back into the execution line.

2. setInterval (The Heartbeat)

This is a repeating timer. It runs a piece of code every X milliseconds forever (or until you tell it to stop). This is perfect for things like digital clocks, countdown timers, or checking for new messages in a chat app.


💻 Practical: Non-Blocking Execution

I wrote a script to test if I could "order" my tasks. Notice how the code doesn't wait for the timer to finish before moving to the next line.

console.log("1. Starting my morning routine...");

// This task takes 2 seconds (simulating making coffee)
setTimeout(() => {
    console.log("2. Coffee is ready! ☕");
}, 2000);

console.log("3. Heading to the gym while coffee brews...");

/* OUTPUT:
1. Starting my morning routine...
3. Heading to the gym while coffee brews...
2. Coffee is ready! ☕ (Appears after 2 seconds)
*/

The fact that "3" prints before "2" blew my mind. It proves that JavaScript doesn't wait. It offloads the timer to the browser and keeps going. This is the foundation of the Event Loop—the secret mechanism that keeps the web fast.


🎯 The Next Milestone

Mastering timers is just the beginning of "Async" programming. While setTimeout is great, modern web development relies on Promises and Async/Await to fetch data from servers. Tomorrow, we take our first step into fetching real data from the internet!

Web Dev Day 12: Event Bubbling & Capturing

📅 Date: April 19, 2026

🧠 Mood: The Architect 🏛️

🔥 Topic: Web Dev Day 12: Event Bubbling & Capturing

📉 The Invisible Trap

Yesterday, I figured out how to make a button listen to my clicks using JavaScript events. It felt straightforward. You click the element, the function runs. But today, while trying to build a complex nested layout for a project, I ran into a bizarre bug that completely broke my logic.

I had a small "Delete" button placed inside a larger "Profile Card" div. I added a click event to the button to delete the user, and a click event to the card to open the profile details. But every time I clicked "Delete", both functions fired simultaneously. The user was deleted, but the profile page still tried to open, resulting in a massive console error.

That is when I learned the brutal reality of the DOM: Clicking a child element means you are simultaneously clicking every single parent element it sits inside. This phenomenon is known as Event Propagation, and it happens in two distinct phases: Capturing and Bubbling.


🌊 The Ripple Effect: Bubbling vs Capturing

Imagine throwing a stone into a pond. The ripple starts at the center and expands outward. JavaScript events work similarly across the DOM tree.

1. Event Bubbling (Bottom-Up)

This is the default behavior in modern browsers. When you click a button, the event triggers on the button first. Then, it "bubbles" up to the button's parent container, then to the grandparent container, all the way up to the <html> root. If any of those parents also have click listeners, they will execute in sequence.

2. Event Capturing (Top-Down)

Also known as the "Trickle Down" phase. This is the exact opposite. The browser starts at the very top of the document root and travels down through the parents until it finally hits the specific target button you clicked. You have to explicitly tell JavaScript to use this mode.


💻 The Fix: Stopping the Propagation

To fix my broken profile card, I didn't need to rewrite my HTML. I just needed to tell JavaScript to stop the ripple effect. We do this using a powerful built-in method called stopPropagation().

const profileCard = document.querySelector('.card');
const deleteBtn = document.querySelector('.delete-btn');

// Parent Event
profileCard.addEventListener('click', function() {
    console.log("Opening Profile Details...");
});

// Child Event
deleteBtn.addEventListener('click', function(event) {
    
    // 🔥 THE FIX: This stops the event from bubbling up to the card!
    event.stopPropagation(); 
    
    console.log("Deleting User Profile...");
});

By simply adding event.stopPropagation() to the child button, the event fires, does its job, and immediately dies. The parent card never even knows a click happened. Bug fixed.


🎯 The Golden Rule

Understanding the DOM tree is crucial. Whenever an event is firing twice or doing something unexpected, check your propagation path. Tomorrow, we move on to Asynchronous JavaScript. It's time to learn how the web handles time delays without freezing the browser.

Day 11: JavaScript Events & Form Handling

📅 Date: April 18, 2026

🧠 Mood: The Listener 👂

🔥 Topic: Web Dev Day 11: JavaScript Events & Form Handling

🚆 The Commuter's Code: Thane to Kandivali

Being an IT student in Mumbai is a grind that textbooks don't prepare you for. Most of my day is swallowed by the commute between Thane and my college in Kandivali. By the time I get home and hit the gym for my split, my brain is usually screaming for a break. But the brutal truth of the industry is that consistency beats intensity. You don't get hired for what you planned to do; you get hired for what you actually built.

I decided to pause my C++ DSA series temporarily to go "all-in" on Web Development. I want to see results that I can interact with. In the last post, we explored the DOM, but today we make it move. Today is about JavaScript Events—the bridge that turns a digital poster into a living, breathing application.


⚡ Interaction: Listening to the User

Events are essentially signals sent by the browser. When a user moves their mouse, types on a keyboard, or resizes a window, the browser broadcasts an event. As developers, our job is to set up "listeners" that wait for these signals and execute logic when they occur.

1. The addEventListener Method

In the past, developers used inline onclick attributes in HTML. This is a mess for scalability. The modern way is to use addEventListener() in your JavaScript file. It keeps your code separated and allows you to attach multiple logic blocks to a single element without them overriding each other.

2. Handling Forms with e.preventDefault()

The default behavior of an HTML form is to refresh the entire page upon submission. This is archaic. In modern MERN stack apps, we want to handle the data behind the scenes. We use event.preventDefault() to kill that refresh, allowing our JavaScript to capture the data and update the UI instantly.


💻 Practical: The Dynamic Input Logger

I built a small module that captures a user's name from an input field and displays a personalized welcome message without the page ever blinking. This is the foundation of every interactive feature, from login screens to live chat boxes.

// Selecting our target elements
const loginForm = document.querySelector('#auth-form');
const nameField = document.querySelector('#user-name');
const welcomeText = document.querySelector('#display-msg');

// Adding a listener for the 'submit' action
loginForm.addEventListener('submit', function(e) {
    
    // 🔥 CRITICAL: Stop the page from reloading
    e.preventDefault(); 
    
    const value = nameField.value;
    
    if(value.trim() === "") {
        console.warn("Input is empty!");
    } else {
        // Update the DOM dynamically
        welcomeText.innerText = `Access Granted: Welcome, ${value}! 🚀`;
        nameField.value = ""; // Reset the input field
    }
});

🎯 The Takeaway

JavaScript events are the pulse of the web. Without them, you aren't building a web app; you're just building a brochure. Learning how to capture and manipulate user intent is the first real step toward becoming a Full-Stack developer. Next up: Event Propagation (Bubbling vs Capturing)—the most common interview trap.

[Web Dev] Day 10: The DOM (Making Websites Alive)

📅 Date: April 13, 2026

🧠 Mood: The Puppeteer 🎭

🔥 Topic: Web Dev Day 10: The DOM (Making Websites Alive)

📉 The Discipline Dip

I have a confession to make. There has been a complete radio silence on this blog for the past week. From April 6th to 12th, I didn't write a single line of code. No C++, no JavaScript, nothing.

Was I busy? Maybe a little. But the brutal truth is that I let my discipline slip. The daily exhaustion of commuting from Thane to college, trying to maintain a 5-day gym split, and then staring at a laptop screen late at night completely drained my mental battery. I hit a wall of laziness. But ignoring the problem doesn't write code. Today, I forced myself back into the chair, opened VS Code on my Vivobook, and decided to tackle one of the most powerful concepts in web development: The DOM.


🌐 What is the Document Object Model (DOM)?

Up until now, JavaScript felt like a calculator. It could do math in the console, but it wasn't interacting with my beautifully styled HTML and CSS. The DOM is the bridge between them.

When your browser loads an HTML file, it converts every single tag (like <h1>, <p>, <button>) into an "Object" that JavaScript can read and manipulate. It creates a massive family tree of your website. If HTML is the puppet, the DOM gives JavaScript the strings to control it.

1. Grabbing the Elements

Before you can change a button, JavaScript needs to "grab" it from the screen. We do this using incredibly useful built-in methods like document.getElementById() or the more modern document.querySelector(). Once you hold the element in a JS variable, you have total power over it.

2. The Event Listener (Listening for actions)

Websites wait for you to do things. They wait for a click, a scroll, or a keyboard press. In JS, we attach an addEventListener to an element. It literally sits there in the background, listening. When the user clicks, it triggers a custom function to run instantly.


💻 Building a "Dark Mode" Toggle

To prove I actually learned this, I built a miniature Dark Mode toggle button. Just a few lines of JavaScript completely alter the CSS of the entire page without reloading it.

// 1. Grab the button and the body from the HTML
const themeBtn = document.getElementById("theme-toggle-btn");
const pageBody = document.body;

// 2. Add an Event Listener for a 'click'
themeBtn.addEventListener("click", function() {
    
    // 3. The Logic: Toggle a CSS class that contains dark mode styles
    pageBody.classList.toggle("dark-theme");
    
    // 4. Change the text of the button dynamically
    if (pageBody.classList.contains("dark-theme")) {
        themeBtn.innerText = "Switch to Light Mode ☀️";
    } else {
        themeBtn.innerText = "Switch to Dark Mode 🌙";
    }
});

The moment I clicked the button and saw the entire background color flip instantly, everything clicked in my head. This is how modern web apps like Twitter and YouTube handle their interfaces. No page reloads, just pure JavaScript manipulating the DOM.


🎯 What's Next?

The break is officially over. With DOM manipulation under my belt, I can finally start building interactive projects. Tomorrow, I will be combining HTML forms with JavaScript to capture user input dynamically. The MERN stack journey is finally getting real!

Date: March 29, 2026 | Status: Rebooting Systems... ⚙️

🚨 THE COMEBACK: SURVIVING EXAMS 🚨

Date: March 29, 2026 | Status: Rebooting Systems... ⚙️

💀 Where Have I Been Since March 7th?

If you have been following my 100 Days of Code journey, you probably noticed the dead silence on this blog for the past three weeks. The last thing I posted was the brutal logic behind Merge Sort, and then... nothing. Did I quit? Did I give up on Web Development?

Absolutely not. I just got hit by the harsh reality of being an Information Technology engineering student.

Balancing self-taught coding (like the MERN stack and complex Data Structures) with an actual university degree is brutally exhausting. The month of March brought a massive wave of mid-term exams, endless practical assignments, and lab submissions. When you are spending your day commuting back and forth across Mumbai, attending lectures, and cramming academic syllabus late into the night, your brain literally runs out of RAM. You cannot write clean React code or solve dynamic programming problems when your mind is fried from university exams.


🧠 The Engineering Trap

During this hiatus, I realized something very important about the "Engineering Trap." Universities teach you theory to pass exams, but the industry demands practical skills to build real things. If you only focus on your college GPA, you will graduate without knowing how to actually build a live application. But if you only focus on coding and ignore your exams, you risk failing your degree.

It is a very thin rope to walk. I had to step away from the keyboard for 20 days just to secure my academic grades. But now, the exams are done. The assignments are submitted. The academic pressure is finally off my back.


🔥 The Masterplan (Starting March 30)

Starting from, April 3rd, the daily grind officially resumes. No more breaks. No more excuses.

  • On the Web Dev Side: We are finally stepping out of the HTML/CSS sandbox and diving deep into the brain of the web—JavaScript.
  • On the DSA Side: I will be jumping back into advanced sorting algorithms and moving towards Binary Search and Linked Lists.

To everyone who checks this blog, thanks for sticking around. The break was necessary, but the comeback is going to be brutal. See you tomorrow. 💻