<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Megha M</title>
    <description>The latest articles on Forem by Megha M (@megha_m).</description>
    <link>https://forem.com/megha_m</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3250678%2Ff0dac9f2-413e-40c2-921c-bb5d8b83b5d1.jpg</url>
      <title>Forem: Megha M</title>
      <link>https://forem.com/megha_m</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/megha_m"/>
    <language>en</language>
    <item>
      <title>Difference Between Two Live Clock Codes in JavaScript</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Tue, 02 Sep 2025 12:50:48 +0000</pubDate>
      <link>https://forem.com/megha_m/difference-between-two-live-clock-codes-in-javascript-1hen</link>
      <guid>https://forem.com/megha_m/difference-between-two-live-clock-codes-in-javascript-1hen</guid>
      <description>&lt;p&gt;Hey guys! &lt;br&gt;
One of the first fun projects you can try while learning JavaScript is creating a live clock. It’s simple, but it teaches you a lot about the Date() object, DOM manipulation, and how to keep things updating in real-time with setInterval().&lt;/p&gt;

&lt;p&gt;I recently tried two different versions of a live clock. Both of them work perfectly, but they look and behave a little differently. Let’s check out the differences.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code 1 – Styled and Semantic Clock&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this version, I used the &lt;time&gt; element along with a datetime attribute for accessibility. I also added some CSS to make it look modern and professional.&lt;/time&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s special about this version:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uses &lt;time&gt; → more semantic and SEO-friendly.&lt;/time&gt;
&lt;/li&gt;
&lt;li&gt;Adds leading zeros (07:05:09 instead of 7:5:9).&lt;/li&gt;
&lt;li&gt;Updates datetime attribute for better accessibility.&lt;/li&gt;
&lt;li&gt;Styled with a gradient background and rounded container.&lt;/li&gt;
&lt;li&gt;Looks polished, almost like something you’d see in a real app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx53wyaw7ag8audfc0atc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx53wyaw7ag8audfc0atc.png" alt=" " width="800" height="1337"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code 2 – Simple Clock&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This one is the beginner-friendly approach. It uses just a &lt;/p&gt;
&lt;p&gt; tag and a few lines of JavaScript. Instead of manually formatting the time, it relies on toLocaleTimeString().&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s special about this version:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Very easy to understand.&lt;/li&gt;
&lt;li&gt;toLocaleTimeString() automatically adjusts to the user’s system (12-hour or 24-hour).&lt;/li&gt;
&lt;li&gt;No extra styling, just plain text.&lt;/li&gt;
&lt;li&gt;Great for practicing JavaScript basics quickly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffha0bfj6jmaxemug1v80.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffha0bfj6jmaxemug1v80.png" alt=" " width="800" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Differences Between the Two&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML Structure → Code 1 uses &lt;time&gt;, Code 2 uses &lt;p&gt;.&lt;/p&gt;&lt;/time&gt;
&lt;/li&gt;
&lt;li&gt;Time Formatting → Code 1 adds leading zeros manually, Code 2 lets the system handle it.&lt;/li&gt;
&lt;li&gt;Accessibility → Code 1 updates the datetime attribute, Code 2 doesn’t.&lt;/li&gt;
&lt;li&gt;Styling → Code 1 is styled with CSS, Code 2 is plain.&lt;/li&gt;
&lt;li&gt;Complexity → Code 1 is advanced and professional, Code 2 is simple and beginner-friendly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both versions show the current time, but the choice depends on what you’re aiming for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you just want something quick and simple → go with Code 2.&lt;/li&gt;
&lt;li&gt;If you want something professional, styled, and more accessible → choose Code 1.
At the end of the day, both are great ways to practice JavaScript. The more you try different approaches, the more confident you’ll become in your coding journey. &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>liveclock</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Build a Random Background Color Changer with JavaScript</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Tue, 26 Aug 2025 11:08:21 +0000</pubDate>
      <link>https://forem.com/megha_m/build-a-random-background-color-changer-with-javascript-380k</link>
      <guid>https://forem.com/megha_m/build-a-random-background-color-changer-with-javascript-380k</guid>
      <description>&lt;p&gt;Hey everyone I have created a Random Background Color Changer using JavaScript. This is a fun beginner-friendly project that changes the background color of the webpage every time you click a button.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Did&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Created a simple HTML page with a button.&lt;/li&gt;
&lt;li&gt;Wrote a JavaScript function that generates random HEX color codes.&lt;/li&gt;
&lt;li&gt;Applied that random color to the background of the page when the button is clicked.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Steps I Followed&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML Structure&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Added a  that calls the changecolor() function when clicked.&lt;/li&gt;
&lt;li&gt;Gave the  an id so we can easily target it in JavaScript.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Define HEX Digits&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HEX colors are made from numbers 0–9 and letters A–F.&lt;/li&gt;
&lt;li&gt;I stored them in an array called color.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Random Generator Function&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wrote a random() function that picks a random digit from the array.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Build a HEX Code&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Started with #.&lt;/li&gt;
&lt;li&gt;Used a loop to add 6 random characters to form a complete HEX code (like #12ABF3).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Change Background Color&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Used document.querySelector("#body").style.backgroundColor = hexa;&lt;/p&gt;

&lt;p&gt;This updates the background color each time the button is clicked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How It Works&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You click the button.&lt;/li&gt;
&lt;li&gt;JavaScript runs the changecolor() function.&lt;/li&gt;
&lt;li&gt;A random HEX color is generated.&lt;/li&gt;
&lt;li&gt;The color is applied as the new background of the webpage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every click gives a fresh new color &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>coding</category>
    </item>
    <item>
      <title>Getting Started with React.js: What, Why, and How</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Fri, 08 Aug 2025 16:14:43 +0000</pubDate>
      <link>https://forem.com/megha_m/getting-started-with-reactjs-what-why-and-how-39if</link>
      <guid>https://forem.com/megha_m/getting-started-with-reactjs-what-why-and-how-39if</guid>
      <description>&lt;p&gt;&lt;strong&gt;I’ve Started Learning React.js!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Today marks the beginning of my React.js journey, and I’m super excited to share what I’ve learned so far. If you’re also curious about React or just starting out, this post will give you a quick overview of what it is, why we use it, and some essential setup details.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is React.js?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;React.js is an open-source JavaScript library created by Facebook for building fast, interactive user interfaces.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It’s component-based, meaning we build small, reusable pieces of UI.&lt;/li&gt;
&lt;li&gt;    It uses a virtual DOM for better performance.&lt;/li&gt;
&lt;li&gt;    It’s mainly used for single-page applications (SPAs).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why Do We Use React?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reusable Components – Write once, use anywhere.&lt;/li&gt;
&lt;li&gt;Faster Rendering – Virtual DOM makes updates quick.&lt;/li&gt;
&lt;li&gt;Easy to Learn – If you know JavaScript, you can pick it up quickly.&lt;/li&gt;
&lt;li&gt;Strong Community – Tons of tutorials, libraries, and support available.&lt;/li&gt;
&lt;li&gt;Scalability – Works well for small and large projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What is CRA and Vite?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CRA (Create React App)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A command-line tool by Facebook to quickly set up a new React project with all configurations done for you. It’s beginner-friendly but slower during development.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vite&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A modern build tool that’s super fast because it uses native ES modules and builds only what’s needed. Many developers are switching to Vite because of its speed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Difference Between CRA and Vite&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;CRA&lt;/th&gt;
&lt;th&gt;Vite&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Speed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Slower start time&lt;/td&gt;
&lt;td&gt;Lightning-fast startup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bundler&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Webpack&lt;/td&gt;
&lt;td&gt;ESBuild + Rollup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pre-configured, less flexible&lt;/td&gt;
&lt;td&gt;More configurable, modern setup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Learning Curve&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Beginner-friendly&lt;/td&gt;
&lt;td&gt;Also beginner-friendly but faster&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Popularity&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Widely used earlier&lt;/td&gt;
&lt;td&gt;Growing rapidly now&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Commands to Install CRA and Vite&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create React App:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app my-app
cd my-app
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Vite:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm create vite@latest my-app
cd my-app
npm install
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;How the Application Looks&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CRA: Shows the default React spinning logo with "Edit src/App.js and save to reload."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjz8lufpcibqr3kiodbqj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjz8lufpcibqr3kiodbqj.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Vite: Shows a clean starter template with “Vite + React” text and a clickable counter.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi43nh2j5i99clwt851g7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi43nh2j5i99clwt851g7.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My takeaway:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Starting with React feels like opening the door to endless possibilities in front-end development. I’m planning to experiment with both CRA and Vite so I can choose the one that fits my workflow best.&lt;/p&gt;

</description>
      <category>react</category>
      <category>frontend</category>
      <category>createreactapp</category>
      <category>vitejs</category>
    </item>
    <item>
      <title>How I Grew as a UI/UX Designer Through Practice and Projects</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Wed, 06 Aug 2025 02:35:27 +0000</pubDate>
      <link>https://forem.com/megha_m/how-i-grew-as-a-uiux-designer-through-practice-and-projects-5bma</link>
      <guid>https://forem.com/megha_m/how-i-grew-as-a-uiux-designer-through-practice-and-projects-5bma</guid>
      <description>&lt;p&gt;When I first started exploring UI/UX design, I had no idea what wireframes, design systems, or user flow meant. I just knew one thing — I loved creating and I was curious about how apps and websites were designed behind the scenes.&lt;/p&gt;

&lt;p&gt;Looking back now, my journey has been filled with small steps, a lot of mistakes, and constant learning. And I’m proud of how far I’ve come.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Starting Out: Full of Curiosity (and Mistakes)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;During my internship, I got the opportunity to work on a SPA management software project, where I was responsible for creating the wireframe. It was my first real exposure to UI/UX. I made several mistakes — from inconsistent spacing and poor alignment to choosing the wrong color combinations. But I learned quickly that mistakes are part of the process.&lt;/p&gt;

&lt;p&gt;To improve, I started watching YouTube tutorials, exploring UI/UX blogs, and doing daily practice projects. Every video I watched, every design I tried — made my skills stronger. I understood how important it was to focus not just on looks, but on user experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Projects That Shaped My Skills&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here are some of the projects I worked on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SPA Management Software Wireframe – My first major UI/UX work during an internship.&lt;/li&gt;
&lt;li&gt;Burger Shop Website – Focused on layout, menu display, and mobile responsiveness.&lt;/li&gt;
&lt;li&gt;YouTube Trimmer Web App – Designed to help users trim YouTube videos quickly and intuitively.&lt;/li&gt;
&lt;li&gt;Textile Business Website – Worked on showcasing products in a clean and attractive way.&lt;/li&gt;
&lt;li&gt;Logo Designs – Created multiple logos and brand identity elements.&lt;/li&gt;
&lt;li&gt;Mobile App Screens – Tried designing simple mobile UI screens to practice responsive design.&lt;/li&gt;
&lt;li&gt;Brochures – Worked on layouts, typography, and visual balance for print designs.
Every project taught me something new — about colors, alignment, spacing, visual hierarchy, and most importantly, how users think.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools That Helped Me&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Figma – My favorite tool for UI design and wireframing&lt;/li&gt;
&lt;li&gt;    Canva – For quick graphics, posters, and brochure design&lt;/li&gt;
&lt;li&gt;    Notion – For organizing ideas and project research&lt;/li&gt;
&lt;li&gt;    YouTube – My go-to learning platform!&lt;/li&gt;
&lt;li&gt;    Daily Practice – The best tool of all is consistent practice&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How I’ve Grown&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now, my designs are more structured, clean, and user-friendly. I’ve learned how to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create wireframes that are easy to hand off for development&lt;/li&gt;
&lt;li&gt;Focus on both functionality and aesthetic&lt;/li&gt;
&lt;li&gt;Think from a user’s perspective&lt;/li&gt;
&lt;li&gt;Maintain design consistency across screens&lt;/li&gt;
&lt;li&gt;Explore real-life design problems and solve them visually&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Working on small and large projects helped me understand how design plays a crucial role in user interaction and product success.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s Next?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I want to continue improving my skills, explore design systems, learn about accessibility, and collaborate more with developers to see my designs come to life.&lt;/p&gt;

&lt;p&gt;My ultimate goal is to design solutions that make people’s lives easier — whether it’s a small mobile app or a full business platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Words to Other Beginners&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're new to UI/UX, don’t worry about being perfect at the start. Make mistakes, learn from them, and keep creating. You don’t need a degree to begin — just a curious mind and a willingness to improve.&lt;/p&gt;

</description>
      <category>uidesign</category>
      <category>uxdesign</category>
      <category>wireframing</category>
      <category>figma</category>
    </item>
    <item>
      <title>Meow &amp; Move: My First Fun Project on Scratch 🐱</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Tue, 05 Aug 2025 05:28:39 +0000</pubDate>
      <link>https://forem.com/megha_m/meow-move-my-first-fun-project-on-scratch-13no</link>
      <guid>https://forem.com/megha_m/meow-move-my-first-fun-project-on-scratch-13no</guid>
      <description>&lt;p&gt;Today, I explored something exciting – Scratch, a beginner-friendly visual programming language developed by MIT. It’s a drag-and-drop coding platform where I got to create animations and make my own game without writing a single line of code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Scratch?&lt;/strong&gt;&lt;br&gt;
Scratch is a block-based programming language designed for kids, students, and beginners to help them learn the logic of programming in a visual way. Instead of typing, you connect blocks that represent actions, movements, sounds, and more.&lt;/p&gt;

&lt;p&gt;You can access it online at: &lt;a href="https://dev.tourl"&gt;scratch.mit.edu&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Did Today on Scratch&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I played around with the default character in Scratch — the cute orange cat, also known as Sprite1.&lt;/p&gt;

&lt;p&gt;Here’s what I created:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Move Block: I used the move 20 steps block to make the cat walk across the screen.&lt;/li&gt;
&lt;li&gt;     Random Position: I added the go to random position block to make the cat teleport randomly after moving.&lt;/li&gt;
&lt;li&gt;    Sound Block: I used the play sound Meow block — and guess what? The cat made a cute "meow" sound just like in real life!&lt;/li&gt;
&lt;li&gt;    Ask Block: I connected the ask "mee" and wait block which let me interact with the character through a question popup.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What I Learned&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to combine motion and sound blocks to create simple animation.&lt;/li&gt;
&lt;li&gt;    How sprites (characters) behave on screen based on instructions.&lt;/li&gt;
&lt;li&gt;    How easy and fun coding can be when done visually!&lt;/li&gt;
&lt;li&gt;    Most importantly, I understood the flow of a basic program — from triggering an event to responding with actions.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Using Scratch today was an amazing learning experience. It helped me understand the fundamentals of logic and programming in a fun and interactive way. I really enjoyed seeing the cat come to life with my instructions — especially when it moved and meowed!&lt;/p&gt;

&lt;p&gt;I can’t wait to explore more and maybe even create a small game or animation soon.&lt;/p&gt;

&lt;p&gt;Tip for Beginners: If you’re new to coding or want to teach someone the basics, Scratch is a perfect starting point. It’s free, fun, and full of possibilities.&lt;/p&gt;

</description>
      <category>scratch</category>
      <category>beginnercoding</category>
      <category>visualcoding</category>
      <category>meowgame</category>
    </item>
    <item>
      <title>The 5th Div Mystery Solved! CSS Selectors Explained</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Fri, 01 Aug 2025 02:05:00 +0000</pubDate>
      <link>https://forem.com/megha_m/the-5th-div-mystery-solved-css-selectors-explained-4a23</link>
      <guid>https://forem.com/megha_m/the-5th-div-mystery-solved-css-selectors-explained-4a23</guid>
      <description>&lt;p&gt;&lt;strong&gt;What I Learned Today at the Institute!&lt;/strong&gt;&lt;br&gt;
Every day after class, I work on my given tasks at the institute. Sometimes, Muthu Sir interacts with us, and today he asked a tricky question:&lt;/p&gt;

&lt;p&gt;“In HTML, you can create 10 &lt;/p&gt; elements with the same class name. How would you style only the 5th  using CSS?”

&lt;p&gt;At first, I was blank  because I thought I had basic HTML &amp;amp; CSS knowledge, but I hadn’t deeply explored some tags and selectors before. This question made me curious, and I learned something new today!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are Selectors?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Selectors are patterns used to target HTML elements. Once selected, you can style them using CSS or manipulate them using JavaScript.&lt;/p&gt;

&lt;p&gt;Think of them like an “address” to find elements in your web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. What are HTML Selectors?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Selectors are used to find and target elements in your HTML.&lt;/li&gt;
&lt;li&gt;You use selectors in CSS to style elements or in XPath (mainly for testing/automation) to locate elements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. CSS Selector&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Used in CSS to apply styles.&lt;/li&gt;
&lt;li&gt;Example:
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.myclass:nth-child(5) {
  background: yellow;
}
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;This selects only the 5th element having the class myclass.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1z9qs68f5xyxqt45y5o7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1z9qs68f5xyxqt45y5o7.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Selectors &amp;amp; Explanation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;a) Universal Selector (*)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Targets all elements in the document.
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* {
  margin: 0;
  padding: 0;
}
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;&lt;strong&gt;b) Type Selector (Tag name)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Selects elements by their HTML tag name.
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p {
  color: blue;
}
&lt;/code&gt;&lt;/pre&gt;


&lt;ul&gt;
&lt;li&gt;Changes the text color of all &lt;p&gt; tags.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;c) Class Selector (.classname)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-Selects elements with a specific class.&lt;/p&gt;

&lt;p&gt;html&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="box"&amp;gt;&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;css&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.box {
  background: yellow;
}
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;strong&gt;d) ID Selector (#idname)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Selects a single element with a unique ID.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;html&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h1 id="title"&amp;gt;Hello&amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;css&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#title {
  font-size: 24px;
}
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;strong&gt;e) Group Selector (,)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Selects multiple elements at once.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;css&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h1, p, a {
  font-family: Arial, sans-serif;
}
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;strong&gt;f) Descendant Selector (space)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Selects elements inside another element.
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;css
div p {
  color: red;
}
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;strong&gt;g) Child Selector (&amp;gt;)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Selects only direct children.
css
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div &amp;gt; p {
  font-weight: bold;
}
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;strong&gt;h) Pseudo-Class Selectors (:hover, :nth-child)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Targets elements based on state or position.
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.myclass:nth-child(5) {
  background: yellow;
}
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;strong&gt;When to Use Which Selector?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use class when multiple elements share the same style.&lt;/li&gt;
&lt;li&gt;    Use ID for unique elements.&lt;/li&gt;
&lt;li&gt;    Use nth-child or pseudo-classes for special conditions.&lt;/li&gt;
&lt;li&gt;    Use XPath (not CSS) when automating/testing to locate elements in the DOM.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>whatilearnedtoday</category>
      <category>cssselectors</category>
      <category>webdev</category>
    </item>
    <item>
      <title>innerText vs innerHTML vs textContent: What’s the Real Difference?</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Thu, 31 Jul 2025 01:27:02 +0000</pubDate>
      <link>https://forem.com/megha_m/innertext-vs-innerhtml-vs-textcontent-whats-the-real-difference-3cp6</link>
      <guid>https://forem.com/megha_m/innertext-vs-innerhtml-vs-textcontent-whats-the-real-difference-3cp6</guid>
      <description>&lt;p&gt;Hey everyone! &lt;br&gt;
If you’re working with JavaScript and trying to get or change content inside HTML elements, you’ve probably come across these three:&lt;br&gt;
innerText, innerHTML, and textContent.&lt;/p&gt;

&lt;p&gt;They might look similar — but they work differently!&lt;br&gt;
Let’s go through them one by one with simple examples so you can see exactly what each one does.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. innerText&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;innerText gives you the text you can actually see on the screen. It hides anything that’s not visible (like elements with display: none) and respects line breaks and formatting.&lt;/p&gt;

&lt;p&gt;html&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p id="demo1"&amp;gt;Hello &amp;lt;span style="display:none;"&amp;gt;Hidden&amp;lt;/span&amp;gt; World&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const result = document.getElementById("demo1").innerText;
console.log(result);  // Output: "Hello World"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. innerHTML&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;innerHTML gives you everything inside an element — not just the text, but also the HTML tags.&lt;/p&gt;

&lt;p&gt;html&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p id="demo2"&amp;gt;Hello &amp;lt;strong&amp;gt;World&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const result = document.getElementById("demo2").innerHTML;
console.log(result);  // Output: "Hello &amp;lt;strong&amp;gt;World&amp;lt;/strong&amp;gt;"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. textContent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;textContent gives you all the text, even from elements that are hidden — but it doesn’t include any HTML tags.&lt;/p&gt;

&lt;p&gt;html&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p id="demo3"&amp;gt;Hello &amp;lt;span style="display:none;"&amp;gt;Hidden&amp;lt;/span&amp;gt; World&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const result = document.getElementById("demo3").textContent;
console.log(result);  // Output: "Hello Hidden World"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Which One Should You Use?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use innerText if you want only what’s visible on the page.&lt;/li&gt;
&lt;li&gt;Use innerHTML if you need to get or set HTML code.&lt;/li&gt;
&lt;li&gt;Use textContent if you want plain text, including what’s hidden.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;That’s All!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now you won’t mix them up again! Next time you're dealing with the DOM, you’ll know exactly which one to choose — depending on whether you want HTML, visible text, or raw content.&lt;/p&gt;

</description>
      <category>javascripttips</category>
      <category>innertext</category>
      <category>textcontent</category>
      <category>innerhtml</category>
    </item>
    <item>
      <title>What is JSON.stringify()? A Beginner’s Guide with Examples</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Wed, 30 Jul 2025 03:18:26 +0000</pubDate>
      <link>https://forem.com/megha_m/what-is-jsonstringify-a-beginners-guide-with-examples-4hpn</link>
      <guid>https://forem.com/megha_m/what-is-jsonstringify-a-beginners-guide-with-examples-4hpn</guid>
      <description>&lt;p&gt;When building modern web applications, working with JavaScript objects is inevitable. But what happens when you need to send data to a server, store it locally, or debug it in a readable format?&lt;/p&gt;

&lt;p&gt;That’s where JSON.stringify() comes into play — a powerful method that transforms JavaScript objects into JSON strings. In today’s blog, we’ll explore what it does, how it works, and how to use it like a pro.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is JSON.stringify()?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JSON.stringify() is a built-in JavaScript method that converts a JavaScript object, array, or value into a JSON-formatted string.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;JSON.stringify(value, replacer, space);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Use JSON.stringify()?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sending Data to APIs: Most APIs accept JSON-formatted data.&lt;/li&gt;
&lt;li&gt;Saving to Local Storage: localStorage and sessionStorage only store strings.&lt;/li&gt;
&lt;li&gt;Debugging: Easily inspect object structure in a readable format.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Getting Started with an Example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const user = {
  name: "Megha",
  age: 25,
  isMember: true
};

const jsonString = JSON.stringify(user);
console.log(jsonString);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{"name":"Megha","age":25,"isMember":true}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Working with Nested Objects&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const product = {
  id: 101,
  name: "Saree",
  details: {
    color: "Red",
    size: "Free"
  }
};

console.log(JSON.stringify(product));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{"id":101,"name":"Saree","details":{"color":"Red","size":"Free"}}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Pretty Printing with space:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(JSON.stringify(product, null, 2));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "id": 101,
  "name": "Saree",
  "details": {
    "color": "Red",
    "size": "Free"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Filtering Properties with replacer&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const user = {
  name: "Megha",
  age: 25,
  password: "secret"
};

const filteredJSON = JSON.stringify(user, ["name", "age"]);
console.log(filteredJSON);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{"name":"Megha","age":25}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;What JSON.stringify() Ignores&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const data = {
  name: "Test",
  date: new Date(),
  sayHello: function () {
    return "Hello!";
  },
  something: undefined
};

console.log(JSON.stringify(data));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{"name":"Test","date":"2025-07-30T02:19:04.000Z"}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;JSON.stringify() is an essential tool in every JavaScript developer’s toolkit. It allows you to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Serialize complex objects&lt;/li&gt;
&lt;li&gt;Communicate with APIs&lt;/li&gt;
&lt;li&gt;Store structured data&lt;/li&gt;
&lt;li&gt;Clean up logs for debugging&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next time you need to convert your JavaScript objects into a string — remember, JSON.stringify() has you covered!&lt;/p&gt;

</description>
      <category>json</category>
      <category>javascript</category>
      <category>learntocode</category>
    </item>
    <item>
      <title>Treasure Hunt in the Classroom: How Aptitude Became an Adventure</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Wed, 16 Jul 2025 13:59:14 +0000</pubDate>
      <link>https://forem.com/megha_m/treasure-hunt-in-the-classroom-how-aptitude-became-an-adventure-53e0</link>
      <guid>https://forem.com/megha_m/treasure-hunt-in-the-classroom-how-aptitude-became-an-adventure-53e0</guid>
      <description>&lt;p&gt;Like every day, I had my aptitude session in the afternoon. But today was not just about aptitude practice — it was a mix of logic, teamwork, and fun activities. Sometimes, our trainer encourages us to participate in these fun activities to refresh our minds, and today he had something special planned for us:&lt;br&gt;
A Treasure Hunt Game!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How the Game Started&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Our trainer announced that today's activity would be a Treasure Hunt where we needed to solve clues step-by-step to reach the final treasure. He divided us into 4 teams, and each team had 5 members. I was part of one of these teams.&lt;/p&gt;

&lt;p&gt;The first round started with a logic-based seating arrangement question that tested our thinking skills. We discussed as a team and successfully found the answer. Interestingly, the answer was the name of one of our trainers, which became our first clue.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second Round: Prime Numbers&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The next question was related to prime numbers. We solved this as well, and the answer pointed us towards a bike number plate, which was our second clue.&lt;/p&gt;

&lt;p&gt;We found a sheet of paper that instructed us to meet another trainer who would give us the next questions. He gave us two questions, and to get a hint for any question, we had to complete a small task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Completing the Task&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We solved the first question easily. For the second question, we also found the answer, but we weren't fully confident about it. So, we requested a hint.&lt;br&gt;
The trainer said we could get a hint only if one of our team members performed a task. He chose me, and I was asked to introduce myself to everyone. After completing the task, we received the hint — and it turned out that our answer was already correct! This made us laugh, but it was really fun.&lt;/p&gt;

&lt;p&gt;Next Challenge: A 5-Letter Word&lt;/p&gt;

&lt;p&gt;The next round was a bit tricky. We had to guess a 5-letter word within 10 chances. The trainer gave us the first clue:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;    It’s a non-living thing.&lt;/li&gt;
&lt;li&gt;    If triggered, it becomes living.
After thinking carefully, we found the answer: “Badam”. The Badam tree in the backside of our institution was our next clue.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;We searched around the Badam tree and found a small sheet of paper. On it, it was written:&lt;/p&gt;

&lt;p&gt;“Rule No. 1 in Aptitude Class”&lt;/p&gt;

&lt;p&gt;We immediately knew the answer:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;“Aptitude is Easy.”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because every day in our session, our trainer reminds us of these two rules:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Aptitude is Easy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You can understand half of the question; you don’t need to understand the full question.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This was the final treasure we found!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Winning Moment&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Finally, our team was the winner!  We finished the treasure hunt first. It was such a fun and interesting experience that improved our teamwork and problem-solving speed.&lt;/p&gt;

&lt;p&gt;As a reward, each member of our team received a pen and some chocolates.&lt;/p&gt;

&lt;p&gt;I really enjoyed this day and learned that combining logic with fun activities can make learning more memorable.&lt;/p&gt;

</description>
      <category>treasurehunt</category>
      <category>aptitudefun</category>
      <category>teamworkwins</category>
    </item>
    <item>
      <title>Reflecting on My HTML &amp; CSS Journey: From Basics to Practical Projects</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Tue, 15 Jul 2025 03:07:43 +0000</pubDate>
      <link>https://forem.com/megha_m/reflecting-on-my-html-css-journey-from-basics-to-practical-projects-1k46</link>
      <guid>https://forem.com/megha_m/reflecting-on-my-html-css-journey-from-basics-to-practical-projects-1k46</guid>
      <description>&lt;p&gt;Over the past few weeks, I have been deeply focused on strengthening my foundational web development skills, specifically through hands-on practice with HTML and CSS. This period of learning was not just theoretical but highly practical  allowing me to translate concepts into working web pages and user interfaces.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Projects I've Built Using Only HTML &amp;amp; CSS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Throughout this journey, I have created multiple small-scale projects to reinforce my understanding. Below is a snapshot of the types of interfaces I developed: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; To-Do List (UI Only)&lt;/li&gt;
&lt;li&gt; Social Media Login Pages (X, Facebook, Instagram UI clones)&lt;/li&gt;
&lt;li&gt; Restaurant Menu Design (Static UI)&lt;/li&gt;
&lt;li&gt; Portfolio Website (Personal Profile)&lt;/li&gt;
&lt;li&gt; Simple Blog Layout (Text and Navigation)&lt;/li&gt;
&lt;li&gt; Responsive Forms (Dark and Light Modes)&lt;/li&gt;
&lt;li&gt; Sidebar Navigation &amp;amp; Tutorial Pages (Inspired by learning platforms like W3Schools)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Skills Strengthened:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Through these projects, I’ve gained confidence and hands-on experience in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML5 Semantic Structure&lt;/li&gt;
&lt;li&gt; CSS Flexbox and Grid Layouts&lt;/li&gt;
&lt;li&gt; Responsive Design Principles&lt;/li&gt;
&lt;li&gt; Form Styling and UI Components&lt;/li&gt;
&lt;li&gt; Creating Clean, Minimal Web Layouts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What's Next?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With a solid foundation in HTML and CSS, I am now moving forward to strengthen my JavaScript skills. My upcoming focus will be on creating interactive, dynamic web applications where I can bring together everything I’ve learned so far.&lt;/p&gt;

&lt;p&gt;My next milestone:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;➡ Building a complete project using JavaScript for real-world functionality.&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Looking back at my early projects is a motivating reminder of how far consistent practice can take you. While these might seem like simple beginner projects, each one played a role in building my confidence for more advanced development.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Stay tuned — I’ll be sharing my JavaScript journey soon!&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginnerprojects</category>
      <category>htmlcssrecap</category>
    </item>
    <item>
      <title>June Ponal July Kaatre: Where JVM Meets Fun, Learning &amp; Networking!</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Mon, 14 Jul 2025 09:52:22 +0000</pubDate>
      <link>https://forem.com/megha_m/june-ponal-july-kaatre-where-jvm-meets-fun-learning-networking-22f9</link>
      <guid>https://forem.com/megha_m/june-ponal-july-kaatre-where-jvm-meets-fun-learning-networking-22f9</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I had the opportunity to attend another fantastic Code on JVM event, part of the "June Ponal July Kaatre" tech series hosted at Yuniq, Ticel Park. I was genuinely looking forward to this event because the agenda promised an exciting mix of learning, networking, and fun activities.&lt;/p&gt;

&lt;p&gt;Having previously attended a Code on JVM session, I already knew how much value these events bring — whether it's gaining technical insights, building connections within the industry, or simply having a great time. These experiences remind me why consistent participation in such events truly helps you grow as a tech professional.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47bmehhw7x2t1w93emrs.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47bmehhw7x2t1w93emrs.jpeg" alt=" " width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agenda Highlights&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Introduction to Code on JVM&lt;/li&gt;
&lt;li&gt; Technical Talk Sessions&lt;/li&gt;
&lt;li&gt; Fun Activities&lt;/li&gt;
&lt;li&gt; Interactive Kahoot Quiz&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How the Day Went&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Registration &amp;amp; Kick-off&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After registration, I received my ID card, pen, and notebook. My friends and I captured some fun moments at the photo booth — the environment was energetic, and the excitement for the sessions ahead was palpable.&lt;/p&gt;

&lt;p&gt;At 9:30 AM sharp, the event kicked off with an introduction session. It was wonderful to see some familiar faces from past events.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical Talk 1: Concurrency &amp;amp; Multithreading through Dasavatharam&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The first session, delivered by Mr. Jenifer, was an insightful breakdown of Concurrency and Multithreading — explained in a unique way through the characters of the movie Dasavatharam. This creative analogy made the concepts of Java Threads more approachable and memorable.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv8vtg1cn0eji7hr6phkm.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv8vtg1cn0eji7hr6phkm.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Concepts Explained via Characters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Krishnaveni Paati – Deadlock&lt;/li&gt;
&lt;li&gt;Fletcher – Race Condition&lt;/li&gt;
&lt;li&gt;Govind Ramaswamy – Main Thread&lt;/li&gt;
&lt;li&gt;Avatar Singh – Daemon Thread&lt;/li&gt;
&lt;li&gt;Shinghen Narahashi – Thread Pool&lt;/li&gt;
&lt;li&gt;Vincent Poovaraagan – Synchronization&lt;/li&gt;
&lt;li&gt;Balram Naidu – Watchdog&lt;/li&gt;
&lt;li&gt;George W. Bush – Exceptional Thread&lt;/li&gt;
&lt;li&gt;Rangaraj Nambi – AtomicInteger&lt;/li&gt;
&lt;li&gt;K.S. Ravikumar – Semaphore&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Break Time: Refreshments &amp;amp; Conversations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We had a short tea break with tea, biscuits, and of course — more photo moments! Breaks like these are perfect for networking and exchanging ideas casually.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fio89ivi0s3pmfk156uey.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fio89ivi0s3pmfk156uey.jpeg" alt=" " width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fun Activity: The Connection Game&lt;/strong&gt;&lt;br&gt;
One of my favorite parts of the event was the Connection Game.&lt;br&gt;
Participants were shown a set of images and asked to guess the technical term they represented. For example:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An image of Zero + Security = Cybersecurity&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This fun activity blended creativity and technical thinking, sparking great conversations and lots of laughs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical Talk 2: Java Garbage Collection&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The second technical session, presented by Mr. Karthick, was focused on Java Garbage Collection (GC). He explained:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  The benefits of Garbage Collection&lt;/li&gt;
&lt;li&gt;    How it works under the hood&lt;/li&gt;
&lt;li&gt;    How GC has evolved across Java versions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This talk highlighted the importance of memory management and how it impacts application performance, scalability, and stability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kahoot Quiz: Java Edition&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To wrap up the technical segment, we had an interactive Java Quiz on Kahoot.&lt;br&gt;
This session was competitive, fun, and educational — a great way to reinforce knowledge through gamification.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftqjf3wnefeuintqmv1vt.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftqjf3wnefeuintqmv1vt.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wrapping Up the Day&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The event concluded with a group photo of all participants — a perfect way to capture the spirit of learning, networking, and community.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Events like Code on JVM remind me how important it is to keep learning , stay connected with the tech community , and never stop being curious. These experiences keep me motivated and ready for the next opportunity to grow .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkwfzza2i0gzma2r8domb.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkwfzza2i0gzma2r8domb.jpeg" alt=" " width="800" height="1142"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>codeonjvm</category>
      <category>juneponaljulykaatre</category>
      <category>multithreading</category>
      <category>garbagecollection</category>
    </item>
    <item>
      <title>My First Step into APIs – With Dogs, Jokes &amp; Weather!</title>
      <dc:creator>Megha M</dc:creator>
      <pubDate>Fri, 11 Jul 2025 12:29:37 +0000</pubDate>
      <link>https://forem.com/megha_m/my-first-step-into-apis-with-dogs-jokes-weather-10eb</link>
      <guid>https://forem.com/megha_m/my-first-step-into-apis-with-dogs-jokes-weather-10eb</guid>
      <description>&lt;p&gt;Today, I explored a new concept in web development — API. I’ve heard the word many times in classes and tutorials, and I finally decided to understand what it actually means and how it works. I haven’t used APIs in a real project yet, but I’m slowly getting comfortable with the idea and the way it works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is an API?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;API stands for Application Programming Interface.&lt;br&gt;
In simple words, it helps two different applications talk to each other and exchange data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt;&lt;br&gt;
Imagine you’re in a restaurant.&lt;br&gt;
You (the user) tell the waiter (API) what you want.&lt;br&gt;
The waiter goes to the kitchen (server), brings your food (data), and gives it to you.&lt;/p&gt;

&lt;p&gt;That's how APIs work — they request and deliver information between apps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How It Works (In Basic Terms)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In JavaScript, we can use &lt;code&gt;fetch()&lt;/code&gt; to call an API and get the data back.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fetch('API_URL')
  .then(response =&amp;gt; response.json())
  .then(data =&amp;gt; {
    console.log(data);
  });

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Some Fun APIs I Explored&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even though I haven’t used them in a real app, I found these cool APIs that are easy to try out and understand:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dog API&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Gives a random dog image:&lt;br&gt;
&lt;code&gt;https://dog.ceo/api/breeds/image/random&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Joke API&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Returns a random joke:&lt;br&gt;
&lt;code&gt;https://official-joke-api.appspot.com/random_joke&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Weather API&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Shows weather info for a city:&lt;br&gt;
&lt;code&gt;https://api.weatherapi.com/v1/current.json?key=YOUR_KEY&amp;amp;q=Chennai&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Learned&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;APIs connect apps and allow them to share data.&lt;/li&gt;
&lt;li&gt;We use tools like fetch() in JavaScript to interact with APIs.&lt;/li&gt;
&lt;li&gt;Most APIs return data in JSON format (easy to read).&lt;/li&gt;
&lt;li&gt;I'm still exploring how to use them practically, but now the concept makes sense!&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;This was my first step into understanding APIs, and it’s honestly fun to explore! I’m excited to keep learning and soon start using APIs in my mini projects. &lt;/p&gt;

</description>
      <category>codingjourney</category>
      <category>api</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
