<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Amitha</title>
    <description>The latest articles on Forem by Amitha (@amitha_0706).</description>
    <link>https://forem.com/amitha_0706</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3260244%2Ff3d01cbf-8306-4008-b75e-7c301983495b.png</url>
      <title>Forem: Amitha</title>
      <link>https://forem.com/amitha_0706</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/amitha_0706"/>
    <language>en</language>
    <item>
      <title>JavaScript Gotchas That Still Catch You Slipping (Even After Years)</title>
      <dc:creator>Amitha</dc:creator>
      <pubDate>Wed, 25 Jun 2025 21:59:35 +0000</pubDate>
      <link>https://forem.com/amitha_0706/javascript-gotchas-that-still-catch-you-slipping-even-after-years-16ab</link>
      <guid>https://forem.com/amitha_0706/javascript-gotchas-that-still-catch-you-slipping-even-after-years-16ab</guid>
      <description>&lt;p&gt;Yep — even an empty array is truthy. Try this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if ([]) console.log("true"); // It runs!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then your “harmless” condition silently fails elsewhere. Been there? These tiny quirks can break production logic in the weirdest ways.&lt;/p&gt;

&lt;p&gt;The Scope Chain Dance&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var count = 1;
if (true) {
  var count = 2;
}
console.log(count); // 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now switch to let or const and the behavior changes. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; If you're still casually using var in 2025 — you're skating on thin ice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OOP vs Functional&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Someone asked me:&lt;/strong&gt; &lt;strong&gt;“Which is better — OOP or Functional?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My answer:&lt;/strong&gt; Depends.&lt;/p&gt;

&lt;p&gt;OOP helps when you're modeling real-world structures (ex: User, Order, Cart)&lt;br&gt;
Functional shines when transforming data pipelines (ex: map(), filter(), reduce())&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real Use:&lt;/strong&gt; I mixed both in a React-Redux app — OOP-style classes for config, FP-style for transformation — and it worked beautifully.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The DOM:&lt;/strong&gt; Knowing It vs Using It&lt;/p&gt;

&lt;p&gt;Many devs use JS or React to manipulate the DOM — but few understand how it really works under the hood.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;document.body.children[0].textContent;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Looks old-school? It once helped me debug a script before React mounted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why it matters: DOM knowledge is critical when:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Tuning performance&lt;/li&gt;
&lt;li&gt;Fixing bugs in third-party scripts&lt;/li&gt;
&lt;li&gt;Understanding how React actually mounts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;JSON.stringify() vs JSON.parse()&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const data = JSON.stringify({ price: 100 });
const parsed = JSON.parse(data);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clean, right? Now try:&lt;/p&gt;

&lt;p&gt;JSON.parse(undefined);&lt;br&gt;
Real APIs don’t always come wrapped with love and structure. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; Always validate before parsing.&lt;/p&gt;

&lt;p&gt;Use try...catch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;try {
  const safeParsed = JSON.parse(data);
} catch (error) {
  console.error("Parsing failed:", error);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Final Thought&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript doesn’t just run — it behaves. Sometimes… unexpectedly. And knowing those behaviors is what separates a dev from a debugger.&lt;/p&gt;

&lt;p&gt;What’s your most “Wait… what just happened?” JS moment?&lt;/p&gt;

&lt;p&gt;Drop your logic bugs, type coercion fails, or memory leaks below , Let’s laugh, cry, and learn together.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Coding Without Collisions: My Take on Version Control and Global Collaboration</title>
      <dc:creator>Amitha</dc:creator>
      <pubDate>Fri, 13 Jun 2025 22:44:06 +0000</pubDate>
      <link>https://forem.com/amitha_0706/coding-without-collisions-my-take-on-version-control-and-global-collaboration-1ike</link>
      <guid>https://forem.com/amitha_0706/coding-without-collisions-my-take-on-version-control-and-global-collaboration-1ike</guid>
      <description>&lt;p&gt;In the world of modern software development, especially as a frontend developer working across global teams, one truth holds steady:** without version control, everything falls apart**.&lt;/p&gt;

&lt;p&gt;Recently, I took time to deepen my understanding of how version control systems (VCS), developer workflows, and command-line tools empower us to build better software—together, from anywhere in the world. Here’s my reflection on what I learned, and how it all fits into the puzzle of professional frontend development.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Version Control Is More Than Just “Git Commands”&lt;/strong&gt;&lt;br&gt;
At first glance, Git might seem like a tool for saving your progress. But version control systems are so much more—they’re the foundation of collaborative development.&lt;/p&gt;

&lt;p&gt;From learning about the history of version control and subversion systems to grasping the sheer importance of tracking every change, I realized how essential this practice is when building software with large, distributed teams. It keeps our code safe, our work visible, and our mistakes reversible.&lt;/p&gt;

&lt;p&gt;Even the best developers make bugs—version control helps you fail safely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Navigating Conflict and Chaos—The Developer’s Way&lt;/strong&gt;&lt;br&gt;
We’ve all been there: two people working on the same file, pushing their changes, and bam—merge conflict.&lt;/p&gt;

&lt;p&gt;Understanding how to resolve Git conflicts isn’t just a technical skill; it’s part of becoming a responsible contributor. This course offered real strategies for navigating that chaos with confidence.&lt;/p&gt;

&lt;p&gt;It also emphasized the importance of environments: how a staging environment should mirror production to catch bugs before they ever touch the end user. It’s a lesson in building responsibly, not just efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mastering the Command Line – One Powerful Step at a Time&lt;/strong&gt;&lt;br&gt;
The command line often feels like the “backend” of frontend work. But learning to traverse directories, create and delete files, and chain commands using pipes and redirection opened a whole new level of productivity for me.&lt;/p&gt;

&lt;p&gt;I saw how Linux commands aren’t just about control—they’re about speed and automation. Once you understand the flow of input/output streams and the power of flags, you’re no longer clicking your way through tasks—you’re orchestrating them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git: More Than a Tool, It’s a Mindset&lt;/strong&gt;&lt;br&gt;
The deeper dive into Git as a technology—installing it, connecting via HTTPS and SSH, understanding branches, forks, and the true power of commits—was a huge takeaway.&lt;/p&gt;

&lt;p&gt;Git isn’t just about pushing code to GitHub. It’s about adopting a workflow that scales. Knowing when to fork a repo vs. clone it, how to open a pull request properly, or how to use blame to track a bug across commits—that’s what separates good devs from great ones.&lt;/p&gt;

&lt;p&gt;One of the most valuable exercises was creating a fork, branching off, committing, and opening a pull request. This wasn’t just theory—it was a real-world simulation of how global teams operate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why This Matters for Frontend Developers&lt;/strong&gt;&lt;br&gt;
As frontend developers, we often focus on frameworks, UI, and performance—but our work only thrives in collaborative ecosystems. That means we must be just as fluent in version control, branching strategies, and DevOps workflows as we are in React or CSS Grid.&lt;/p&gt;

&lt;p&gt;This learning journey reinforced that coding is not a solo sport. Understanding version control gives us the superpower to collaborate without collisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thought:&lt;/strong&gt;&lt;br&gt;
Whether you’re committing your first file or managing pull requests on a multi-team project—version control isn’t optional. It’s essential. It brings structure to our chaos and unity to our collaboration.&lt;/p&gt;

&lt;p&gt;If you’re a developer looking to grow, revisit your workflows. Understand why Git works the way it does. Because the better you manage change, the better you build software.&lt;/p&gt;

&lt;p&gt;Have you explored Git beyond the basics recently? I’d love to hear how version control changed your dev workflow. Let’s connect and discuss!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>git</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Leveling Up My Frontend Skills: A Journey Through the Core of JavaScript</title>
      <dc:creator>Amitha</dc:creator>
      <pubDate>Fri, 13 Jun 2025 22:29:40 +0000</pubDate>
      <link>https://forem.com/amitha_0706/leveling-up-my-frontend-skills-a-journey-through-the-core-of-javascript-3o11</link>
      <guid>https://forem.com/amitha_0706/leveling-up-my-frontend-skills-a-journey-through-the-core-of-javascript-3o11</guid>
      <description>&lt;p&gt;&lt;strong&gt;Rediscovering the Building Blocks&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Essentials of JavaScript:&lt;/strong&gt; variables, data types, and operators. It reminded me how mastering these basics is crucial, especially when debugging complex applications. Understanding how JavaScript handles type coercion, Booleans, and logical operators gave me a refreshed perspective on writing cleaner, more predictable code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Control Flow That Matters&lt;/strong&gt;&lt;br&gt;
conditionals and loops—the core of control flow. Revisiting if-else, switch, for, and while loops reminded me that elegant control structures are key to writing scalable logic. These concepts are often underestimated but play a huge role in crafting bug-free and maintainable applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Arrays, Objects &amp;amp; Functions – The Real Backbone&lt;/strong&gt;&lt;br&gt;
This part of the journey dove deep into functions, arrays, and objects. Even as an experienced developer, rethinking how I use functions—especially when designing reusable components—was valuable. Understanding nuances in how arrays behave, and how to efficiently use methods like map, filter, and reduce, helped me write more expressive code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Better Error Handling, Fewer Bugs&lt;/strong&gt;&lt;br&gt;
The section on error prevention and debugging emphasized using try-catch blocks wisely, and clarified the differences between null, undefined, and empty strings. These subtle details can prevent hours of debugging in production environments and reinforce thoughtful coding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Functional and Object-Oriented Thinking&lt;/strong&gt;&lt;br&gt;
I revisited concepts like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Functional programming (pure functions, recursion, scope)&lt;/li&gt;
&lt;li&gt;Object-oriented programming (classes, inheritance, constructors)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This duality helped me better understand how to architect different parts of a web app depending on the use case—especially when juggling state management and component structure in modern frameworks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Working with Modern JavaScript Features&lt;/strong&gt;&lt;br&gt;
From template literals to the spread/rest operators and destructuring, this part of the course helped me refine how I write modern, clean JavaScript. These features aren’t just fancy syntax—they make the codebase more readable, DRY, and maintainable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript in the Browser&lt;/strong&gt;&lt;br&gt;
Interacting with the DOM, handling events, and building user interactivity brought the theoretical parts into the real world. This reinforced how JS is the glue that binds structure (HTML) and style (CSS) into dynamic, responsive user experiences.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Testing and Tooling: The Often-Ignored Hero&lt;/strong&gt;&lt;br&gt;
I appreciated the deep dive into unit testing with Jest, along with coverage of Node.js, NPM, and Webpack. These tools and practices are critical for shipping production-quality apps. The refresher on test-driven development (TDD) encouraged me to refactor portions of my own codebase with confidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;br&gt;
Revisiting JavaScript wasn’t just about refreshing old knowledge—it was about leveling up my thinking as a frontend developer. It reminded me that even experienced devs benefit from slowing down, reviewing the basics, and embracing best practices with fresh eyes.&lt;/p&gt;

&lt;p&gt;If you're working with frameworks like React, Angular, or Vue, or diving into backend with Node.js, this kind of deep dive will only make you better.&lt;/p&gt;

&lt;p&gt;My advice? Never stop learning. Relearn the fundamentals. They’re your most powerful tools.&lt;br&gt;
Have you revisited your core JS knowledge recently? I’d love to hear what helped you grow. Let’s connect and learn together.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>learning</category>
    </item>
    <item>
      <title>Revisiting the Frontend Foundations – Why It Still Matters After experience in the Field</title>
      <dc:creator>Amitha</dc:creator>
      <pubDate>Thu, 12 Jun 2025 21:20:17 +0000</pubDate>
      <link>https://forem.com/amitha_0706/revisiting-the-frontend-foundations-why-it-still-matters-after-experience-in-the-field-3cmn</link>
      <guid>https://forem.com/amitha_0706/revisiting-the-frontend-foundations-why-it-still-matters-after-experience-in-the-field-3cmn</guid>
      <description>&lt;p&gt;As a frontend developer with 6 years of experience building scalable, accessible, and responsive applications for enterprise clients, I recently took time to revisit the core building blocks of web development: HTML, CSS, JavaScript, and the fundamentals of the web.&lt;/p&gt;

&lt;p&gt;You might ask — why revisit the basics when you’re already deep into React, TypeScript, and cloud deployments?&lt;/p&gt;

&lt;p&gt;Here’s what I found: Revisiting the foundation with the lens of real-world experience brings powerful clarity and insight.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Revisited — and How It Applies at Scale&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;HTML &amp;amp; Accessibility&lt;/strong&gt;&lt;br&gt;
I refreshed my knowledge of semantic tags and the Document Object Model (DOM), not just to create content — but to make sure it’s accessible to all users.&lt;/p&gt;

&lt;p&gt;Real-world use: Implemented ARIA roles and semantic tags in a healthcare app to support screen readers and improve compliance with WCAG 2.1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS &amp;amp; Responsive Design&lt;/strong&gt;&lt;br&gt;
From selectors to layout techniques, I dug into CSS’s role in crafting seamless UIs across devices. I also explored Bootstrap and other UI frameworks.&lt;/p&gt;

&lt;p&gt;Real-world use: Used Bootstrap's grid system with custom overrides to deliver pixel-perfect, responsive dashboards in a Citibank project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript Fundamentals&lt;/strong&gt;&lt;br&gt;
Even though I work with ES6+ and frameworks like React daily, I found it valuable to revisit the vanilla JavaScript event loop, closures, and DOM manipulation.&lt;/p&gt;

&lt;p&gt;Real-world use: Debugged a performance bottleneck in a React app by understanding how JavaScript manages asynchronous events under the hood.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;React &amp;amp; Virtual DOM&lt;/strong&gt;&lt;br&gt;
I revisited why React was built — and how concepts like the Virtual DOM and component lifecycle impact performance.&lt;/p&gt;

&lt;p&gt;Real-world use: Optimized a slow-rendering component tree in a Lowe’s product page by using React.memo and splitting the virtual DOM efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Browser Tools &amp;amp; IDEs&lt;/strong&gt;&lt;br&gt;
Re-exploring browser DevTools, Lighthouse audits, and extensions reminded me how powerful modern tooling is in diagnosing UI and accessibility issues quickly.&lt;/p&gt;

&lt;p&gt;Real-world use: Conducted a Lighthouse audit to improve a page’s performance score from 58 to 92 by addressing unused CSS and JS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;br&gt;
We often associate learning the basics with being new to the field. But I’ve learned that revisiting core concepts with senior-level perspective is how we continue to grow as engineers.&lt;/p&gt;

&lt;p&gt;It helps us:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mentor junior developers with clarity&lt;/li&gt;
&lt;li&gt;Build scalable architectures on strong foundations&lt;/li&gt;
&lt;li&gt;Solve bugs more efficiently with deeper insight&lt;/li&gt;
&lt;li&gt;Communicate better with designers and backend engineers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're a seasoned developer, I encourage you to take time to reflect and refresh your fundamentals. The payoff is immediate — in your code, your confidence, and your leadership.&lt;/p&gt;

&lt;p&gt;I'd love to hear from others — have you recently revisited the foundations? What did you learn the second (or third!) time around?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>learning</category>
    </item>
    <item>
      <title>JavaScript: The Root, the Rise, and the Reality Behind the Web</title>
      <dc:creator>Amitha</dc:creator>
      <pubDate>Thu, 12 Jun 2025 20:58:14 +0000</pubDate>
      <link>https://forem.com/amitha_0706/javascript-the-root-the-rise-and-the-reality-behind-the-web-342b</link>
      <guid>https://forem.com/amitha_0706/javascript-the-root-the-rise-and-the-reality-behind-the-web-342b</guid>
      <description>&lt;p&gt;Have you ever wondered how a single click on your browser opens up an entire digital world? What magic turns a URL into a living, breathing, interactive web app? And what role does JavaScript play in this vast, invisible machinery?&lt;/p&gt;

&lt;p&gt;Well, it all starts with a question—and curiosity like yours. Let’s dive into a fascinating story of how JavaScript was born, why it exists, and how it connects everything from HTML, CSS, and the DOM, all the way to servers, the internet, and you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Root Cause: Why Was JavaScript Created?&lt;/strong&gt;&lt;br&gt;
In the early 1990s, the internet was mostly a read-only library. You could view documents but couldn’t interact with them. The user experience was limited—no buttons, no pop-ups, no validation, no auto-updates.&lt;/p&gt;

&lt;p&gt;The world needed interactivity, and this demand became the root cause for a browser-based scripting language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Mission:&lt;/strong&gt;&lt;br&gt;
Netscape, the leading browser company at the time, wanted a scripting language to run in the browser—one that was simple for designers and powerful enough for developers.&lt;/p&gt;

&lt;p&gt;Enter Brendan Eich, who created JavaScript in 10 days in 1995. Initially called Mocha, then LiveScript, and finally JavaScript (for marketing reasons), it wasn’t related to Java but borrowed its name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Concepts: Clarifying the Web Ecosystem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Web Page&lt;/strong&gt; : A single document (HTML) served over the internet&lt;br&gt;
&lt;strong&gt;Website&lt;/strong&gt;: A collection of related web pages (e.g., linkedin.com)&lt;br&gt;
&lt;strong&gt;Web Browser&lt;/strong&gt;: Application (Chrome, Safari) used to access websites&lt;br&gt;
&lt;strong&gt;Web Server&lt;/strong&gt;: Software/hardware that delivers web pages to browsers&lt;br&gt;
&lt;strong&gt;Web Hosting&lt;/strong&gt;: Service that stores websites and makes them accessible online&lt;br&gt;
&lt;strong&gt;IP Protocol&lt;/strong&gt;: Rules that govern how data is sent between computers&lt;br&gt;
&lt;strong&gt;HTTP&lt;/strong&gt;: Protocol used for requesting and receiving web resources&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Is JavaScript (In the Beginning)?&lt;/strong&gt;&lt;br&gt;
At its birth, JavaScript was:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lightweight&lt;/li&gt;
&lt;li&gt;Interpreted&lt;/li&gt;
&lt;li&gt;Client-side&lt;/li&gt;
&lt;li&gt;Built to respond to user interactions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Early Use Cases:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Validating forms&lt;/li&gt;
&lt;li&gt;Showing pop-up alerts&lt;/li&gt;
&lt;li&gt;Basic animations&lt;/li&gt;
&lt;li&gt;Simple DOM manipulation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;alert("Welcome to my first webpage!");&lt;/code&gt;&lt;br&gt;
It ran inside the browser, giving HTML the power to respond to actions like clicks or typing—without needing to reload the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript and the Internet: Talking to Servers&lt;/strong&gt;&lt;br&gt;
JavaScript can communicate with servers via HTTP to fetch or send data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Behind the Screen: How Browsers Display Web Pages&lt;/strong&gt;&lt;br&gt;
Let’s decode the life of a webpage:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; You enter a URL (e.g., &lt;a href="http://www.linkedin.com" rel="noopener noreferrer"&gt;www.linkedin.com&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt; The browser sends a DNS request → gets IP address&lt;/li&gt;
&lt;li&gt; Browser sends an HTTP request to the server&lt;/li&gt;
&lt;li&gt; Server responds with HTML/CSS/JS files&lt;/li&gt;
&lt;li&gt; Browser:
    - Parses HTML → builds DOM
    - Parses CSS → builds CSSOM
    - Loads and runs JavaScript&lt;/li&gt;
&lt;li&gt; Combines DOM + CSSOM → builds Render Tree&lt;/li&gt;
&lt;li&gt; Renders content on screen&lt;/li&gt;
&lt;li&gt;JavaScript listens for actions and updates DOM dynamically&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It's like directing a movie in real-time, with the browser as the actor and JavaScript as the script.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Entire Flow—Summed Up&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;User → Browser → DNS → Server → Request (HTTP)&lt;br&gt;
↓&lt;br&gt;
Server → Response (HTML/CSS/JS)&lt;br&gt;
↓&lt;br&gt;
Browser:&lt;br&gt;
→ HTML → DOM&lt;br&gt;
→ CSS → CSSOM&lt;br&gt;
→ JS → Executes&lt;br&gt;
↓&lt;br&gt;
Render Tree → Pixels on Screen&lt;br&gt;
↓&lt;br&gt;
User Interacts → JS Updates DOM → Dynamic Experience&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real-World Analogy: Restaurant Ordering System&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You (User) → Browser&lt;/li&gt;
&lt;li&gt;Menu (HTML) → Structure&lt;/li&gt;
&lt;li&gt;Styling (CSS) → Presentation&lt;/li&gt;
&lt;li&gt;Waiter (JavaScript) → Interactivity&lt;/li&gt;
&lt;li&gt;Chef (Server) → Back-end processing&lt;/li&gt;
&lt;li&gt;Order (Request) → Sent via HTTP&lt;/li&gt;
&lt;li&gt;Food (Response) → Rendered on screen&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Foundation: HTML &amp;amp; CSS&lt;/strong&gt;&lt;br&gt;
To understand JavaScript’s place, we must look at its companions.&lt;br&gt;
HTML (HyperText Markup Language)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Defines the structure&lt;/li&gt;
&lt;li&gt;Think of it as the skeleton of a webpage
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h1&amp;gt;Welcome&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;This is a paragraph.&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;CSS (Cascading Style Sheets)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Defines the look and feel&lt;/li&gt;
&lt;li&gt;Think of it as makeup and clothing
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p {
  color: blue;
  font-size: 16px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;JavaScript adds life to this combination by making elements interactive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enter the DOM: The Digital Playground&lt;/strong&gt;&lt;br&gt;
The DOM (Document Object Model) is the browser’s way of turning HTML into a structured tree. JavaScript uses this tree to access and manipulate elements.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
.html&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p id="message"&amp;gt;Hello!&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.js&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;document.getElementById("message").innerText = "Hi, Amitha!";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Why was the DOM created?&lt;/strong&gt;&lt;br&gt;
Because HTML needed a way to interact with scripts in real time. DOM is the bridge between JavaScript and the webpage.&lt;br&gt;
javascript&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fetch("https://api.example.com/user")
  .then(response =&amp;gt; response.json())
  .then(data =&amp;gt; console.log(data));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is what enables live chat, notifications, and real-time updates in apps like Gmail and Instagram.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DOM in Action (With Accessibility)&lt;/strong&gt;&lt;br&gt;
HTML:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button id="loginBtn" aria-label="Submit Login"&amp;gt;Login&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;JavaScript:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`document.getElementById("loginBtn").onclick = () =&amp;gt; {
  alert("Logging in...");
};`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Accessibility features like aria-label and tabindex ensure inclusive design for all users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Evolution Over Time&lt;/strong&gt;&lt;br&gt;
From simple scripts to full-scale applications, JavaScript evolved:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2005: AJAX made asynchronous data fetching possible.&lt;/li&gt;
&lt;li&gt;2009: Node.js brought JavaScript to the server side.&lt;/li&gt;
&lt;li&gt;2013+: Frameworks like React, Angular, Vue revolutionized front-end development.&lt;/li&gt;
&lt;li&gt;Today: JavaScript powers web, mobile (React Native), desktop (Electron), IoT, and AI integrations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts:&lt;/strong&gt; Why This All Matters&lt;br&gt;
JavaScript is more than just code—it’s the engine of interactivity. Combined with HTML and CSS, and powered by the DOM and HTTP, it creates the modern digital experience we rely on every day.&lt;/p&gt;

&lt;p&gt;From shopping carts to social feeds, dashboards to data visualizations—it’s all possible because of this finely woven web of technologies.&lt;/p&gt;

&lt;p&gt;Let’s Connect&lt;br&gt;
If you’re curious about building the web or are just starting your journey, I hope this post gave you a deeper understanding of how it all works behind the scenes.&lt;/p&gt;

&lt;p&gt;I’d love to hear your thoughts—what part of the web stack fascinates you the most?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
