<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Urbashi Jrall on Medium]]></title>
        <description><![CDATA[Stories by Urbashi Jrall on Medium]]></description>
        <link>https://medium.com/@urbashijrall30?source=rss-987a0915330------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wF5i74mtQ0AIxt54k0V14w.png</url>
            <title>Stories by Urbashi Jrall on Medium</title>
            <link>https://medium.com/@urbashijrall30?source=rss-987a0915330------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:54:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@urbashijrall30/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Revisiting My Software Engineering Journey]]></title>
            <link>https://medium.com/@urbashijrall30/revisiting-my-software-engineering-journey-a311f5d15498?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/a311f5d15498</guid>
            <category><![CDATA[javascript-fundamental]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 18:51:32 GMT</pubDate>
            <atom:updated>2026-08-04T18:51:32.845Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Day 6: JavaScript Data Types — Why Some Values Behave Differently Than Others</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZ821U8dbjuyHbzAJ19q8Q.png" /></figure><p>Yesterday, I learned how JavaScript prepares variables before executing a program. That naturally led me to another question.</p><p><strong>If variables store values, what exactly are those values?</strong></p><p>The answer is <strong>data types</strong>.</p><p>At first, I thought this topic would be nothing more than memorizing a list — String, Number, Boolean, Object, and moving on.</p><p>But as I revisited the fundamentals, I realized data types aren’t just categories. They define how JavaScript understands and works with different kinds of values.</p><h3>Primitive vs Non-Primitive</h3><p>One concept that finally clicked was that JavaScript divides values into two broad groups.</p><p><strong>Primitive data types</strong> represent a single value.</p><p>They include:</p><ul><li>String</li><li>Number</li><li>Boolean</li><li>Undefined</li><li>Null</li><li>Symbol</li><li>BigInt</li></ul><p>For example,</p><pre>let name = &quot;Urbashi&quot;;<br>let age = 28;<br>let isLearning = true;</pre><p>On the other hand, <strong>Non-Primitive data types</strong> can hold multiple values together.</p><pre>const user = {<br>  name: &quot;Urbashi&quot;,<br>  age: 28<br>};</pre><p>Objects, Arrays, and Functions all belong to this category.</p><p>At first, this felt like just another definition. Later, I realized this distinction becomes the foundation for understanding objects, memory, and many advanced JavaScript concepts.</p><h3>The One Output That Made Me Curious</h3><p>One interview question immediately caught my attention.</p><pre>console.log(typeof null);</pre><p>I expected the output to be:</p><pre>&quot;null&quot;</pre><p>Instead, JavaScript returns:</p><pre>&quot;object&quot;</pre><p>That surprised me.</p><p>It turns out null isn&#39;t actually an object. It&#39;s a long-standing historical bug in JavaScript that has been preserved for backward compatibility.</p><p>Understanding <strong>why</strong> this happens was far more interesting than simply memorizing the answer.</p><h3>Undefined vs Null</h3><p>Another concept I had misunderstood was the difference between undefined and null.</p><pre>let score;</pre><p>Here, JavaScript automatically assigns undefined because the variable exists but hasn&#39;t been given a value.</p><p>Whereas,</p><pre>let score = null;</pre><p>means I’m intentionally saying:</p><p><em>“This variable currently has no value.”</em></p><p>The values may seem similar, but the intention behind them is completely different.</p><h3>My Biggest Realisation</h3><p>Today’s lesson reminded me that learning JavaScript isn’t about remembering a list of data types.</p><p>It’s about understanding <strong>why different values behave differently</strong>.</p><p>The more I revisit the fundamentals, the more I realise that asking <strong>“Why does JavaScript behave this way?”</strong> is far more valuable than memorising outputs.</p><p>And somehow, that makes the language feel much less intimidating.</p><h3>What’s Next?</h3><p>Now that I understand the different kinds of values JavaScript works with, the next step is learning <strong>operators</strong> — the symbols that allow JavaScript to compare values, perform calculations, and eventually make decisions.</p><p>Every concept I revisit feels like another piece of the puzzle falling into place, and I’m excited to see how they all connect.</p><p><strong>In the next article, I’ll revisit JavaScript Operators and explore how they become the foundation of every calculation, comparison, and decision we write in code.</strong></p><p>If you’ve been following this journey and have any suggestions, corrections, or topics you’d like me to explore, I’d genuinely love to hear from you.</p><p>Feel free to reach out at <strong>urbashijrall3003@gmail.com</strong>. I’m always open to learning from other developers and improving along the way.</p><p><strong>Until then, thanks for reading — and I’ll see you in Day 7! 👩‍💻</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a311f5d15498" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revisiting My Software Engineering Journey]]></title>
            <link>https://medium.com/@urbashijrall30/revisiting-my-software-engineering-journey-af870a10d9a4?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/af870a10d9a4</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[variables-in-javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Mon, 27 Jul 2026 19:08:19 GMT</pubDate>
            <atom:updated>2026-07-27T19:08:19.220Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 5: Variables in JavaScript — The Concept I Thought I Already Knew</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*achyqKzur-6jFWWtJh1fTw.png" /></figure><p><em>Yesterday, I finally understood why JavaScript exists.</em></p><p>HTML creates the structure.</p><p>CSS makes it look beautiful.</p><p>JavaScript brings the page to life by adding logic and decision-making.</p><p>Naturally, I wanted to start revisiting JavaScript from the basics.</p><p>So I picked what I thought would be the easiest topic of all…</p><p><strong>Variables.</strong></p><p>Honestly, I expected to finish learning them in 10 minutes.</p><p>After all, I already knew this.</p><pre>let name = &quot;Urbashi&quot;;</pre><p>A variable stores data.</p><p>Simple, right?</p><p>Well…</p><p>Not exactly.</p><p>The more I revisited variables, the more I realised they introduce some of JavaScript’s biggest concepts — <strong>memory allocation, execution context, hoisting, scope, and even something called the Temporal Dead Zone.</strong></p><p>And suddenly, variables didn’t feel like a beginner topic anymore.</p><h4><strong>Variables Aren’t Just Containers</strong></h4><p>One thing that changed my perspective was thinking of variables differently.</p><p>Instead of seeing them as boxes that store data, I started seeing them as <strong>labels</strong>.</p><p>Imagine saving your best friend’s phone number.</p><p>You don’t remember the number every time you call them.</p><p>You simply search their name.</p><p>Variables work in a very similar way.</p><pre>const userName = &quot;Urbashi&quot;;</pre><p>Here, &quot;Urbashi&quot; is the value.</p><p>userName is simply the label JavaScript uses to find that value later.</p><p>That explanation made much more sense to me than saying,</p><blockquote><strong><em>“A variable is a container.”</em></strong></blockquote><h3>Then Why Do We Have Three Different Ways to Create One?</h3><p>This question bothered me for years.</p><p>If all of these create variables…</p><pre>var age = 20;<br><br>let age = 20;<br><br>const age = 20;</pre><p>…why do we need three different keywords?</p><p>Initially, I thought JavaScript was just being inconsistent.</p><p>But the answer actually comes from the language’s history.</p><p>var was introduced when JavaScript was created in 1995.</p><p>Back then, websites were much simpler.</p><p>As web applications became larger, developers started running into bugs caused by var.</p><p>That&#39;s why ES6 introduced let and const to make code safer and more predictable.</p><p>That was my first realisation:</p><blockquote><strong><em>The three keywords don’t exist because they store different kinds of data. They exist because JavaScript manages them differently.</em></strong></blockquote><h3>The Biggest “Aha!” Moment: Hoisting</h3><p>Hoisting was one of those terms I had heard countless times but never truly understood.</p><p>Some people say,</p><blockquote><em>“var is hoisted.&quot;</em></blockquote><p>Others say,</p><blockquote><em>“Everything is hoisted.”</em></blockquote><p>So which one is actually true?</p><p>Turns out…</p><p><strong>Both are partially right.</strong></p><p>Before JavaScript executes our code, it first scans the entire file.</p><p>This stage is called the <strong>Creation Phase</strong>, where JavaScript creates an <strong>Execution Context</strong>.</p><p>Think of it like a teacher taking attendance before starting the class.</p><p>Before teaching begins, the teacher already knows who is present.</p><p>Similarly, before JavaScript starts executing line by line, it already knows which variables and functions exist.</p><p>That process is what we call <strong>hoisting</strong>.</p><p>Which means…</p><p>Yes.</p><p><strong>var, </strong><strong>let, and </strong><strong>const are all hoisted.</strong></p><p>The real difference isn’t whether they’re hoisted.</p><p>It’s <strong>what JavaScript does with them during the Creation Phase.</strong></p><blockquote>💡 <strong>My biggest realisation today:</strong><br> <strong>Hoisting isn’t about moving code. It’s about JavaScript preparing itself before execution begins.</strong></blockquote><h3>So Why Does var Behave Differently?</h3><p>This finally made sense to me.</p><p>When JavaScript finds a variable declared with var, it immediately allocates memory and gives it a temporary value of undefined.</p><p>That’s why this doesn’t crash.</p><pre>console.log(a);<br><br>var a = 10;</pre><p>Instead, it prints:</p><pre>undefined</pre><p>Not because 10 already exists…</p><p>…but because JavaScript temporarily assigned undefined until it reached the actual declaration.</p><h3>Then What About let and const?</h3><p>This is where JavaScript becomes much stricter.</p><p>Although let and const are also registered during the <strong>Creation Phase,</strong> JavaScript refuses to let us use them until it reaches their declaration.</p><pre>console.log(score);<br><br>let score = 90;</pre><p>Instead of printing undefined, JavaScript throws a <strong>ReferenceError</strong>.</p><p>At first, I assumed the variable didn’t exist.</p><p>But that’s not true.</p><p>It <em>does</em> exist.</p><p>JavaScript simply protects it until it’s initialized.</p><p>This waiting period has a surprisingly dramatic name:</p><p><strong>Temporal Dead Zone (TDZ).</strong></p><p>When I first heard that term, I expected something incredibly complicated.</p><p>In reality, it’s simply JavaScript saying,</p><blockquote><em>“I know this variable exists… but you can’t use it yet.”</em></blockquote><h3>Scope Finally Started Making Sense</h3><p>Another concept that became clearer while learning variables was <strong>scope</strong>.</p><p>Scope simply answers one question:</p><blockquote><strong><em>“From where can this variable be accessed?”</em></strong></blockquote><p>var follows <strong>function scope</strong>.</p><p>let and const follow <strong>block scope</strong>.</p><p>That might sound like a small difference, but in large applications, it prevents accidental bugs by ensuring variables stay only where they’re needed.</p><p>It’s one of those design decisions that probably doesn’t seem important when writing ten lines of code — but becomes incredibly valuable when you’re working on thousands.</p><h3>One Thing That Completely Surprised Me</h3><p>I always assumed const meant <strong>constant</strong>.</p><p>So naturally, I thought nothing could ever change.</p><p>Then I discovered this.</p><pre>const user = {<br>  name: &quot;Urbashi&quot;<br>};<br><br>user.name = &quot;Aryan&quot;;</pre><p><strong>That surprised me.</strong></p><p><strong>const wasn&#39;t behaving the way I expected.</strong></p><p>Why?</p><p>Because const doesn&#39;t make the <strong>object</strong> constant.</p><p>It only prevents the <strong>variable</strong> from pointing to a different object.</p><p>The object itself can still change. The reference can’t.</p><p>That was one of my favourite discoveries today because it challenged what I thought I already knew.</p><h3>So… Which One Should We Actually Use?</h3><p>After understanding everything behind the scenes, the recommendation finally made sense.</p><ul><li><strong>Use </strong><strong>const by default.</strong></li><li><strong>Use </strong><strong>let when the value needs to change.</strong></li><li><strong>Use </strong><strong>var only when working with older JavaScript codebases.</strong></li></ul><p>Not because it’s a rule everyone repeats…</p><p>…but because now I actually understand why.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p94IE8AMQbWQdTvDQXe4ig.png" /></figure><h3>My Biggest Realisation</h3><p>When I started today’s session, I thought I was learning about variables.</p><p>By the end of it, I realised I was actually learning <strong>how JavaScript prepares itself before executing a single line of code.</strong></p><p>Variables introduced me to concepts I had heard for years but never truly understood — Execution Context, Creation Phase, Hoisting, Scope, and the Temporal Dead Zone.</p><p>It reminded me of something I’ve been noticing throughout this journey:</p><p>The fundamentals aren’t difficult because they’re complicated.</p><p>They’re difficult because most of us learn <strong>what JavaScript does</strong>, without first understanding <strong>why it does it.</strong></p><p>And once that “why” clicks…</p><p>Everything suddenly feels much easier.</p><h3>What’s Next?</h3><p>Now that I understand how JavaScript stores variables and prepares them for execution, the next thing I want to revisit is <strong>Data Types</strong>.</p><p>I’ll explore the difference between <strong>Primitive</strong> and <strong>Non-Primitive</strong> data types, how JavaScript stores them in memory, and why two values that look similar can behave very differently.</p><blockquote><strong>One thing I’ve realised during this journey is that JavaScript isn’t difficult because of its syntax. It’s difficult because we often learn the rules before understanding the reasons behind them.</strong></blockquote><blockquote><strong>The moment those reasons start making sense, the language suddenly feels much less intimidating.</strong></blockquote><blockquote><strong>And today, variables were another reminder of that.</strong></blockquote><p><strong>Every article in this series is part of my learning journey. If you notice something I could explain better, or if there’s a topic you’d like me to revisit next, I’d genuinely love to hear from you.</strong></p><p><strong>Feel free to leave a comment or reach out to me at</strong> <strong>urbashijrall3003@gmail.com</strong>.</p><p><strong>Thanks for reading — see you in Day 6! 👩‍💻</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af870a10d9a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revisiting My Software Engineering Journey]]></title>
            <link>https://medium.com/@urbashijrall30/revisiting-my-software-engineering-journey-9fed8bb6d8fe?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fed8bb6d8fe</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Sun, 26 Jul 2026 09:59:19 GMT</pubDate>
            <atom:updated>2026-07-26T09:59:19.370Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Day 4: Why JavaScript Exists — And Why It’s More Than Just “Making Websites Interactive”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h9JF3xLZnupQz_BfXBbJ1Q.png" /></figure><p><em>Yesterday, I revisited </em><strong><em>HTML</em></strong><em> and </em><strong><em>CSS</em></strong><em> and finally understood their individual responsibilities.</em></p><p><em>That naturally led me to another question.</em></p><p>If HTML creates the structure and CSS controls the presentation, <strong>why do we need JavaScript?</strong></p><p>Like many beginners, I used to think JavaScript was simply used to make websites interactive.</p><p><strong><em>Buttons click.<br>Menus open.<br>Animations happen.</em></strong></p><p>That explanation isn’t wrong — but it’s incomplete.</p><p>The more I revisited the fundamentals, the more I realised that JavaScript isn’t just about interactions.</p><p>It’s about <strong>adding behaviour and decision-making to a webpage.</strong></p><h3>HTML Knows What Exists</h3><p>HTML tells the browser what elements exist on the page.</p><p>For example,</p><pre>&lt;h1&gt;Welcome&lt;/h1&gt;<br><br>&lt;input type=&quot;email&quot;&gt;<br><br>&lt;button&gt;Login&lt;/button&gt;</pre><p>The browser understands that there’s <strong>a heading, an input field, and a button.</strong></p><p>But HTML cannot answer questions like:</p><ul><li>What happens when the button is clicked?</li><li>Is the email valid?</li><li>Should the user be redirected after logging in?</li><li>Should an error message appear?</li></ul><p><strong>HTML</strong> simply describes the <strong>structure</strong>.</p><h3>CSS Knows How It Looks</h3><p>CSS controls presentation.</p><p>It decides:</p><ul><li><strong>Colors</strong></li><li><strong>Fonts</strong></li><li><strong>Layout</strong></li><li><strong>Animations</strong></li><li><strong>Responsive Design</strong></li></ul><p>But <strong>CSS</strong> also cannot make <strong>decisions</strong>.</p><p><em>It cannot validate a form or fetch data from an API.</em></p><h3>JavaScript Knows What Should Happen</h3><p>This was probably my biggest realisation today.</p><p>JavaScript gives a webpage the ability to <strong>think and respond</strong>.</p><p>For example,</p><pre>let age = 20;<br><br>if (age &gt;= 18) {<br>    console.log(&quot;Eligible to Vote&quot;);<br>}</pre><p>This isn’t about making a button interactive.</p><p>It’s about making a decision based on data.</p><p>JavaScript introduces concepts like:</p><ul><li><strong>Variables</strong></li><li><strong>Conditions</strong></li><li><strong>Functions</strong></li><li><strong>Loops</strong></li><li><strong>Objects</strong></li><li><strong>Events</strong></li></ul><p>These concepts allow applications to react differently depending on user input or application state.</p><h3>JavaScript Connects the User and the Application</h3><p>Another perspective that made everything click for me was this:</p><p><strong><em>A user interacts with the UI.</em></strong></p><p><strong><em>JavaScript receives that interaction.</em></strong></p><p><strong><em>It processes the logic.</em></strong></p><p><strong><em>Then it decides how the UI should change</em>.</strong></p><p>For example, during login:</p><ol><li><strong>User enters an email and password.</strong></li><li><strong>JavaScript validates the inputs.</strong></li><li><strong>It sends an API request.</strong></li><li><strong>It receives the server’s response.</strong></li><li><strong>It updates the UI by showing either an error or navigating the user to the dashboard.</strong></li></ol><p>Without JavaScript, the webpage would display information — but it couldn’t respond intelligently to user actions.</p><h3>Why Frontend Developers Spend So Much Time Learning JavaScript</h3><p>One thing I misunderstood earlier was thinking that frontend development was mostly about designing screens.</p><p>After revisiting the fundamentals, I realised that a large part of frontend development is actually writing application logic.</p><p>Questions like:</p><ul><li>Should this button be disabled?</li><li>Is the user logged in?</li><li>Should this component be visible?</li><li>Is the entered password strong enough?</li><li>What should happen if an API request fails?</li></ul><p>These aren’t styling problems.</p><p>They’re JavaScript problems.</p><p>The UI simply reflects the decisions made by the application’s logic.</p><h3>My Biggest Realisation</h3><p>I used to think learning JavaScript meant memorising syntax.</p><p>Today, I see it differently.</p><p>JavaScript isn’t just another programming language added to the browser.</p><p>It’s the language responsible for turning a static webpage into an application that can process data, make decisions, and respond to users.</p><p>That’s probably why every modern frontend framework — whether React, Angular, Vue, or Svelte — is fundamentally built around JavaScript.</p><p>Frameworks may simplify development, but the logic behind them is still JavaScript.</p><h3>What’s Next?</h3><p>Now that I understand <em>why</em> JavaScript exists, it’s finally time to revisit the language itself.</p><p>I’ll begin with the fundamentals — variables, data types, operators, and conditional statements — not by memorizing syntax, but by understanding how JavaScript thinks and executes code.</p><p>I’m looking forward to strengthening the foundation before moving back into React.</p><blockquote><strong><em>“HTML defines the structure. CSS defines the presentation. JavaScript defines the behaviour and decision-making. Together, they transform a webpage into an application.”</em></strong></blockquote><p>If you’re also revisiting software engineering fundamentals, I’d love to have you along on this journey.</p><p>Feel free to share your thoughts or suggestions in the comments, or reach out to me at <strong>urbashijrall3003@gmail.com</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fed8bb6d8fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revisiting My Software Engineering Journey]]></title>
            <link>https://medium.com/@urbashijrall30/revisiting-my-software-engineering-journey-11a7e632f3ba?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/11a7e632f3ba</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 20:11:27 GMT</pubDate>
            <atom:updated>2026-07-24T20:11:27.364Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Day 3: Why Do We Still Need HTML &amp; CSS in the Age of React?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFG1HvJflc0AEZSnIfr_9g.png" /><figcaption>Figure 1: The three building blocks of every website — HTML provides the structure, CSS defines the presentation, and JavaScript adds interactivity. Modern frontend frameworks are built on top of these core technologies.</figcaption></figure><p>Yesterday, I understood how browsers and servers communicate using HTTP and HTTPS.</p><p>Today, I wanted to answer another question that had been sitting in my mind for a long time.</p><p><strong>If React, Angular, Vue, AI tools, and modern frameworks exist, why do we still need HTML and CSS?</strong></p><p>For a long time, I thought frameworks had somehow replaced them.</p><p>After revisiting the fundamentals, I realized something important.</p><p><strong>They haven’t replaced HTML and CSS — they’re built on top of them.</strong></p><p>That realisation completely changed how I looked at frontend development.</p><h3>HTML — The Structure of Every Webpage</h3><p>HTML (HyperText Markup Language) is the foundation of every webpage.</p><p>Its responsibility isn’t to make a website beautiful or interactive.</p><p>Its job is to define <strong>what each piece of content actually is.</strong></p><p>For example,</p><ul><li>&lt;h1&gt; → Main Heading</li><li>&lt;p&gt; → Paragraph</li><li>&lt;img&gt; → Image</li><li>&lt;a&gt; → Hyperlink</li><li>&lt;button&gt; → Button</li><li>&lt;input&gt; → Input field</li><li>&lt;form&gt; → Form</li><li>&lt;table&gt; → Table</li><li>&lt;ul&gt; &amp; &lt;ol&gt; → Lists</li></ul><p>Without HTML, the browser would simply have text with no understanding of what that text represents.</p><h3>HTML Is More Than Just Tags</h3><p>One thing I had underestimated was <strong>Semantic HTML</strong>.</p><p>Earlier, I used to think that using &lt;div&gt; everywhere was enough.</p><p>But HTML provides meaningful elements like:</p><ul><li>&lt;header&gt;</li><li>&lt;nav&gt;</li><li>&lt;main&gt;</li><li>&lt;section&gt;</li><li>&lt;article&gt;</li><li>&lt;aside&gt;</li><li>&lt;footer&gt;</li></ul><p>These tags don’t just make the code easier to read.</p><p>They also improve:</p><ul><li><strong>Accessibility</strong></li><li><strong>SEO</strong></li><li><strong>Code maintainability</strong></li></ul><p>The browser, search engines, and screen readers all understand the page much better when semantic elements are used correctly.</p><h3>Forms — The Way Users Talk to Websites</h3><p>Almost every website needs user input.</p><p>Whether it’s:</p><ul><li>Login</li><li>Signup</li><li>Search</li><li>Contact Us</li><li>Payment</li></ul><p><strong>Everything starts with HTML forms.</strong></p><p>Some common elements include:</p><ul><li>&lt;input&gt;</li><li>&lt;textarea&gt;</li><li>&lt;select&gt;</li><li>&lt;label&gt;</li><li>&lt;button&gt;</li><li>&lt;form&gt;</li></ul><p>I also revisited why labels and input types matter — not just for usability but also for accessibility.</p><h3>CSS — Giving Life to HTML</h3><p>If HTML creates the structure, CSS (Cascading Style Sheets) decides how everything looks.</p><p>CSS controls almost everything we see on a webpage.</p><p>For example,</p><ul><li>Colors</li><li>Fonts</li><li>Backgrounds</li><li>Borders</li><li>Shadows</li><li>Spacing</li><li>Width &amp; Height</li><li>Animations</li><li>Responsive layouts</li></ul><p>Without CSS, every website would look like a plain document.</p><h3>Some CSS Concepts That Finally Made Sense</h3><p>Instead of memorizing properties, I started understanding <strong>why they exist.</strong></p><p>Some of the concepts I revisited were:</p><ul><li>Selectors</li><li>Classes &amp; IDs</li><li>Box Model</li><li>Margin</li><li>Padding</li><li>Border</li><li>Display</li><li>Position</li><li>Flexbox</li><li>Grid</li><li>Media Queries</li></ul><p>One concept that I found especially interesting was the <strong>Box Model</strong>.</p><p>Every HTML element is actually treated as a box consisting of:</p><ul><li><strong>Content</strong></li><li><strong>Padding</strong></li><li><strong>Border</strong></li><li><strong>Margin</strong></li></ul><p>Understanding this explains why spacing behaves the way it does.</p><h3>Responsive Design</h3><p>One thing that’s easy to forget is that users don’t all have the same screen size.</p><p>A website that looks perfect on a laptop may break completely on a mobile device.</p><p>That’s where responsive design comes in.</p><p>Using media queries, flexible layouts, and relative units helps websites adapt to different screen sizes instead of creating separate websites for each device.</p><h3>My Biggest Realisation</h3><p>The biggest lesson today wasn’t about remembering HTML tags or CSS properties.</p><p>It was understanding <strong>their responsibilities.</strong></p><ul><li><strong>HTML provides the structure.</strong></li><li><strong>CSS handles presentation.</strong></li><li><strong>JavaScript handles behavior.</strong></li></ul><p>React doesn’t replace HTML.</p><p>JSX eventually becomes HTML.</p><p>Similarly, React doesn’t replace CSS — it simply provides different ways to organise and write styles.</p><p>The fundamentals remain exactly the same.</p><p>And I think that’s something many developers (including me) sometimes overlook while learning frameworks.</p><h3>What’s Next?</h3><p>Now that I’ve revisited the building blocks of every webpage, it’s finally time to learn the language that makes websites interactive.</p><p>In the next article, I’ll begin revisiting JavaScript from scratch — not by memorizing syntax, but by understanding why every concept exists and how to think like a programmer.</p><p>I’m excited to see where this journey takes me.</p><p>If you’re also revisiting the fundamentals or strengthening your software engineering knowledge, I’d love to have you along on this journey.</p><p>“The more I revisit the fundamentals, the more I realise that frameworks change, but the building blocks of the web remain the same.”</p><p>If you have any suggestions or feedback, feel free to reach out at <strong>urbashijrall3003@gmail.com</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11a7e632f3ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revisiting My Software Engineering Journey]]></title>
            <link>https://medium.com/@urbashijrall30/revisiting-my-software-engineering-journey-2ddd6d990400?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ddd6d990400</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[frontend-engineering]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Wed, 01 Jul 2026 17:44:30 GMT</pubDate>
            <atom:updated>2026-07-01T17:45:10.801Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Day 2: Understanding HTTP, HTTPS &amp; How Browsers Actually Talk to Servers</strong></p><p>Yesterday, I learned how a browser finds the correct server. Today, I wanted to understand what happens next.</p><p>In my previous article, I explored how a browser uses DNS to find the IP address of a website.</p><p>That naturally led me to another question:</p><blockquote><strong><em>Once the browser knows where the server is, how do they actually communicate?</em></strong></blockquote><p>The answer is <strong>HTTP</strong>.</p><p>At first, HTTP felt like just another acronym that developers use every day. But once I stopped trying to memorize it and started asking <em>why</em> it exists, everything became much clearer.</p><h3>🌐 What is HTTP?</h3><p>HTTP (HyperText Transfer Protocol) is simply a communication protocol.</p><p>In simple words, it’s a common language that both the client and the server agree to use while talking to each other.</p><p>Without HTTP, every browser could communicate differently, and every server would have to understand countless formats.</p><p>Instead of chaos, HTTP provides one standard way to communicate.</p><h3>🔒 Then Why Do We Need HTTPS?</h3><p>This raised another interesting question.</p><p>If I’m sending my login credentials, banking details, or personal information over the internet, shouldn’t that communication be protected?</p><p>That’s exactly why HTTPS exists.</p><p>HTTPS is simply the secure version of HTTP.</p><p>It encrypts the communication between the client and the server, making it significantly harder for anyone intercepting the traffic to understand the transmitted data.</p><p>In today’s web, HTTPS isn’t just recommended — it’s expected.</p><h3>📨 Requests and Responses Finally Made Sense</h3><p>One analogy completely changed how I looked at this.</p><p>Imagine walking into a restaurant.</p><p>You place an order.</p><p>That’s your <strong>request</strong>.</p><p>The kitchen prepares your food.</p><p>That’s the server processing your request.</p><p>The waiter brings your food back.</p><p>That’s the <strong>response</strong>.</p><p>Every website works in a very similar way.</p><p>The client sends a request.</p><p>The server processes it.</p><p>The server sends back a response.</p><p>The client receives that response and decides how to display it.</p><h3>💡 My Biggest Realization</h3><p>This was probably the most valuable lesson for me today.</p><p><strong>The server doesn’t update the user interface.</strong></p><p>It simply returns data.</p><p>It’s the frontend application — whether it’s built with React, Angular, Vue, or a mobile framework — that decides what should happen next.</p><p>For example, after a successful login, the server doesn’t say:</p><blockquote><em>“Open the Home Screen.”</em></blockquote><p>It simply responds with something like:</p><blockquote><em>“Login Successful.”</em></blockquote><p>The frontend reads that response and decides to navigate the user to the home page.</p><p>That small distinction completely changed the way I think about frontend and backend responsibilities.</p><h3>Understanding HTTP Methods</h3><p>Another concept that became much easier after thinking about intentions instead of definitions was HTTP methods.</p><p>Every request has a purpose.</p><p>Sometimes we want to read data.</p><p>Sometimes we want to create something new.</p><p>Sometimes we want to update existing information.</p><p>Sometimes we want to delete it.</p><p>That’s why HTTP provides different methods.</p><ul><li><strong>GET</strong> → Retrieve existing data.</li><li><strong>POST</strong> → Create new data.</li><li><strong>PUT</strong> → Update existing data.</li><li><strong>DELETE</strong> → Remove existing data.</li></ul><p>Instead of memorising them, I started thinking about <strong>intent</strong>.</p><p>For example, in a task management application:</p><ul><li>Viewing all tasks → GET</li><li>Adding a new task → POST</li><li>Editing a task → PUT</li><li>Removing a task → DELETE</li></ul><p>Thinking in terms of intention made these methods much easier to remember.</p><h3>💬 Community Insight</h3><p>One of the readers of my previous article shared an interesting point that I hadn’t connected before.</p><p>DNS lookups don’t necessarily happen every single time we visit a website.</p><p>The browser, operating system, router, and DNS resolver can cache DNS information for a period of time. That’s one of the reasons websites often load much faster on subsequent visits.</p><p>I really enjoyed this insight because it connected two concepts I’d previously thought of separately: <strong>DNS resolution</strong> and <strong>caching</strong>.</p><p>That’s exactly why I wanted to document this journey publicly — learning doesn’t stop when the article is published. Sometimes the discussion afterwards becomes just as valuable.</p><h3>🚀 What’s Next?</h3><p>The next step in my journey is moving into the technologies I work with every day.</p><p>I’ll start by revisiting one of the most fundamental questions in frontend development:</p><p><strong>Why does HTML still exist — even in the world of React, Angular, AI, and modern frameworks?</strong></p><p>I’m looking forward to connecting the fundamentals with the technologies we use every day.</p><p>If you’re also revisiting the basics or strengthening your software engineering fundamentals, I’d love to have you along on this journey.</p><p>If you have any questions, suggestions, or feedback, feel free to email me at <a href="/service/mailto:urbashijrall3003@gmail.com"><strong>urbashijrall3003@gmail.com</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ddd6d990400" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Restarting My Software Engineering Journey]]></title>
            <link>https://medium.com/@urbashijrall30/restarting-my-software-engineering-journey-c8d61f5a9276?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8d61f5a9276</guid>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Tue, 30 Jun 2026 16:35:38 GMT</pubDate>
            <atom:updated>2026-06-30T16:35:38.626Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Day 1: How the Web Actually Works — From Browser to Server</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/0*3juWL35Rg4gLilhy" /></figure><blockquote><em>I’m revisiting web development from scratch to understand the “why” behind every concept. Today’s lesson explores browsers, DNS, IP addresses, servers, caching, and how a website reaches your screen.</em></blockquote><p>For the past few years, I’ve been working with React and building web applications. But recently, I realised something important.</p><p>I knew <strong>how</strong> to build applications, but I didn’t always understand <strong>why</strong> they worked the way they did.</p><p>Instead of jumping straight into another <strong>React</strong> course, I’ve decided to <strong>restart</strong> my <strong>software engineering</strong> journey from the very beginning. My goal isn’t to memorise syntax — it’s to understand the fundamentals that every modern web application is built upon.</p><blockquote><strong>They say it’s better late than never. I believe it’s never too late to go back, strengthen your fundamentals, and become a better engineer. That’s exactly what I’m setting out to do.</strong></blockquote><p><strong>So, This is Day 1 of that journey.</strong></p><p>I started with one simple question:</p><blockquote><strong><em>What actually happens when we type </em></strong><strong><em>google.com into a browser and press Enter?</em></strong></blockquote><p>That one question opened the door to understanding how the web really works.</p><h3>🌐 What Is a Browser?</h3><p>Most of us use browsers every day, but we rarely think about what they actually do.</p><p>A browser is much more than an application used to open websites.</p><p>It:</p><ul><li><em>Sends requests to servers.</em></li><li><em>Receives responses.</em></li><li><em>Reads HTML.</em></li><li><em>Applies CSS.</em></li><li><em>Executes JavaScript.</em></li><li><em>Stores cache.</em></li><li><em>Manages cookies.</em></li><li><em>Displays everything as a webpage that we can interact with.</em></li></ul><p>Some common browsers are <strong>Google Chrome, Microsoft Edge, Safari, and Firefox.</strong></p><p>You can think of the browser as a translator between <strong>humans</strong> and <strong>computers</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cyk6MWJNs6Rd-GKI" /></figure><h3>💻 What Is a Website?</h3><p>A website is simply a collection of files stored on another computer <strong>somewhere</strong> on the <strong>internet</strong>.</p><p>These files can include:</p><ul><li><em>HTML</em></li><li><em>CSS</em></li><li><em>JavaScript</em></li><li><em>Images</em></li><li><em>Videos</em></li><li><em>Fonts</em></li></ul><p>Whenever we open a website, we’re actually requesting those files from another computer.</p><h3>🤝 Client vs Server</h3><p>This was one of my favourite concepts.</p><p>The <strong>client</strong> is the application that sends the request.</p><p>Examples:</p><ul><li>Chrome Browser</li><li>Safari</li><li>Instagram App</li></ul><p>The <strong>server</strong> is another computer whose job is to store data and respond to requests from clients.</p><p>A simple way to remember it is:</p><p><strong>User → Client (Browser/App) → Server</strong></p><h3>📍 What Is an IP Address?</h3><p>Every device connected to the internet has a unique numerical address called an <strong>IP Address</strong>.</p><p>Computers communicate using <strong>IP addresses — </strong>not<strong> names.</strong></p><p>For example, while we remember a website as:</p><p><strong>google.com</strong></p><p>computers actually communicate using something like:</p><p><strong>142.xxx.xxx.xxx</strong></p><p>Imagine remembering numbers like these for every website you visit. It would be nearly impossible.</p><p>That’s exactly why DNS exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*1RQbglfHBGwAyafd" /></figure><h3>🌍 What Is DNS?</h3><p>DNS stands for <strong>Domain Name System</strong>.</p><p>You can think of it as the internet’s phonebook.</p><p>Its job is to <strong>translate</strong> a <strong>human-friendly </strong>domain name like:</p><p><strong>google.com</strong></p><p>into the corresponding IP address that computers understand.</p><p>One thing I found interesting is that DNS <strong>does not store website content</strong>.</p><p>It only stores the mapping between:</p><p><strong>Domain Name → IP Address</strong></p><p>The actual website content still lives on the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*rsLEb4rWHwX1hsIk" /></figure><h3>🔄 What Happens When You Open a Website?</h3><p>Here’s the complete flow that I learned today:</p><p><strong>You</strong><br>⬇️<br><strong>Browser</strong><br>⬇️<br><strong>DNS</strong><br>⬇️<br><strong>IP Address</strong><br>⬇️<br><strong>Server</strong><br>⬇️<br><strong>HTML</strong><br>⬇️<br><strong>Browser</strong><br>⬇️<br><strong>Website</strong></p><p>Breaking it into small steps made the entire process much easier to understand.</p><h3>📦 Browser Cache</h3><p>One question that really made me think was:</p><p><strong>Why does a website sometimes still open even after turning off Wi-Fi?</strong></p><p>The answer is browser caching.</p><p>Browsers can store previously downloaded resources like HTML (depending on caching rules), CSS, JavaScript, images, and fonts. If those cached resources are still valid, the browser can reuse them instead of downloading them again.</p><p>However, dynamic information like new messages, notifications, or the latest posts usually requires a fresh request to the server.</p><h3>💡 My Biggest Takeaway</h3><p>The biggest realisation I had today was this:</p><p>The browser doesn’t magically know everything.</p><p>When we type a website address, it doesn’t already know where that website lives.</p><p>It first asks the DNS system for the IP address.</p><p>Only after getting the IP address can it communicate with the correct server and request the website.</p><p>Understanding this flow changed the way I look at web development.</p><h3>🚀 What’s Next?</h3><p>In Day 2, I’ll be learning:</p><ul><li>What is HTTP?</li><li>What is HTTPS?</li><li>What are Requests and Responses?</li><li>Why do APIs exist?</li><li>How browsers actually communicate with servers.</li></ul><p>I’m documenting this journey not because I’m an expert, but because I believe the best way to truly learn something is to understand it well enough to explain it in simple words.</p><p>If you’re also revisiting the fundamentals or just starting your web development journey, I’d love for you to learn alongside me.</p><p>If you have any questions, suggestions, or feedback, feel free to email me at <strong>urbashijrall3003@gmail.com</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8d61f5a9276" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Optimised My React App Using Lazy Loading & Suspense — Here’s What Changed]]></title>
            <link>https://medium.com/@urbashijrall30/i-optimised-my-react-app-using-lazy-loading-suspense-heres-what-changed-399304857307?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/399304857307</guid>
            <category><![CDATA[react-suspense]]></category>
            <category><![CDATA[code-splitting]]></category>
            <category><![CDATA[react-perfromance]]></category>
            <category><![CDATA[react-lazy-loading]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 20:02:49 GMT</pubDate>
            <atom:updated>2026-03-28T20:02:49.100Z</atom:updated>
            <content:encoded><![CDATA[<p>I used to load everything in my React app at once.</p><p>Every component, every page — all bundled together. It worked fine at the beginning, but as the app grew, performance started to drop. The initial load became slower, and users had to wait longer just to see the UI.</p><p>That’s when I realised — why load everything upfront when the user might not even need most of it?</p><p>That’s when I discovered lazy loading and Suspense in React.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*43JgLXNScoYgxt_rCKBKBg.png" /></figure><h4>What is Lazy Loading?</h4><p>Lazy loading means loading components only when they are needed instead of loading everything at once.</p><p>Instead of sending the entire app to the browser upfront, React loads parts of it on demand — improving performance and reducing initial load time.</p><h4>What is Suspense?</h4><p>Suspense is a React component that lets you show a fallback UI (like a loader or message) while a lazy-loaded component is being loaded.</p><p>👉 Lazy loading decides <strong>when to load</strong><br>👉 Suspense decides <strong>what to show while loading</strong></p><h4>Basic Example</h4><pre>import React, { Suspense } from &quot;react&quot;;</pre><pre>const Form = React.lazy(() =&gt; import(&quot;./Form&quot;));</pre><pre>&lt;Suspense fallback={&lt;div&gt;Loading...&lt;/div&gt;}&gt;<br>  &lt;Form /&gt;<br>&lt;/Suspense&gt;</pre><h4>Line-by-Line Explanation</h4><pre>const Form = React.lazy(() =&gt; import(&quot;./Form&quot;));</pre><ul><li>React.lazy → enables lazy loading</li><li>import() → dynamically loads the component</li><li>Form → loads only when needed</li></ul><pre>&lt;Suspense fallback={&lt;div&gt;Loading...&lt;/div&gt;}&gt;</pre><ul><li>Suspense → wrapper component</li><li>fallback → UI shown while loading</li></ul><pre>&lt;Form /&gt;</pre><ul><li>When React tries to render this → loading starts</li><li>Until it loads → fallback is shown</li></ul><h4>When Does a Lazy Component Actually Load?</h4><p>A lazy-loaded component is loaded <strong>only when it is rendered in the UI</strong>.</p><p>This usually happens based on a condition.</p><pre>import React, { useState, Suspense } from &quot;react&quot;;</pre><pre>const Form = React.lazy(() =&gt; import(&quot;./Form&quot;));</pre><pre>function App() {<br>  const [showForm, setShowForm] = useState(false);</pre><pre>  return (<br>    &lt;div&gt;<br>      &lt;button onClick={() =&gt; setShowForm(true)}&gt;<br>        Load Form<br>      &lt;/button&gt;</pre><pre>      &lt;Suspense fallback={&lt;div&gt;Loading...&lt;/div&gt;}&gt;<br>        {showForm &amp;&amp; &lt;Form /&gt;}<br>      &lt;/Suspense&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><h4>What’s Happening Here?</h4><ol><li>Initially → showForm = false<br>👉 Form is not rendered → not loaded</li><li>User clicks button<br>👉 showForm = true</li><li>React renders &lt;Form /&gt;<br>👉 Lazy loading starts</li><li>Suspense shows fallback<br>👉 “Loading…”</li><li>Component loads → UI updates</li></ol><h4>Demo: Simulating Delay (For Understanding)</h4><pre>const Form = React.lazy(() =&gt;<br>  new Promise((resolve) =&gt; {<br>    setTimeout(() =&gt; resolve(import(&quot;./Form&quot;)), 2000);<br>  })<br>);</pre><p>👉 This adds a delay so you can clearly see the loading state.</p><h4>Example Form Component</h4><pre>import React from &quot;react&quot;;</pre><pre>function Form() {<br>  return (<br>    &lt;div&gt;<br>      &lt;h2&gt;This is the Form Component&lt;/h2&gt;<br>      &lt;input placeholder=&quot;Enter something...&quot; /&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><pre>export default Form;</pre><h4>Important Note</h4><p>In real applications:</p><ul><li>You don’t manually use setTimeout</li><li>The delay depends on network and bundle size</li><li>React.lazy already handles async loading</li></ul><h3>Without vs With Lazy Loading</h3><h4>❌ Without Lazy Loading</h4><pre>import Form from &quot;./Form&quot;;</pre><p>👉 Loads immediately with the app</p><h4>✅ With Lazy Loading</h4><pre>const Form = React.lazy(() =&gt; import(&quot;./Form&quot;));</pre><p>👉 Loads only when required</p><h4>Why It Helps</h4><ul><li>Faster initial load</li><li>Smaller bundle size</li><li>Better user experience</li><li>Load only what’s needed</li></ul><h4>When to Use It</h4><ul><li>Large components</li><li>Pages/routes</li><li>Heavy UI sections</li></ul><h4>Common Mistakes</h4><ul><li>Forgetting to wrap with Suspense</li><li>Using lazy without dynamic import</li><li>Thinking setTimeout is required</li></ul><h4>My Take</h4><p>Lazy loading made a noticeable difference in how my app performs.</p><p>Instead of loading everything at once, I now load only what’s needed — which feels more efficient and scalable.</p><h4>Final Thoughts</h4><p>If your React app is growing and starting to feel slow, lazy loading is definitely worth trying.</p><h4>What do you think?</h4><p>Are you using lazy loading in your projects, or still loading everything upfront?</p><p>Let me know 👇</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=399304857307" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Traditional CSS to CSS-in-JS: Why I Switched to Styled-Components in React???]]></title>
            <link>https://medium.com/@urbashijrall30/from-traditional-css-to-css-in-js-why-i-switched-to-styled-components-in-react-ab6ef62a1024?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab6ef62a1024</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[css-in-js]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[webdev]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 19:20:49 GMT</pubDate>
            <atom:updated>2026-03-28T19:42:00.561Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1jz7at2AnkHVegtd-53hwg.png" /><figcaption>Why I Switched to Styled-Components in React???</figcaption></figure><p>I used to think messy CSS in React was normal.</p><p>Separate files, too many class names, and constant style conflicts — fixing one thing often broke another. As my components grew, handling styles and dynamic UI started feeling more complicated than it should.</p><p>Then I came across <strong>Styled-Components.</strong></p><p>At first, writing CSS inside JavaScript felt strange. But once I tried it, things became simpler — my styles lived with my components, and the chaos disappeared.</p><p>That’s when I realized — the problem wasn’t CSS… it was how I was using it.</p><h3>What is CSS-in-JS?</h3><p><strong>CSS-in-JS </strong>means writing your CSS inside JavaScript instead of separate files.</p><p>In React, everything is component-based. So instead of managing styles globally, this approach keeps styles close to the component — making code cleaner and easier to manage.</p><h3>What are Styled-Components?</h3><p><strong>Styled-Components </strong>is a React library that uses <strong>CSS-in-JS.</strong></p><p>It allows you to create styled elements as React components instead of using class names.</p><h3>A Simple Problem</h3><p>Let’s say we want a button that:</p><ul><li>turns <strong>green</strong> when it’s primary</li><li>stays <strong>gray</strong> otherwise</li></ul><h3>❌ Traditional CSS Approach</h3><pre>.button {<br>  background: gray;<br>  color: white;<br>}</pre><pre>.button.primary {<br>  background: green;<br>}</pre><pre>const isPrimary = true;</pre><pre>&lt;button className={isPrimary ? &quot;button primary&quot; : &quot;button&quot;}&gt;<br>  Click Me<br>&lt;/button&gt;</pre><p>👉 Here:</p><ul><li>We use class names</li><li>We manually switch classes</li><li>Styles and logic are separate</li></ul><h3>✅ Styled-Components Approach</h3><pre>const Button = styled.button`<br>  background: ${(props) =&gt; (props.primary ? &quot;green&quot; : &quot;gray&quot;)};<br>  color: white;<br>`;</pre><pre>&lt;Button primary={true}&gt;Click Me&lt;/Button&gt;</pre><h3>Line-by-Line Explanation</h3><pre>const Button = styled.button`</pre><p>👉 Creates a new React component based on &lt;button&gt;</p><pre>background: ${(props) =&gt; (props.primary ? &quot;green&quot; : &quot;gray&quot;)};</pre><p>👉 Uses JavaScript inside CSS</p><ul><li>props.primary = true → green</li><li>false → gray</li></ul><pre>&lt;Button primary={true}&gt;Click Me&lt;/Button&gt;</pre><p>👉 primary is <strong>NOT a class</strong><br>👉 It is a <strong>React prop</strong></p><h3>🔥 Key Difference</h3><ul><li>Traditional CSS → styles depend on <strong>class names</strong></li><li><strong>Styled-Components</strong> → styles depend on <strong>props (JavaScript)</strong></li></ul><p>You’re not switching classes anymore — <br>you’re passing data, and the component decides its style.</p><h3>What’s Happening Behind the Scenes?</h3><p>Styled-Components still creates a normal &lt;button&gt; in the browser.</p><p>But it:</p><ul><li>generates a unique class name</li><li>applies your CSS automatically</li><li>avoids conflicts</li></ul><p>You don’t manage classes — the library does it.</p><h3>Why It Helps in React</h3><ul><li>Styles stay with the component</li><li>No class name conflicts</li><li>Easy dynamic styling</li><li>Cleaner and more readable code</li></ul><p>Everything stays in one place, which fits React’s component-based approach.</p><h3>What About Maintenance?</h3><p>If you need to update styles later, you can:</p><p><strong>1. Update directly</strong></p><pre>const Button = styled.button`<br>  background: green;<br>  border-radius: 8px;<br>`;</pre><p><strong>2. Extend existing styles</strong></p><pre>const PrimaryButton = styled(Button)`<br>  background: green;<br>`;</pre><p><strong>3. Use props for flexibility</strong></p><pre>const Button = styled.button`<br>  background: ${(props) =&gt; (props.primary ? &quot;green&quot; : &quot;gray&quot;)};<br>`;</pre><p>👉 Instead of managing multiple classes, you update, extend, or control styles using props.</p><h3>My Take</h3><p>Traditional CSS is not wrong — it works well for simple projects.</p><p>But for larger, component-driven applications, Styled-Components make styling easier to manage.</p><p>For me, it’s not about replacing CSS — it’s about choosing a better approach as the project grows.</p><h3>Final Thoughts</h3><p>Styled-Components changed how I approach styling in React.</p><p>If you’ve ever struggled with messy CSS, this is definitely worth trying.</p><h3>What do you think?</h3><p>Do you prefer traditional CSS or Styled-Components?</p><p>I’d love to hear your thoughts 👇</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab6ef62a1024" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Execution Context in Javascript??]]></title>
            <link>https://medium.com/@urbashijrall30/what-is-execution-context-in-javascript-12ed1e087a0a?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/12ed1e087a0a</guid>
            <category><![CDATA[javascript-basics]]></category>
            <category><![CDATA[javscript]]></category>
            <category><![CDATA[execution-context]]></category>
            <category><![CDATA[execution-phase]]></category>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 19:46:03 GMT</pubDate>
            <atom:updated>2026-02-16T19:46:03.112Z</atom:updated>
            <content:encoded><![CDATA[<p>As we know, JavaScript is a <strong>single-threaded</strong> and <strong>synchronous</strong> programming language. This means JavaScript executes code <strong>line by line</strong>, completing one task at a time. The next statement waits until the current operation finishes execution.</p><p>In simple words, JavaScript does not move to the next statement until the current one is completed.</p><p>Here in the below example, the lines will executes one by one and their output would be like :</p><pre>console.log(&quot;Start&quot;);<br><br>console.log(&quot;Processing...&quot;);<br><br>console.log(&quot;End&quot;);<br><br>Output : Start<br>         Processing...<br>         End</pre><p>Here, each statement executes sequentially. The second console.log runs only after the first one finishes execution, and the third runs after the second completes.</p><p><strong>Execution context : </strong>An <strong>Execution Context</strong> is the environment where JavaScript code is evaluated and executed. It contains all the necessary information required to run the code, such as variables, functions, and the scope chain.</p><p>Whenever JavaScript runs a program, it creates an execution context to manage the execution of that code.</p><p><strong>Phases of Execution Context </strong>:</p><ol><li><strong>Memory Component</strong> (Creation Phase / Variable Environment) : During this phase:</li></ol><ul><li>Memory is allocated for variables and functions.</li><li>Variables are stored with an initial value of undefined.</li><li>Function declarations are stored completely in memory.</li></ul><pre>var a = 10;<br><br>function greet() {<br>  console.log(&quot;Hello&quot;);<br>}<br><br>Memory allocation happens like this:<br><br>a → undefined<br>greet → function definition</pre><h4>2. Code Component (Execution Phase / Thread of Execution)</h4><p>In this phase:</p><ul><li>JavaScript executes code line by line.</li><li>Actual values are assigned to variables.</li><li>Functions are invoked when called.</li></ul><pre>After execution: <br>a → 10</pre><h3>Conclusion</h3><p>Execution Context is the fundamental concept that explains how JavaScript executes code internally. Whenever a JavaScript program runs, an execution context is created to manage variables, functions, and the flow of execution.</p><p>Each execution context goes through two important phases:</p><ul><li><strong>Creation Phase</strong>, where memory is allocated and variables are initialized with undefined while functions are stored completely.</li><li><strong>Execution Phase</strong>, where JavaScript executes code line by line and assigns actual values to variables while invoking functions.</li></ul><p>Understanding execution context helps developers clearly understand important JavaScript behaviors such as <strong>hoisting, scope management, and function execution</strong>. It also forms the foundation for more advanced concepts like the <strong>Call Stack, Event Loop, and asynchronous JavaScript</strong>.</p><p>In the next part, we can explore how multiple execution contexts are managed using the <strong>Call Stack</strong> and how JavaScript handles function calls internally.</p><p><strong>Thanks for reading!</strong> I hope this article helped you understand how Execution Context works in JavaScript and what happens behind the scenes during code execution.</p><p>For any questions, feedback, or suggestions, feel free to contact me at <strong>urbashijrall3003@gmail.com</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12ed1e087a0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use “print” Media Query in your CSS?]]></title>
            <link>https://medium.com/@urbashijrall30/how-to-use-print-media-query-in-your-css-ede3ac0afc1c?source=rss-987a0915330------2</link>
            <guid isPermaLink="false">https://medium.com/p/ede3ac0afc1c</guid>
            <dc:creator><![CDATA[Urbashi Jrall]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 14:07:46 GMT</pubDate>
            <atom:updated>2024-07-17T14:07:46.332Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Why do we use print Media Query in our CSS? What is the use of print Media Query? This is a very simple concept that we need to learn and most probably we skip this topic as we are unaware of that. So, here I am with all the answers you guys are wondering about. Before starting I would like you to know about a few front-end technologies that are relatable for print Media Query. You don’t need to learn all of them in deep but just have a look at the elements so you will aware of the few terms that I would probably use in this article.</em></p><p>Here I am suggesting you have a look at some of the topics from HTML, and CSS. One is Structuring language and another one is Styling Language, which is enough to know about this print Media Query. The latest version would be better for those languages as it will contain all the latest topics and updates.</p><p><strong>Q1. What is a “print” Media query?</strong></p><blockquote><em>Ans. “print” is a media query that is used to write in CSS when working with “CTRL+P”. What we want to show in the hardcopy or softcopy and how much amount of information we need to show when someone takes copy of that page. Usually we see that the webpage contains a lot of information and ads and so many extra amount of content over there but when we print that page we only get the useful information that we need without editing . That is all because in the style.css there is a media query written over there that will only execute when we print that page as it will not affect the content in the webpage.</em></blockquote><p>Syntax to write the print Media Query is very simple:</p><pre>/* Syntax*/@media print {<br> element_name{<br> element_css<br>     }<br>}/* Example*/@media print {<br>body{<br>  background: none;<br>  color:#000000; //black<br>    }h1,h2,h3,p{<br>  color: #800000; //maroon<br>    }img{<br>  display:none;<br>  }<br>}</pre><p>In the above example, whatever changes I have made in the media query will only execute when we hit CTRL+P from our keypad/board.</p><p>Also, there is a note if any CSS property is not working try using <em>!important.</em></p><p>For example:</p><pre>body {<br>    background-color: #000000;<br>}</pre><p><strong>//is not working then try</strong></p><pre>body {<br>    background-color: #000000 !important;<br>}</pre><p><strong>Q2. What does not include on the page while printing?</strong></p><p><em>Ans. When downloading the web pages users actually don’t need unnecessary information so they use to skip</em></p><ul><li>UI elements</li><li>Header/footer</li><li>Sidebar content</li><li>Forms and CTAs</li><li><em>Et cetera</em></li></ul><p>simply hide these elements by using display: none property.</p><pre>@media print {<br>    header, footer, aside, form, … {<br>        display: none;<br>    }<br>}</pre><p>To redefine our own margins, which is reasonably easy to do. Just remember to use cm instead of px! in the case of print and also can use “in” as inch.</p><pre>@media print {<br>  header, footer, aside, form, … {<br>    display: none;<br>  }<br>@page {<br>  margin: 2cm;<br>}</pre><p>As this example is showing a new word<em> “page”. </em>Always remember that if we need to adjust the margins we would not directly use the margin property but use @page as the parent. As you can see from the code example above, margins are defined using the @page at-rule, <em>not</em> by adding margins to the &lt;body&gt; element, since the &lt;body&gt; only exists <em>once</em> and spans the height of <em>all the pages collectively</em>. With this declarative we can even define separate margins for first, last, left and right pages (in the event that said exportable spans more than a singular page), for example:</p><pre>@page:first {<br>    margin: 0cm;<br>}<br>@page:last {<br>    margin: 5cm;<br>}<br>@page:left {<br>    margin: 2cm 1.5cm 2cm 2cm;<br>}<br>@page:right {<br>    margin: 2cm 2cm 2cm 1.5cm;<br>}</pre><p>So talking about the links in the pdfs, they are still clickable when we download the pdf in our devices and we try to open it. So if we want links on our page then we would write this</p><pre>@media print {<br>  a:after {<br>    content: &quot;(&quot;attr(href)&quot;)&quot;;<br>  }<br>}</pre><p>What this code actually does is takes the value of the href attribute and displays it in brackets after the link, like this:</p><p>………………..go to google(<a href="https://www.google.com/search?q=google&amp;rlz=1C1GCEA_enIN965IN965&amp;oq=google&amp;aqs=chrome..69i57j46i131i199i433i465i512j0i131i433i512j0i433i512j0i131i433i512j69i60l3.1141j0j9&amp;sourceid=chrome&amp;ie=UTF-8">https://www.google.com/</a>)</p><p>Thanks,</p><p>URBASHI JRALL</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ede3ac0afc1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>