<?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 Kurumi Sam on Medium]]></title>
        <description><![CDATA[Stories by Kurumi Sam on Medium]]></description>
        <link>https://medium.com/@sameekshadalvi7?source=rss-657d2dab4b4d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OMhVJjyOi11DgO8T64mruA.png</url>
            <title>Stories by Kurumi Sam on Medium</title>
            <link>https://medium.com/@sameekshadalvi7?source=rss-657d2dab4b4d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:45:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sameekshadalvi7/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[My Journey from Upskilling to My First Code Contribution to Mozilla Firefox]]></title>
            <link>https://medium.com/@sameekshadalvi7/my-journey-from-upskilling-to-my-first-code-contribution-to-mozilla-firefox-0a3736488696?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a3736488696</guid>
            <category><![CDATA[mozilla-firefox]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[outreachy]]></category>
            <category><![CDATA[open-source-contribution]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 17:44:01 GMT</pubDate>
            <atom:updated>2026-04-15T17:44:01.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvvhX6xBcGxerGAIXV33HA.png" /></figure><p>Before I start, I want to be honest this blog is not a shortcut to your first contribution. You probably won’t get instant results and you might already know many of the things I’ll talk about.</p><p>This isn’t a step by step guide or some hidden trick. It’s more about mindset and about actually taking action on things you already know but might be overthinking.</p><p>I just hope it encourages you to try, even if you feel unsure.</p><h3>Getting Started</h3><p>Before this I did have some experience working with Java, a bit of jQuery, and even older version control systems like SVN. But I always felt like I wasn’t really exposed to how modern development actually works.</p><p>I had heard that modern global projects and many open source projects use tools like Git, GitHub, and the Linux CLI. So I decided to upskill, to learn the tools and workflows used in modern global projects and open up better opportunities.</p><p>I tried learning them through random tutorials but honestly nothing really clicked. It all felt disconnected.</p><p>Then one day while watching a video, I came across <a href="https://fullstackopen.com/en/">Full Stack Open</a>. It had everything I was looking for a modern tech stack and real world concepts but it also felt overwhelming.</p><p>So I looked for something more beginner friendly and that’s when I found <a href="https://www.theodinproject.com/">The Odin Project</a>. That genuinely changed things for me.</p><p>For the first time, things started to feel structured. I wasn’t just watching tutorials anymore. I was building things, breaking them, fixing them, and actually learning.</p><p>I started with The Odin Project and slowly my confidence improved. After a while I came back to Full Stack Open and this time it didn’t feel as intimidating. Now I’m learning from both and honestly I’ve made more progress in the last couple of months than I had in a long time.</p><p>What really amazed me was these are <strong>gold standard curriculums and they are open source and free</strong>. That alone gave me a sense of purpose, contributing to something open isn’t just about ticking off a checklist, it’s about <strong>building skills</strong> that might actually help someone else. And in return you get to <strong>practice, learn from a global open source community</strong> and even build credibility all without going through an interview.</p><h3>My First Documentation Contribution</h3><p>While going through the Intermediate Git lessons in The Odin Project, I came across a “good first issue” in the curriculum itself and decided to give it a try.</p><p>The change itself wasn’t difficult it was more about improving content than writing actual code. But the process was completely new.</p><p>For the first time, I was forking a repository, creating a branch, making changes, raising a pull request, and even fixing lint errors. I made mistakes, and things were definitely not perfect.</p><p>What I thought would be a quick change turned into a full learning experience of how Git and GitHub workflows actually work in real projects.</p><p>That small contribution gave me confidence. I’m really grateful to the maintainer for giving me the opportunity to contribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_MbiVA4xK_bBGRZg_kVcOg.png" /></figure><h3>How I Ended Up Contributing to Firefox</h3><p>I was already aware of programs like Linux Foundation, GSoC and Outreachy but they always felt out of reach. I didn’t feel confident enough to even try.</p><p>After my first small contribution I kept contributing more to The Odin Project curriculum. This slowly helped me build confidence. Around the same time I had also started learning React and Node.js from Full Stack Open in parallel.</p><p>Because of this, I finally felt like maybe I could give it a try.</p><p>So I decided to apply for Outreachy. I didn’t have many expectations but I still wanted to take a chance. I wasn’t sure if my application would get accepted or if there would even be projects that matched my skills.</p><p>When my initial application got approved, I honestly couldn’t believe it. I was really happy to get this opportunity. That’s when I got introduced to the Mozilla Firefox project.</p><p>I already knew about Firefox but I always thought contributing to it would require very high level skills. Still I thought let me at least try to set it up and explore the codebase. I wasn’t even sure if I would be able to make any contribution especially since there were so many better applicants.</p><p>The mentors had shared a setup guide, and I followed it step by step. Thanks to The Odin Project, I was already familiar with the Linux CLI and WSL so I chose to use that, even though Windows setup is also supported.</p><p>And finally, I was able to run Firefox locally. That moment made me really happy. It felt like what I learned in The Odin Project was finally paying off.</p><p>After that, I started exploring good first bugs and luckily, I found one. It was a simple task, removing some redundant code. The steps were clearly mentioned, so it wasn’t too difficult to follow. But this still wasn’t my first real code contribution it was more of a refactor.</p><p>Working on this bug helped me get familiar with tools like <strong>Bugzilla</strong> which is used for tracking issues and <strong>Phabricator</strong> which is used for code reviews.</p><p>This experience gave me some confidence and helped me understand how the workflow works.</p><h3>Finally, My First Code Contribution</h3><p>After that I explored more bugs. Recently, I had learned about accessibility (a11y) in The Odin Project. So when I came across an issue where a dialog box didn’t have an accessible name, I got interested.</p><p>Before even claiming it, I first tried to reproduce the issue locally and understand the problem properly.</p><p>Since the Firefox codebase is quite large, searching in VS Code was taking a lot of time. So I used <strong>Searchfox, Mozilla’s code search tool</strong> which made it much faster to navigate the codebase and find the relevant file.</p><p>Once I felt a bit confident, I claimed the issue and started working on it. I made the changes and submitted a patch. It got reviewed and it wasn’t perfect. So I simplified my approach based on the feedback and submitted it again.</p><p>That whole process of getting feedback, improving, and trying again taught me so much. For the first time, I saw how Git commands like rebase and amend are actually used in real projects.</p><p>This was my first real code contribution. (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=2008178">Bug link</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9rblq6Gfkvhq46W9PWttw.png" /></figure><p>It gave me confidence that I can actually contribute and that what I’m learning is paying off. I also felt good knowing that this accessibility fix might help users.</p><p>One thing I really appreciated was how supportive the Firefox community was. The mentors and contributors guided me well and that made the whole process much smoother.</p><h3>What This Journey Taught Me</h3><p>Looking back I feel like <strong>we don’t need to be perfect to start</strong>.</p><p>I also feel like we already know what we’re supposed to do, <strong>build skills</strong> and <strong>apply them</strong>. But many times, we keep consuming content, watching roadmap videos or feeling FOMO and don’t take action. I’ve done this too.</p><p>But I realized it’s really about <strong>starting with whatever you have</strong>. As you <strong>keep going you’ll find your way and improve</strong>.</p><p>Also this did not happen overnight. It took me months. For someone else it might take less time or more time. So it’s important to <strong>be patient and consistent, and not chase instant results</strong>.</p><p>I also realized that <strong>I did not do this alone</strong>. People helped me sometimes knowingly and sometimes unknowingly and I’m really grateful for that.</p><p>This is just the start for me. I still have a lot to learn and a long way to go.</p><p>If you have read this far, <strong>thank you for your time it really means a lot</strong>. I hope this blog helped you in some way even if it’s just a small push to get started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a3736488696" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Found “The Magic Tricks of Testing” Hard to Understand. Here’s a Simpler Explanation]]></title>
            <link>https://medium.com/@sameekshadalvi7/i-found-the-magic-tricks-of-testing-hard-to-understand-heres-a-simpler-explanation-b29938471592?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b29938471592</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 10:13:00 GMT</pubDate>
            <atom:updated>2026-01-28T10:30:33.780Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFJrO4gchSVIVxsVbja79Q.png" /></figure><p><strong>Disclosure:</strong> This article was written by ChatGPT based on my request to simplify and explain Sandi Metz’s talk <em>“The Magic Tricks of Testing”</em> for beginners. I’m sharing it because it helped me understand the topic better and I believe it may help others too.</p><h3>A Personal Note</h3><p>I have to admit, when I first watched <em>The Magic Tricks of Testing</em>, I found it hard to follow. The talk is insightful, but as a beginner, some of the concepts didn’t click immediately.</p><p>To make sense of it, I asked ChatGPT to explain the ideas in plain English. This post is the result, a simplified version aimed at beginners.</p><h3>1. What the Talk is Really About</h3><p>The main idea is simple:</p><blockquote>Test what your code does, not how it does it.</blockquote><p>Think of a function like a black box:</p><ul><li>You give it input</li><li>It produces output or makes a change</li><li>You don’t worry about what happens inside</li></ul><p>For example, a juice machine: you care whether it produces juice, not how it mixes it. That’s the mindset you want when writing tests.</p><h3>2. How to Test Different Types of Functions</h3><h4>Functions that Return Something</h4><p>Example:</p><pre>function add(a, b) {<br>  return a + b;<br>}</pre><p>Here, your test should check the return value:</p><pre>expect(add(2, 3)).toBe(5);</pre><p>You don’t need to test the steps it takes internally.</p><h4>Functions that Change Something</h4><p>Example:</p><pre>todo.complete();</pre><p>Here, your test should check the visible change:</p><pre>expect(todo.completed).toBe(true);</pre><p>You’re not testing <em>how</em> it changed, only that the change happened.</p><h4>Functions that Call Another Function</h4><p>Example:</p><pre>saveTodo(todo);</pre><p>Here, your test should check that the function was called:</p><pre>expect(saveTodo).toHaveBeenCalled();</pre><p>You don’t need to check what happens inside saveTodo.</p><h3>3. Why Tests Sometimes Break</h3><p>Tests break when you focus on the internal implementation instead of what the function actually does.</p><p><strong>What “internal” means in simple terms:</strong></p><ul><li>The exact steps the function takes</li><li>The variables it uses</li><li>The calculations or processes inside</li><li>Things that don’t directly affect the result someone sees</li></ul><p><strong>Example in everyday terms:</strong><br>Imagine a juice machine. You care that it gives you fresh juice when you press the button.</p><ul><li>A test that checks <em>exactly which parts spin, mix, or heat inside</em> is fragile — it might fail even if the juice is perfectly fine.</li><li>A test that checks only <em>whether juice comes out correctly</em> is strong — it works even if the machine’s internal mechanism changes.</li></ul><h4>A good rule to follow:</h4><blockquote>If I change the inside of this function, should this test still pass?</blockquote><ul><li>If yes → it’s a good test</li><li>If no → it’s too fragile</li></ul><p>This approach keeps your tests useful and resilient to changes.</p><h3>4. How to Know if a Test is Good</h3><p>Here’s a simple reference table for beginners:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dZgG77ikD3sNNHzC_d5Qog.png" /></figure><p>This cheat sheet helps you decide quickly what to test and what to skip.</p><h3>Credits</h3><p><a href="https://youtu.be/URSWYvyc42M">Sandi Metz — <em>The Magic Tricks of Testing</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b29938471592" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Struggling With Responsive Design? Build This Simple Card Layout]]></title>
            <link>https://medium.com/@sameekshadalvi7/struggling-with-responsive-design-build-this-simple-card-layout-bf9f2a7ecd40?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf9f2a7ecd40</guid>
            <category><![CDATA[flexbox]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[css-grid]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 11:45:21 GMT</pubDate>
            <atom:updated>2026-01-23T13:35:53.517Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sriBs4w5oQLpwvEgsf-wfA.png" /></figure><h4>🧩 <strong>Level:</strong> Beginner | <strong>Topic:</strong> HTML &amp; CSS (Responsive Layouts)</h4><p>If you’re learning frontend, chances are responsive design feels confusing at first.</p><p>It definitely did for me.</p><p>I understood that websites should work on both desktop and mobile but I wasn’t sure how layouts actually change when the screen gets smaller.</p><p>So once again, instead of trying to build a full website, I decided to keep things simple and focus on <strong>just one small part</strong>: a responsive card layout.</p><p>If you’re also wondering how cards rearrange themselves on different screen sizes, this project is for you.</p><h3>💡 Overview</h3><p>You will build a <strong>simple card section</strong> that looks good on both desktop and mobile. This project is about <strong>understanding how responsiveness works</strong>, not about writing perfect code.</p><h4>Not a Step-by-Step Tutorial (On Purpose)</h4><p>This project gives you <em>goals, not instructions, </em>figuring out <strong>how</strong> to build it is where the real learning happens.</p><h4>Your card section will have:</h4><ul><li>A heading</li><li>3 to 6 cards</li><li>Each card contains:</li><li>A title</li><li>A short description</li><li>A button or link</li></ul><p>By the end of this, you’ll get more comfortable with:</p><ul><li>How responsive layouts behave</li><li>How cards wrap or stack on smaller screens</li><li>Knowing that <strong>there is more than one right way</strong> to make something responsive</li><li>Writing CSS that adapts instead of breaking</li></ul><h3>🧠 Prerequisites</h3><h4>✅ Must Know</h4><ul><li>Basic HTML structure</li><li>Writing and linking CSS</li><li>Familiarity with Flexbox and Grid</li><li>Using <strong>media queries</strong> for responsive changes</li><li>Using classes and containers</li></ul><h4>⚙️ Good to Have</h4><ul><li>Understanding padding, margin, and gap</li><li>Using browser dev tools to test responsiveness</li></ul><h3>🏗️ Folder Structure Example</h3><pre>responsive-cards/<br>│<br>├──index.html<br>├── style.css</pre><h3>🎨 Design Reference (Feel Free to Adjust)</h3><p>You don’t have to match this exactly, it’s just guidance.</p><ul><li>Page background: #F9FAFB</li><li>Card background: #FFFFFF</li><li>Heading text: #111827</li><li>Body text: #4B5563</li><li>Button background: #6366F1</li><li>Button hover: #4F46E5</li></ul><p>Use any font you like, or try <strong>Inter</strong> or <strong>Roboto</strong> from Google Fonts.</p><h3>💻 Desktop Layout</h3><p>On larger screens:</p><ul><li>Cards appear in a row</li><li>There is space between them</li><li>Everything feels balanced</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jv86xgfivM4JUu-28T1NeQ.png" /></figure><h3>📱 Mobile Layout</h3><p>On smaller screens:</p><ul><li>Cards stack or wrap naturally</li><li>No horizontal scrolling</li><li>Text is easy to read</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/348/1*i0AoFU1WJ7i_f78caZQVqg.png" /></figure><h3>⚙️ How Responsiveness Works (Big Picture)</h3><p>Here’s the important part and don’t worry, there’s <strong>no single correct answer</strong>.</p><p>Your goal is simple: <em>When the screen size changes, the card layout should adjust smoothly.</em></p><p>There are <strong>two common ways</strong> to do this. You can choose <strong>either one</strong>.</p><h4>Option 1: CSS Grid</h4><ul><li>You place cards inside a grid container</li><li>Each card has a minimum width</li><li>The browser decides how many cards fit in one row</li><li>When space is less, cards automatically move to the next line</li></ul><p>This approach is great when you want CSS to handle responsiveness for you.</p><h4>Option 2: Flexbox + Media Query</h4><ul><li>Cards are in a row on larger screens</li><li>On smaller screens, you switch the layout using a media query</li><li>You control exactly <em>when</em> the layout changes</li></ul><p>This approach is useful when you want more control and clarity.</p><p><strong>Both approaches are valid.</strong></p><p>Pick the one that feels easier to understand right now. You can always try the other one later.</p><h3>🪜 Your Tasks</h3><h4>1. Build the structure in HTML</h4><ul><li>A heading</li><li>A container for cards</li><li>A few cards with text and a button</li></ul><h4>2. Style with CSS</h4><ul><li>Center the card container</li><li>Add spacing between cards</li><li>Make cards visually distinct</li><li>Implement responsiveness using <strong>either CSS Grid or Flexbox with a media query</strong></li></ul><h4>3. Test Responsiveness</h4><ul><li>Resize the browser window</li><li>Use mobile view in dev tools</li><li>Check spacing, wrapping, and readability</li></ul><h3>💬 Tips for Learners</h3><ul><li>Start with desktop first, then think about mobile.</li><li>Focus on layout first, styling later.</li><li>Resize the screen often and observe what changes.</li><li>If something breaks, don’t panic change one thing at a time.</li><li>Confusion is part of learning. You’re not behind.</li></ul><h3>💬 Conclusion</h3><p>You don’t need to master responsive design in one day.</p><p>By building this small card layout, you’re training your brain to understand how layouts behave on different screen sizes and that matters more than memorizing syntax.</p><p>Keep building small things like this. Confidence comes from practice, not perfection.</p><h3>💬 Feedback &amp; Sharing</h3><p>If you build this layout, share a screenshot or write about what you found confusing and what finally made sense.</p><p>You can use the hashtag <strong>#HandsOnCoding</strong> if you’d like.</p><h3>🧩 Optional Code Reference (For Comparison Only)</h3><p>If you want to compare your solution with mine, I’ve shared a GitHub repo for this project:</p><p><strong>GitHub Repository:</strong> <a href="https://github.com/sameeksha-dalvi/responsive-design-work/tree/main/responsive-cards">Code Link</a></p><blockquote><strong>Note: </strong>This code is from my own learning journey. It’s okay if your solution looks different. Different doesn’t mean wrong. Because real projects rarely have one correct layout solution.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf9f2a7ecd40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Vercel Analytics Doesn’t Work in Plain JavaScript (and the Fix)]]></title>
            <link>https://medium.com/@sameekshadalvi7/learning-vercel-analytics-while-building-my-profile-card-1bc5e349c72e?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bc5e349c72e</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Thu, 18 Dec 2025 10:44:40 GMT</pubDate>
            <atom:updated>2025-12-21T10:25:22.728Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kba9Wk7q0-fFe2_Gcmum_w.png" /></figure><p>I built my <strong>profile card project and deployed on vercel </strong>and wanted to track visitors using <strong>Vercel Analytics</strong>.</p><p>I first tried to install the npm package and add this in my JavaScript:</p><pre>import { inject } from &quot;@vercel/analytics&quot;;<br>inject();</pre><p>But when I opened the site in the browser, I got an error:</p><pre>Uncaught TypeError: Failed to resolve module specifier &quot;@vercel/analytics&quot;.<br>Relative references must start with either &quot;/&quot;, &quot;./&quot;, or &quot;../&quot;.</pre><p>I learned that <strong>npm packages cannot run directly in the browser</strong>. They only work when you use a bundler like <strong>Webpack or Vite</strong>. My profile card is just plain HTML, CSS, and JS, so this approach didn’t work.</p><p>Then I found a helpful answer on the <a href="https://community.vercel.com/t/using-vercels-analytics-with-no-framework/3194/7?">Vercel Community Forum</a>. The solution is very simple: add this in the &lt;head&gt; of your HTML:</p><pre>&lt;script&gt;<br>  window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };<br>&lt;/script&gt;<br>&lt;script defer src=&quot;/_vercel/insights/script.js&quot;&gt;&lt;/script&gt;</pre><p>Now, when the site is deployed on Vercel, it tracks visitors correctly. No npm, no bundler, just plain HTML and JS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J73-Ar5K891DgesXQW3uNw.png" /></figure><h3>What I Learned</h3><ol><li>Browsers cannot run npm packages directly.</li><li>Static sites can still use analytics with a small script.</li><li>Small mistakes teach you <strong>real frontend skills</strong>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bc5e349c72e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Delete Button Not Working on Dynamic Elements (Event Delegation Fix)]]></title>
            <link>https://medium.com/@sameekshadalvi7/why-my-delete-icon-only-worked-on-the-first-book-and-how-i-fixed-it-412426fe1b83?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/412426fe1b83</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[beginner-developers]]></category>
            <category><![CDATA[the-odin-project]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Tue, 25 Nov 2025 15:42:31 GMT</pubDate>
            <atom:updated>2025-12-26T15:33:55.251Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LESvGQbkAaMfVkD3PKr0lw.png" /></figure><p>I was working on my <strong>book tracker project</strong> for <strong>The Odin Project’s JavaScript Full Stack curriculum</strong>, and I ran into a problem, my <strong>delete icon only worked on the first book card</strong>.</p><p>I knew about event delegation as a concept, but I hadn’t really used it myself yet.</p><p>Then ChatGPT suggested I try it in practice, and that’s when it finally made sense. Once I implemented it, everything started working!</p><h3>My First Attempt: querySelector</h3><p>At first, I grabbed the delete icon using querySelector:</p><pre>const deleteIcon = document.querySelector(&#39;.card-delete &gt; svg&#39;);</pre><pre>deleteIcon.addEventListener(&#39;click&#39;, () =&gt; {<br>    alert(&#39;Delete book????&#39;);<br>});</pre><p>It… worked. But only on the <strong>first book</strong>. Clicking delete on the other cards did <strong>nothing</strong>.</p><p>The reason? querySelector <strong>only selects the first matching element</strong> in the DOM. All the other icons weren’t listening for clicks at all.</p><h3>Trying querySelectorAll</h3><p>Next, I tried querySelectorAll:</p><pre>const deleteIcons = document.querySelectorAll(&#39;.card-delete &gt; svg&#39;);</pre><pre>deleteIcons.addEventListener(&#39;click&#39;, () =&gt; {<br>    alert(&#39;Delete book????&#39;);<br>});</pre><p>Nope. Didn’t work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3R1q6EJWTtO9fl-epwchZA.png" /></figure><p>Why? Because querySelectorAll returns a <strong>NodeList</strong>, not a single element. You <strong>cannot attach an event listener directly to a NodeList</strong>.</p><p>The proper way would be to loop through each icon:</p><pre>const deleteIcons = document.querySelectorAll(&#39;.card-delete &gt; svg&#39;);</pre><pre>deleteIcons.forEach(icon =&gt; {<br>   icon.addEventListener(&#39;click&#39;, () =&gt; {<br>   const card = icon.closest(&#39;.card&#39;);<br>   const bookId = card.dataset.id;<br>   alert(&quot;Delete Book with Id &quot; + bookId);<br>  });<br>});</pre><p>This works but here’s the catch: if I <strong>add a new book dynamically</strong>, this listener <strong>won’t apply to it</strong>.</p><h3>The Fix: Event Delegation</h3><p>At this point, I wasn’t sure how to make it work for all the book cards. I asked ChatGPT for guidance, and it suggested using <strong>event delegation</strong>.</p><p>Finally, I decided to try it. Instead of attaching a listener to each icon, I attached <strong>one listener to the container</strong> holding all the cards. Because of <strong>event bubbling</strong>, clicks on child elements get “caught” by the parent.</p><p>Here’s my working solution:</p><pre>const cardContainerClick = document.querySelector(&quot;.cardcontainer&quot;);</pre><pre>cardContainerClick.addEventListener(&#39;click&#39;, function(event) {<br>    // Check if click is on the delete icon div or its children (SVG/path)<br>    if (event.target.tagName === &quot;svg&quot; || event.target.tagName === &quot;path&quot;){<br>        const card = event.target.closest(&#39;.card&#39;);<br>        const bookId = card.dataset.id;<br>        removeBookFromTracker(bookId);<br>    }<br>});</pre><p>This version:</p><ul><li>Works if you click <strong>the icon itself or any element inside the icon div</strong> (SVG, path, etc.)</li><li>Works for <strong>all existing cards and any new cards added dynamically</strong></li><li>Keeps the code <strong>clean and maintainable</strong></li></ul><h3>What I Learned</h3><ol><li>Reading about event delegation is one thing, but <strong>actually implementing it practically is another. I</strong>t really clicks when you see it working in your own project.</li><li>querySelector vs querySelectorAll — know the difference and loop through NodeLists if needed.</li><li>Event delegation is super handy for <strong>dynamic elements</strong>.</li></ol><h3>Final Thoughts</h3><p>This project is part of <strong>The Odin Project’s JavaScript Full Stack curriculum</strong>, and building it has been a great way to <strong>turn theory into practice</strong>. Problems like this small, annoying, but real are exactly what help you <strong>learn JavaScript deeply</strong>.</p><p>If you’re dealing with multiple icons or cards that might get added later, event delegation makes handling clicks so much easier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=412426fe1b83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Frontend by Building: Motorcycle Ride in Japan Landing Page]]></title>
            <link>https://medium.com/@sameekshadalvi7/learning-frontend-by-building-motorcycle-ride-in-japan-landing-page-f4e6b6170a7a?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4e6b6170a7a</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Wed, 19 Nov 2025 09:07:56 GMT</pubDate>
            <atom:updated>2025-11-19T09:07:56.277Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fcB2HmUaxvfZ4W-0Bo9FWA.png" /></figure><p>🧩 Level: Beginner | Topic: HTML &amp; CSS Foundations</p><p>Turning a static design into clean, functional HTML and CSS is one of the most effective ways to sharpen your front-end skills.</p><p>In this assignment, you’ll recreate a <strong>“Motorcycle Ride in Japan”</strong> landing page — a scenic, modern layout that captures the spirit of travel and adventure. You’ll start with just the design and no pre-written code, analyzing each section to understand layout hierarchy, spacing, and balance.</p><p>By coding everything from scratch, you’ll practice turning design concepts into real web structure — the same process used by professional front-end developers. It’s an excellent way to strengthen your understanding of <strong>HTML structure and visual consistency</strong>.</p><h3>💡 Overview</h3><p>Recreate a <strong>modern travel landing page</strong> inspired by the design reference provided.</p><p>This page features a clean, adventurous look with <strong>nature-inspired colors, bold headings, and immersive imagery</strong>.</p><p>By completing this assignment, you’ll learn to:</p><ul><li>Build a <strong>multi-section layout</strong> using semantic HTML</li><li>Use <strong>Flexbox and CSS Grid</strong> for layout alignment</li><li>Apply <strong>shadows, borders, and spacing</strong> for visual polish</li><li>Use <strong>consistent color palette and typography</strong></li><li>Translate a <strong>design layout into HTML &amp; CSS</strong></li></ul><h3>🧠 Prerequisites</h3><p><strong>✅ Must Know</strong></p><ul><li>HTML structure (&lt;header&gt;, &lt;section&gt;, &lt;footer&gt;)</li><li>CSS selectors, properties (color, background, border-radius, padding)</li><li>Flexbox (display: flex, justify-content, align-items)</li><li>Grid basics for gallery</li><li>Linking Google Fonts</li></ul><p><strong>⚙️ Good to Have</strong></p><ul><li>Familiarity with <strong>box shadows</strong>, <strong>hover states</strong>, and <strong>transitions</strong></li><li>Basic Git commands for saving and sharing projects</li><li>Knowledge of <strong>The Odin Project</strong> foundation topics like:</li><li><a href="https://www.theodinproject.com/lessons/foundations-command-line-basics">Command Line Basics</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-setting-up-git">Setting Up Git</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-introduction-to-git">Introduction to Git</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-git-basics">Git Basics</a></li></ul><h3>🏗️ Folder Structure Example</h3><pre>japan-bike-landing-page/<br>│<br>├── index.html<br>├── style.css<br>└── assets/<br>    ├── images/<br>    │   └── hero.jpg<br>    └── icons/<br>        └── social.svg</pre><h3>🎨 Design Reference</h3><p><strong>Sections to recreate:</strong></p><ol><li><strong>Header</strong> → Logo, navigation, button</li><li><strong>Hero Section</strong> → Fullscreen scenic image, heading, tagline, CTA</li><li><strong>About Section</strong> → Two-column layout: image + text + button</li><li><strong>Gallery Section</strong> → 6-image grid with subtle shadows and borders</li><li><strong>CTA Section</strong> → Full-width colored background with heading &amp; button</li><li><strong>Footer</strong> → 3 columns: logo/tagline, links, contact info + social icons, your name subtly</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nGNMG9CNV3Xs7dU6waOTkg.png" /></figure><h3>🖋️ Typography</h3><ul><li><strong>Font Family:</strong> Poppins (from Google Fonts)</li><li><strong>Font Weights:</strong> 600 for headings, 400 for paragraphs</li></ul><p><strong>Guideline:</strong></p><ul><li>Use larger font for headings to create hierarchy</li><li>Use medium weight for buttons</li><li>Use regular weight for body text and descriptions</li><li>Adjust sizes based on section layout and readability</li></ul><p>💡 <em>Tip:</em> Focus on making headings stand out and body text easy to read, rather than matching exact pixel sizes.</p><h3>🎨 Color Palette by Section</h3><p><strong>Header</strong></p><ul><li>Background: #FFFFFF</li><li>Text: #1E3A8A</li><li>Button: #059669 (text white)</li></ul><p><strong>Hero Section</strong></p><ul><li>Background: Hero Image</li><li>Text: White (#FFFFFF)</li><li>Button: #059669</li></ul><p><strong>About Section</strong></p><ul><li>Background: #F8FAFC</li><li>Text: #1E3A8A</li><li>Button: #059669</li></ul><p><strong>Gallery</strong></p><ul><li>Background: #FFFFFF</li><li>Image Border: #E2E8F0</li><li>Shadow: rgba(0,0,0,0.05)</li></ul><p><strong>Call to Action (CTA)</strong></p><ul><li>Background: #059669</li><li>Text: White</li><li>Button: White (#FFFFFF) with text #059669</li></ul><p><strong>Footer</strong></p><ul><li>Background: #1E3A8A</li><li>Text: White</li><li>Muted Text: #CBD5E1</li></ul><p>💡 Tip: Use CSS variables for colors for easier maintenance.</p><pre>:root {<br>  --primary: #1E3A8A;<br>  --accent: #059669;<br>  --text: #111827;<br>  --text-light: #FFFFFF;<br>  --muted: #CBD5E1;<br>  --bg-light: #F8FAFC;<br>  --footer-bg: #1E3A8A;<br>}</pre><h3>🪜 Your Tasks</h3><ol><li><strong>Set up your project</strong></li></ol><ul><li>Create project folder, add index.html &amp; style.css</li><li>Link Google Fonts (Poppins)</li></ul><p><strong>2. Build the structure</strong></p><ul><li><strong>Header:</strong> logo, nav links, CTA button</li><li><strong>Hero section:</strong> heading, tagline, button</li></ul><p><em>Tip:</em> Add a <strong>black overlay (40–50% opacity)</strong> over the hero image to make text and button easily readable</p><ul><li><strong>About section:</strong> image + text + button</li><li><strong>Gallery section:</strong> 6-image grid</li><li><strong>CTA section:</strong> full-width, heading + button</li><li><strong>Footer:</strong> logo/tagline, links, contact info + social icons, your name</li></ul><p><strong>3. Image Guidance</strong></p><ul><li>Use realistic images for hero and gallery sections.</li><li>Free image resources: <a href="https://unsplash.com/">Unsplash</a>, <a href="https://www.pexels.com/">Pexels</a>, <a href="https://pixabay.com/">Pixabay</a></li><li>Always <strong>give credit</strong> for images, e.g.:</li></ul><pre>Photo by &lt;a href=&quot;&lt;https://unsplash.com/@photographer_username&gt;&quot;&gt;Photographer Name&lt;/a&gt; on &lt;a href=&quot;&lt;https://unsplash.com/photos/photo_id&gt;&quot;&gt;Unsplash&lt;/a&gt;</pre><ul><li>Organize images inside the assets/images folder.</li></ul><p><strong>Example Images You Can Use:</strong></p><ul><li><a href="https://unsplash.com/photos/winding-road-through-lush-green-mountains-under-cloudy-sky-lpR4fLvzDMU">Winding Road Through Lush Green Mountains</a></li><li><a href="https://unsplash.com/photos/a-man-riding-a-motorcycle-down-a-curvy-road-sD4XRrtVbEI">Man Riding Motorcycle Down Curvy Road</a></li><li><a href="https://unsplash.com/photos/a-road-with-a-mountain-in-the-background-EzGbs7JJVpY">Road with Mountain Background</a></li><li><a href="https://unsplash.com/photos/street-between-trees-under-cloudy-sky-TkSIMFyDwPg">Street Between Trees Under Cloudy Sky</a></li><li><a href="https://unsplash.com/photos/black-car-on-road-between-brown-trees-during-daytime-fYAwv7Ji_Lw">Black Car on Road Between Brown Trees</a></li><li><a href="https://unsplash.com/photos/an-empty-street-with-houses-on-both-sides-and-a-mountain-in-the-background--AMRAiVDU_s">Empty Street with Houses &amp; Mountain</a></li><li><a href="https://unsplash.com/photos/two-cyclists-ride-past-blooming-cherry-trees-2t0MyoU7KYA">Two Cyclists Past Cherry Trees</a></li><li><a href="https://unsplash.com/photos/a-street-sign-on-the-side-of-a-road-AFjRofkpSL4">Street Sign on Road</a></li></ul><p><strong>4. Style your layout</strong></p><ul><li>Use Flexbox/Grid for alignment</li><li>Apply padding, margin, spacing consistently</li><li>Use the color palette and consistent font styles</li><li>Add subtle shadows for images and buttons</li></ul><p><strong>5. Polish &amp; Interactivity</strong></p><ul><li>Add hover effects on buttons</li><li>Ensure text contrast and readability</li><li>Keep images centered and evenly spaced</li></ul><p><strong>6. Optional</strong></p><ul><li>Make layout responsive for smaller screens</li><li>Add minor animations or transitions</li></ul><h3>🌐 Optional: Publish Your Work</h3><p>Use <strong>GitHub Pages</strong>:</p><ol><li>Push your project to GitHub.</li><li>Go to <strong>Settings → Pages → Deploy from branch</strong>.</li><li>After a few minutes, your page will be live at:</li></ol><pre>&lt;https://your-username.github.io/japan-bike-landing-page&gt;</pre><p>Or simply share your <strong>PNG screenshot</strong> of the design online to get feedback!</p><h3>💬 Tips for Beginners</h3><ul><li>Keep sections modular and easy to edit</li><li>Maintain consistent spacing and alignment</li><li>Use CSS variables for colors</li><li>Keep your code clean, semantic, and readable</li></ul><h3>💬 Feedback &amp; Sharing</h3><p>Share your project or screenshot online with the hashtag</p><p><strong>#HandsOnCoding 💪</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4e6b6170a7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Responsive Design Felt Overwhelming? Begin with This Simple Header]]></title>
            <link>https://medium.com/@sameekshadalvi7/responsive-design-felt-overwhelming-begin-with-this-simple-header-233cf70a0cd2?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/233cf70a0cd2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[responsive-design]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 11:25:30 GMT</pubDate>
            <atom:updated>2025-11-20T05:54:18.841Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yppX-THwXrcIDkm26rU97g.png" /></figure><p>🧩 <strong>Level:</strong> Beginner | <strong>Topic:</strong> HTML, CSS &amp; Basic JavaScript</p><p>Responsive design always felt a bit overwhelming to me, so I decided to start small, with just one component: a responsive header with a toggle menu.</p><p>If you are also confused about where to begin, this assignment is a gentle first step. Using only HTML, CSS, and a little JavaScript, you will build a header that adapts between desktop and mobile, with a clean hamburger menu that opens and closes smoothly.</p><h3>💡 Overview</h3><p>Create a <strong>responsive website header</strong> that adapts smoothly between <strong>desktop and mobile views</strong>.</p><p>This project focuses on understanding <strong>layout structure, spacing, visibility</strong>, and how a <strong>small JavaScript interaction</strong> can make a design come alive.</p><p>Your header will include:</p><ul><li>A <strong>brand logo text</strong> on the left</li><li><strong>Navigation links</strong> (Home, About, Contact) in the center</li><li>A <strong>Sign Up button</strong> on the right</li><li>A <strong>hamburger menu icon</strong> on mobile that toggles the menu open/closed</li></ul><p>By completing this project, you’ll strengthen your understanding of:</p><ul><li>Responsive design using <strong>Flexbox and media queries</strong></li><li>Element visibility (what to show/hide on different screens)</li><li>Designing and toggling a mobile menu with <strong>basic JavaScript</strong></li></ul><h3>🧠 Prerequisites</h3><p><strong>✅ Must Know</strong></p><ul><li>Basic HTML structure and semantic tags</li><li>CSS properties for layout and alignment (especially <strong>Flexbox</strong>)</li><li>Using <strong>media queries</strong> for responsive changes</li><li>Basic JavaScript for selecting elements, toggling classes &amp; handling clicks</li></ul><p><strong>⚙️ Good to Have</strong></p><ul><li>Familiarity with Google Fonts</li><li>Understanding of CSS hover and focus states</li><li>Basic Git usage for version control</li></ul><h3>🏗️ Folder Structure Example</h3><pre>responsive-header/<br>│<br>├── index.html<br>├── style.css<br>├── script.js<br>└── assets/<br>    └── icons/<br>        ├── menu.svg<br>        └── close.svg</pre><h3>🎨 <strong>Design Reference (Elegant Dark Theme)</strong></h3><p>• <strong>Header Background:</strong> #111827<br> • <strong>Text / Logo:</strong> #F9FAFB<br> • <strong>Button Background:</strong> #14B8A6<br> • <strong>Button Hover:</strong> #0D9488<br> • <strong>Mobile Menu Background:</strong> #1F2937</p><h3>🖋️ Typography</h3><ul><li><strong>Font Family:</strong> “Roboto” (Google Fonts)</li><li><strong>Logo:</strong> ~20–22px, ~ weight 700</li><li><strong>Nav Links:</strong> ~16px, ~ weight 500</li><li><strong>Button Text:</strong> ~18–20px, ~ weight 600</li></ul><h3>💻Desktop Layout</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xWNY07PP9RjFhtWPikrk0A.png" /></figure><p><strong>Behavior:</strong></p><ul><li>All elements visible</li><li>Hamburger menu icon hidden</li></ul><h3>📱Mobile Layout (Collapsed Menu)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*2ISd8_eeLekSSWXD3C-Ikw.png" /></figure><p><strong>Behavior:</strong></p><ul><li>Clicking the icon opens the mobile menu</li></ul><h3>📱Mobile Layout (Expanded Menu)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*YaVHRFjO33iDaU6mf-rN3Q.png" /></figure><p><strong>Behavior:</strong></p><ul><li>When open the icon changes to “Close (×)”</li><li>When closed the icon switches back to hamburger</li><li>Menu visibility controlled by toggling a CSS class via JS</li></ul><h3>⚙️ How It Works</h3><ol><li>The mobile menu is <strong>hidden</strong> by default.</li><li>Clicking the menu icon adds a <strong>CSS class</strong> that makes it visible.</li><li>The icon also changes between “menu” and “close”.</li><li>Clicking again hides the menu.</li></ol><h3>🪜 Your Tasks</h3><p><strong>Refer to the provided design PNGs</strong> for spacing, colors, and layout.</p><ul><li>Desktop header</li><li>Mobile (collapsed menu)</li><li>Mobile (expanded menu)</li></ul><p><strong>Build the structure in HTML</strong></p><ul><li>Header, logo, nav links, button, menu icon, expanded menu</li><li>You can get the icons as svgs from <a href="https://pictogrammers.com/library/mdi/">Material Design Icons</a></li></ul><p><strong>Style with CSS</strong></p><ul><li>Desktop: all elements visible, hamburger hidden</li><li>Mobile: icon visible, links/button hidden</li><li>Expanded menu: dropdown visible below header</li></ul><p><strong>Add basic JavaScript</strong></p><ul><li>Toggle menu visibility on icon click</li><li>Swap between menu and close icons</li></ul><p><strong>Test Responsiveness</strong></p><ul><li>Resize browser to check layout switching at around 600px width</li></ul><h3>💬 Tips for Learners</h3><ul><li>Don’t rush, build the desktop view first, then mobile.</li><li>Use <strong>Flexbox</strong> to align items in a single row.</li><li>When switching to mobile, use display: none to hide what you don’t need.</li><li>Keep your colors and fonts consistent with the design.</li><li>Check how it looks on your phone or with browser’s mobile view.</li><li>If something breaks that’s okay! Try changing one thing at a time.</li><li>Practice resizing the screen often to see what changes.</li></ul><h3>💬Conclusion</h3><blockquote>You don’t need to master everything in one day. By building this responsive header, you’ve already taken a huge step. Continue creating small components like this and watch your skills grow day by day.</blockquote><h3>💬Feedback &amp; Sharing</h3><p>Share your project or screenshot online with the hashtag <strong>#HandsOnCoding</strong></p><h3>🧩 Optional Code Reference (For Comparison Only)</h3><p>If you want to compare your version with mine, here’s the GitHub repo for this header project:</p><p><strong>GitHub Repository:</strong> <a href="https://github.com/sameeksha-dalvi/responsive-design-work/tree/main/basic-website-header-01">Code Link</a></p><blockquote><strong>Note:</strong><br> This code is from my own learning journey with responsive design.<br> It may have flaws or areas to improve and that’s okay.<br> Use it only as a reference, not as something to copy exactly.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=233cf70a0cd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Design to Code: A Simple HTML & CSS Lifestyle Landing Page Project]]></title>
            <link>https://medium.com/@sameekshadalvi7/from-design-to-code-a-simple-html-css-lifestyle-landing-page-project-3180ab3539d1?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3180ab3539d1</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[hands-on-tutorials]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 15:57:28 GMT</pubDate>
            <atom:updated>2025-10-28T15:57:28.123Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pzX7BqqzKoN5_H6IyNamOw.png" /></figure><p>🧩 Level: Beginner | Topic: HTML &amp; CSS Foundations</p><p>Turning a design into clean HTML and CSS is one of the best ways to grow as a front-end developer.</p><p>In this assignment, you’ll take a simple, modern landing page layout and bring it to life with code <strong>no pre-written code provided</strong>. You’ll analyze the design, structure the layout, and style each section from scratch, just like a real-world developer would. It’s perfect practice for improving your eye for design, spacing, and responsive layout skills.</p><h3>💡 Overview</h3><p>Recreate a <strong>modern lifestyle landing page</strong> using only <strong>HTML and CSS</strong>, inspired by the <strong>Design Reference.</strong></p><p>The page features a warm and minimal design that highlights handcrafted products, using <strong>soft gradients, earthy tones, and clean typography.</strong></p><p>By completing this assignment, you’ll learn how to:</p><ul><li>Build a <strong>multi-section layout</strong> using semantic HTML</li><li>Use <strong>Flexbox</strong> for responsive alignment</li><li>Apply <strong>gradients, shadows, and consistent spacing</strong></li><li>Understand <strong>visual hierarchy</strong> through typography and color</li><li>Convert a <strong>Design layout</strong> into clean HTML &amp; CSS</li></ul><h3>🧠 Prerequisites</h3><p><strong>✅ Must Know</strong></p><ul><li>Basic HTML structure (&lt;header&gt;, &lt;section&gt;, &lt;footer&gt;)</li><li>CSS selectors and properties (color, background, border-radius, padding)</li><li>Flexbox for layout alignment (display: flex, justify-content, align-items)</li><li>Applying gradients with linear-gradient()</li><li>Linking Google Fonts and external stylesheets</li></ul><p><strong>⚙️ Good to Have</strong></p><ul><li>Familiarity with <strong>box shadows</strong>, <strong>hover states</strong>, and <strong>transitions</strong></li><li>Basic Git commands for saving and sharing projects</li><li>Knowledge of <strong>The Odin Project</strong> foundation topics like:</li><li><a href="https://www.theodinproject.com/lessons/foundations-command-line-basics">Command Line Basics</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-setting-up-git">Setting Up Git</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-introduction-to-git">Introduction to Git</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-git-basics">Git Basics</a></li></ul><h3>🏗️ Folder Structure Example</h3><pre>aura-living-landing-page/<br>│<br>├── index.html<br>├── style.css<br>└── assets/<br>    ├── images/<br>    │   └── placeholder.png<br>    └── icons/<br>        └── icon.svg</pre><h3>🎨 Design Reference</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JArmGIsTPhW1Zsq-FVLSmg.png" /></figure><h3>🖋️ Typography</h3><ul><li><strong>Font Family:</strong> Nunito (from Google Fonts)</li><li><strong>Heading Size:</strong> ~40–48px</li><li><strong>Body / Paragraph:</strong> ~18px</li><li><strong>Button Text:</strong> ~16px</li><li><strong>Font Weights:</strong> 600 for headings, 400 for paragraphs</li></ul><h3>🎨 Colors Section Wise</h3><h4>Header</h4><ul><li><strong>Background:</strong> #FFFFFF</li><li><strong>Text / Logo:</strong> #6D4C41</li><li><strong>Shop Now Button:</strong></li><li>Gradient: #FF8A65 → #FF7043</li><li>Text: #FFFFFF</li></ul><h4>Hero Section</h4><ul><li><strong>Background Gradient:</strong></li><li>Direction: 135° (top-left → bottom-right)</li><li>Start: #FFF4E1</li><li>End: #FFAB91</li><li><strong>Heading Text:</strong> #6D4C41</li><li><strong>Subtext:</strong> #8D6E63</li><li><strong>Explore Collection Button:</strong></li><li>Background: #FF7043</li><li>Text: #FFFFFF</li></ul><h4>Features Section</h4><ul><li><strong>Section Background:</strong> #FFF8F3</li><li><strong>Card Background:</strong> #FFFFFF</li><li><strong>Card Border:</strong> #E0E0E0</li><li><strong>Title:</strong> #6D4C41</li><li><strong>Description:</strong> #8D6E63</li><li><strong>Button:</strong></li><li>Gradient: #FF8A65 → #FF7043</li><li>Text: #FFFFFF</li></ul><h4>Call-to-Action (CTA)</h4><ul><li><strong>Background:</strong> #FF7043</li><li><strong>Heading &amp; Subtext:</strong> #FFFFFF</li><li><strong>Button:</strong></li><li>Background: #6D4C41</li><li>Text: #FFFFFF</li></ul><h4>Footer</h4><ul><li><strong>Background:</strong> #F2F2F2</li><li><strong>Text:</strong> #6D4C41</li></ul><p>💡 <em>Tip:</em> Keep all colors and font sizes inside CSS variables for better maintainability.</p><pre>:root {<br>  --primary: #FF7043;<br>  --secondary: #FF8A65;<br>  --heading: #6D4C41;<br>  --subtext: #8D6E63;<br>  --section-bg: #FFF8F3;<br>  --footer-bg: #F2F2F2;<br>}</pre><h3>🪜 Your Tasks</h3><ol><li><strong>Set up your project</strong></li></ol><ul><li>Create your project folder.</li><li>Add index.html and style.css files.</li><li>Link Google Font “Nunito”.</li></ul><p><strong>2. Build the structure</strong></p><ul><li><strong>Header:</strong> logo, navigation links, and a “Shop Now” button.</li><li><strong>Hero section:</strong> heading, subheading, button, and a rectangle placeholder for an image.</li><li><strong>Features section:</strong> three cards, each with an image box, title, short description, and button.</li><li><strong>CTA section:</strong> short message encouraging users to join.</li><li><strong>Footer:</strong> simple text with your name and © line.</li></ul><p><strong>3. Style your layout</strong></p><ul><li>Use Flexbox for horizontal alignment.</li><li>Add spacing between sections using padding and margin.</li><li>Apply the provided color palette.</li><li>Use consistent border radius and subtle shadows for buttons/cards.</li></ul><p><strong>4. Polish your design</strong></p><ul><li>Add hover effects for buttons.</li><li>Ensure text contrast and readability.</li><li>Center the hero image placeholder neatly.</li><li>Adjust spacing and typography to match the visual reference.</li></ul><p><strong>5. (Optional)</strong></p><ul><li>Make your layout responsive for smaller screens.</li><li>Try customizing the gradient or adding icons later.</li></ul><h3>🌐 Optional: Publish Your Work</h3><p>Use <strong>GitHub Pages</strong>:</p><ol><li>Push your project to GitHub.</li><li>Go to <strong>Settings → Pages → Deploy from branch</strong>.</li><li>After a few minutes, your page will be live at:</li></ol><pre>https://your-username.github.io/aura-living-landing-page</pre><p>Or simply share your <strong>PNG screenshot</strong> of the design online to get feedback!</p><h3>💬 Tips for Learners</h3><ul><li>Observe spacing, alignment, and color balance carefully.</li><li>Keep typography consistent — heading bold, paragraph light.</li><li>Maintain clean, readable HTML and CSS — indentation matters!</li><li>Rename text and buttons if you like; creativity is encouraged</li></ul><h3>💬 Feedback &amp; Sharing</h3><p>Share your project or screenshot online with the hashtag</p><p><strong>#HandsOnCoding 💪</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3180ab3539d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build Your Own Simple Landing Page — Hands-On HTML & CSS Project]]></title>
            <link>https://medium.com/@sameekshadalvi7/build-your-own-simple-landing-page-hands-on-html-css-project-a9f37cf55513?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9f37cf55513</guid>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[hands-on-tutorials]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 16:28:02 GMT</pubDate>
            <atom:updated>2025-10-27T16:28:02.562Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pqn49oJGipAUh-3-RyvUUw.png" /></figure><h3>Build Your Own Simple Landing Page — Hands-On HTML &amp; CSS Project</h3><p>🧩 <strong>Level:</strong> Beginner | <strong>Topic:</strong> HTML &amp; CSS Foundations</p><p>Looking to sharpen your HTML and CSS skills with a simple, visually appealing project?</p><p>In this hands-on assignment, you’ll recreate a <strong>modern landing page</strong> from a design reference — no JavaScript required!<br>Perfect for beginners who want to practice building real layouts while learning how to turn design concepts into clean, functional code.</p><h3>💡 Overview</h3><p>Recreate a <strong>simple, modern landing page</strong> using only <strong>HTML and CSS</strong>, based on the provided <strong>Design Reference</strong>.</p><p>The page should include a <strong>header, hero section, feature cards, call-to-action, and footer</strong>, with no JavaScript functionality.</p><p>By the end of this assignment, you’ll learn how to:</p><ul><li>Structure a multi-section page with semantic HTML</li><li>Use <strong>Flexbox</strong> for layout and alignment</li><li>Apply <strong>gradients, shadows, and spacing</strong> for a polished design</li><li>Use consistent <strong>font sizes, colors, and border radius</strong></li><li>Translate a <strong>Design layout</strong> into clean, responsive HTML &amp; CSS</li></ul><h3>🧠 Prerequisites</h3><h4>✅ Must Know</h4><ul><li>HTML Basics (&lt;!DOCTYPE html&gt;, &lt;html&gt;, &lt;head&gt;, &lt;body&gt;)</li><li>Headings (&lt;h1&gt;, &lt;h2&gt;), paragraphs (&lt;p&gt;), and &lt;div&gt; containers</li><li>Linking an external CSS file (&lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot;&gt;)</li><li>CSS element and class selectors (body, h1, .container, .btn)</li><li>Box model basics (padding, margin, border, border-radius)</li><li>Flexbox fundamentals (display: flex, justify-content, align-items, gap)</li><li>Adding background colors and gradients (background, linear-gradient)</li></ul><h4>⚙️ Good to Have</h4><ul><li>Basic <strong>Google Fonts</strong> setup for custom typography</li><li>Knowledge of <strong>shadows</strong> and <strong>hover effects</strong></li><li>Basic <strong>Linux terminal commands</strong> (cd, mkdir, ls, touch)</li></ul><p><strong>Resources:</strong><br> 👉 <a href="https://www.theodinproject.com/lessons/foundations-command-line-basics">The Odin Project — Command Line Basics</a></p><ul><li>Basic <strong>Git &amp; GitHub knowledge</strong>:</li><li>git init, git add, git commit</li><li>Creating + pushing to a GitHub repository</li></ul><p><strong>Resources:</strong></p><ul><li><a href="https://www.theodinproject.com/lessons/foundations-setting-up-git">The Odin Project — Setting Up Git</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-introduction-to-git">The Odin Project — Introduction to Git</a></li><li><a href="https://www.theodinproject.com/lessons/foundations-git-basics">The Odin Project — Git Basics</a></li></ul><h3>🏗️ Folder Structure Example</h3><pre>landing-page/<br>│<br>├── index.html<br>├── style.css<br>└── assets/<br>    ├── images/<br>    │   └── illustration.png   (optional placeholder)<br>    └── icons/<br>        └── icon1.svg</pre><h3>🎨 Design Reference</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MyVUkW39wOxicsmmJopWqA.png" /></figure><h3>🖋️ Typography</h3><ul><li><strong>Font Family:</strong> Poppins (or similar clean sans-serif)</li><li><strong>Heading Size:</strong> ~48px</li><li><strong>Subtext / Paragraph:</strong> ~18px</li><li><strong>Button / Nav Text:</strong> ~16px</li><li><strong>Font Weights:</strong> Use bold for headings, regular for body text</li></ul><h3>🎨 Colors (Section-wise)</h3><h4>Header</h4><ul><li><strong>Background:</strong> #FFFFFF</li><li><strong>Text / Logo:</strong> #333333</li><li><strong>Sign Up Button:</strong> Background #007BFF, Text #FFFFFF</li></ul><h4>Hero Section</h4><ul><li><strong>Background Gradient:</strong> Linear, 135° (top-left → bottom-right) Start: #f0f4f8 End: #a0c4ff</li><li><strong>Heading Text:</strong> #111111</li><li><strong>Subheading / Paragraph:</strong> #555555</li><li><strong>Get Started Button:</strong> Background #FF6B6B, Text #FFFFFF</li></ul><h4>Features Cards Section</h4><ul><li><strong>Section Background:</strong> #FFFFFF</li><li><strong>Card Background:</strong> #FFFFFF</li><li><strong>Card Border:</strong> #E0E0E0</li><li><strong>Card Title:</strong> #111111</li><li><strong>Card Description:</strong> #555555</li><li><strong>Learn More Button:</strong> Background #007BFF, Text #FFFFFF</li></ul><h4>Call-to-Action (CTA) Section</h4><ul><li><strong>Background:</strong> #007BFF</li><li><strong>Heading / Subtext:</strong> #FFFFFF</li><li><strong>Join Now Button:</strong> Background #FF6B6B, Text #FFFFFF</li></ul><h4>Footer</h4><ul><li><strong>Background:</strong> #F2F2F2</li><li><strong>Text:</strong> #333333</li></ul><p>💡 <em>Tip:</em> Use <strong>Flexbox</strong>, spacing, and alignment based on visual observation from the design sample — it’s part of the learning experience.</p><h3>🪜 Your Tasks</h3><ol><li><strong>Set up your project</strong></li></ol><ul><li>Create a folder for this landing page project.</li><li>Inside it, create index.html and style.css.</li><li>Link your CSS file in the HTML &lt;head&gt;.</li></ul><p><strong>2. Build the structure</strong></p><ul><li>Add a <strong>header</strong> with your logo, navigation links, and a “Sign Up” button.</li><li>Create a <strong>hero section</strong> with a headline, subtext, a button, and a placeholder for an image.</li><li>Build a <strong>features section</strong> with 3 cards (each card with an icon, title, description, and “Learn More” button).</li><li>Add a <strong>call-to-action section</strong> with a short message and button.</li><li>Finish with a <strong>simple footer</strong> including your brand name and copyright.</li></ul><p><strong>3. Style your page</strong></p><ul><li>Apply the colors, font family, and font sizes from the <strong>Design Reference</strong>.</li><li>Use <strong>Flexbox</strong> to align elements horizontally and vertically.</li><li>Add spacing between sections using margins and padding.</li><li>Style buttons with background color, rounded corners, and hover effects.</li></ul><p><strong>3. Polish your design</strong></p><ul><li>Add shadows for buttons and cards to make them “pop.”</li><li>Adjust text sizes and spacing for balance.</li><li>Keep layout consistent and clean.</li></ul><p><strong>4. (Optional)</strong></p><ul><li>Make your page <strong>responsive</strong> for smaller screens.</li><li>Experiment with gradients or button colors for a unique touch.</li></ul><h3>🌐 Optional: Share Your Landing Page Online</h3><p>Use <strong>GitHub Pages</strong> to publish your landing page:</p><ol><li>Ensure your main file is named index.html.</li><li>Push your project to a GitHub repository.</li><li>Go to <strong>Settings → Pages → Deploy from a branch</strong>.</li><li>After a few minutes, your landing page will be live at:</li></ol><pre>https://your-github-username.github.io/your-repo-name</pre><p>💡 <strong>Tip:</strong> Even sharing a <strong>PNG screenshot</strong> of your design counts — it’s a way to get feedback and showcase your progress.</p><h3>💬 Tips for Learners</h3><ul><li>Be creative with content — headings, subtext, button labels, and features.</li><li>Focus on readability: spacing, fonts, and colors matter more than fancy effects.</li><li>Experiment with small improvements like shadows, font weights, or gradients.</li><li>Add hover effects and subtle transitions to bring your page to life.</li></ul><h3>💬 Feedback &amp; Sharing</h3><ul><li>Share your landing page with friends or fellow learners.</li><li>Tag your progress with <strong>#HandsOnCoding 💪</strong> to inspire others to try it too.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9f37cf55513" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build Your Own Testimonial Cards — Hands-On HTML & CSS Project]]></title>
            <link>https://medium.com/@sameekshadalvi7/build-your-own-testimonial-cards-hands-on-html-css-project-9245ff10274f?source=rss-657d2dab4b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9245ff10274f</guid>
            <category><![CDATA[hands-on-tutorials]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Kurumi Sam]]></dc:creator>
            <pubDate>Sun, 26 Oct 2025 04:31:53 GMT</pubDate>
            <atom:updated>2025-10-26T04:31:53.996Z</atom:updated>
            <content:encoded><![CDATA[<h3>Build Your Own Testimonial Cards — Hands-On HTML &amp; CSS Project</h3><p><strong>Level:</strong> Beginner | <strong>Topic:</strong> HTML &amp; CSS Foundations</p><p>Looking to sharpen your HTML and CSS skills with a simple, visually appealing project? In this hands-on assignment, you’ll create <strong>fun, static testimonial cards</strong> — a common component in modern websites — without using a single line of JavaScript. Perfect for beginners wanting practical experience!</p><h3>💡 Project Overview</h3><p>You’ll build a <strong>testimonial section</strong> displaying <strong>3 client cards in a row</strong>. By the end of this project, you’ll learn how to:</p><ul><li>Structure content in HTML using &lt;div&gt;s and semantic elements</li><li>Create reusable card components</li><li>Apply consistent styling with CSS (colors, fonts, spacing)</li><li>Use <strong>Flexbox</strong> for horizontal layouts</li><li>Add shadows, borders, and rounded corners</li><li>Center and align content vertically and horizontally</li><li>Follow a <strong>design screenshot</strong> for layout guidance</li></ul><h3>📸 Design Reference</h3><p>Use the screenshot below as your blueprint. Replicate <strong>card sizes, spacing, colors, and typography</strong> in your HTML &amp; CSS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uvq3a2uxPus2zI2h4DWUSA.png" /></figure><p>💡 <em>Tip:</em> Pay close attention to spacing, font sizes, and alignment.</p><h3>🧠 Prerequisites</h3><p><strong>Must Know:</strong></p><ul><li>HTML basics: &lt;!DOCTYPE html&gt;, &lt;html&gt;, &lt;head&gt;, &lt;body&gt;</li><li>Headings &amp; paragraphs: &lt;h1&gt;, &lt;h2&gt;, &lt;p&gt;</li><li>Divs: &lt;div&gt;</li><li>Linking CSS: &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot;&gt;</li><li>CSS selectors: body, h1, .class-name</li><li>Box model basics: padding, margin, border, border-radius</li><li>Flexbox basics: display: flex, justify-content, align-items</li></ul><p><strong>Good to Have:</strong></p><ul><li>Basic Linux terminal commands: cd, mkdir, ls, touch</li><li>Basic Git &amp; GitHub knowledge: git init, git add, git commit</li></ul><h3>🏗️ Project Folder Structure</h3><pre>testimonial-cards/<br>│<br>├── index.html<br>├── style.css<br>└── images/<br>    ├── profile1.jpg<br>    ├── profile2.jpg<br>    └── profile3.jpg</pre><h3>🪄 Step-by-Step Instructions</h3><h3>Step 1: Setup Your Project</h3><ul><li>Create a folder testimonial-cards.</li><li>Inside, create index.html and style.css.</li><li>Add standard HTML boilerplate and link your CSS file.</li><li>Add a <strong>main heading</strong>: “What Our Clients Say”</li><li>Optional subtitle: “Real stories from our happy users”</li></ul><h3>Step 2: Create the Cards Container</h3><ul><li>Wrap your cards in a &lt;div&gt; or &lt;section&gt;.</li><li>Use <strong>Flexbox</strong> (display: flex) to arrange cards horizontally.</li><li>Add spacing (margin or gap: ~40px) between cards.</li><li>Center the container horizontally.</li><li>Suggested background: #F3F4F6 (minimal style).</li></ul><h3>Step 3: Build Each Testimonial Card</h3><p>Each card includes:</p><p><strong>1.Profile Image</strong></p><ul><li>Circular (border-radius: 50%)</li><li>Size: ~80×80 px</li></ul><p><strong>2. Name</strong></p><ul><li>Example: “Jane Doe”</li><li>Font: Poppins/Inter, 18px, semi-bold, color #222</li></ul><p><strong>3. Role / Company</strong></p><ul><li>Example: “Marketing Manager”</li><li>Font: 14px, regular, color #777</li></ul><p><strong>4. Testimonial Text</strong></p><ul><li>Example: “This service transformed the way our team works! Highly recommended.”</li><li>Font: Inter/Open Sans, 15–16px, color #444, line-height ~22px</li></ul><p><strong>Card Styling Suggestions:</strong></p><ul><li>Background: white (#FFFFFF)</li><li>Rounded corners: 12px</li><li>Shadow: 0px 4px 10px rgba(0,0,0,0.1)</li><li>Padding: ~24px</li><li>Center all content horizontally</li></ul><p>💡 <em>Tip:</em> Use the first card as a template and duplicate it for the other two cards.</p><h3>Step 4: Style the Section &amp; Cards</h3><ul><li>Add padding/margin above and below the container (~80px).</li><li>Set consistent fonts and colors.</li><li>Optional hover effect: slightly lift cards and increase shadow.</li></ul><h3>Step 5: View &amp; Share Your Work</h3><ul><li>Open index.html in your browser to see your testimonial section.</li><li>Check alignment, spacing, readability, and visual appeal.</li><li>Tweak card size, padding, colors, fonts, or shadows for instant feedback.</li></ul><p><strong>Optional: Share Online via GitHub Pages</strong></p><ol><li>Ensure main file is index.html.</li><li>Push project to GitHub.</li><li>Go to <strong>Settings → Pages → Deploy from branch</strong>.</li><li>Your testimonial cards will be live at:</li></ol><pre>https://your-github-username.github.io/your-repo-name</pre><h3>💬 Tips for Learners</h3><ul><li>Focus on <strong>alignment, spacing, and typography</strong> — it makes a big difference.</li><li>Play with <strong>shadows, border-radius, and card padding</strong> for depth.</li><li>Reuse the card structure for all 3 cards — practice <strong>component-based thinking</strong>.</li><li>Keep the design <strong>minimal and clean</strong> for a modern look.</li></ul><h3>🌟 Feedback &amp; Sharing</h3><p>If you enjoyed this project, share it with your friends learning HTML &amp; CSS!</p><p>Tag your progress with <strong>#HandsOnCoding 💪</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9245ff10274f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>