<?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: Munin Borah</title>
    <description>The latest articles on Forem by Munin Borah (@munin-1).</description>
    <link>https://forem.com/munin-1</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%2F2992284%2F34d70490-a4aa-4ca7-9630-41d8cf900908.jpg</url>
      <title>Forem: Munin Borah</title>
      <link>https://forem.com/munin-1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/munin-1"/>
    <language>en</language>
    <item>
      <title>Day 19/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Fri, 30 May 2025 02:18:21 +0000</pubDate>
      <link>https://forem.com/munin-1/day-19200-full-stack-26i1</link>
      <guid>https://forem.com/munin-1/day-19200-full-stack-26i1</guid>
      <description>&lt;p&gt;&lt;strong&gt;Title: Day 19/200 – Mastering CSS Transitions and Transforms (With Easy Examples)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hey everyone! Today was Day 19 of my 200-day journey to becoming a full stack developer. I focused on learning two powerful CSS properties: &lt;code&gt;transition&lt;/code&gt; and &lt;code&gt;transform&lt;/code&gt;. They might sound a bit fancy, but they’re actually super useful and easy to understand once you get the hang of them. Let’s break them down step by step!&lt;/p&gt;




&lt;h3&gt;
  
  
  🟢 What are CSS Transitions?
&lt;/h3&gt;

&lt;p&gt;CSS transitions allow you to smoothly change property values over a specific duration. Instead of an abrupt change, transitions create an animation-like effect. Think of them as a gentle way to move from one state to another.&lt;/p&gt;

&lt;h4&gt;
  
  
  Basic Syntax:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;transition&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;property&lt;/span&gt; &lt;span class="nt"&gt;duration&lt;/span&gt; &lt;span class="nt"&gt;timing-function&lt;/span&gt; &lt;span class="nt"&gt;delay&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;property&lt;/code&gt; – the CSS property you want to animate.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;duration&lt;/code&gt; – how long the animation lasts (e.g., &lt;code&gt;0.3s&lt;/code&gt; or &lt;code&gt;300ms&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;timing-function&lt;/code&gt; – how the animation progresses (e.g., &lt;code&gt;ease&lt;/code&gt;, &lt;code&gt;linear&lt;/code&gt;, &lt;code&gt;ease-in&lt;/code&gt;, etc.).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;delay&lt;/code&gt; – how long to wait before starting the animation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Simple Example: Hover Button
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"btn"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Hover Me&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.btn&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;skyblue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;background-color&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.btn&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;coral&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ &lt;strong&gt;What’s happening?&lt;/strong&gt;&lt;br&gt;
When you hover over the button, the background color smoothly changes from skyblue to coral over 0.3 seconds.&lt;/p&gt;




&lt;h3&gt;
  
  
  🟢 CSS Transforms – Moving and Shaping Elements
&lt;/h3&gt;

&lt;p&gt;Transforms let you visually change an element’s appearance: you can move it, rotate it, scale it up or down, or even skew it.&lt;/p&gt;

&lt;h4&gt;
  
  
  Basic Transform Properties:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;translateX(px)&lt;/code&gt; / &lt;code&gt;translateY(px)&lt;/code&gt; – Move the element along the X or Y axis.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;rotate(deg)&lt;/code&gt; – Rotate the element.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;scale(scalar)&lt;/code&gt; – Resize the element (scale up or down).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;skew(deg)&lt;/code&gt; – Tilt the element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Simple Example: Scaling an Image
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"image"&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"https://via.placeholder.com/150"&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"sample image"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.image&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;transform&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.image&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;scale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1.2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ &lt;strong&gt;What’s happening?&lt;/strong&gt;&lt;br&gt;
When you hover over the image, it grows 1.2 times bigger, creating a zoom-in effect.&lt;/p&gt;




&lt;h3&gt;
  
  
  🟢 Putting Transitions and Transforms Together
&lt;/h3&gt;

&lt;p&gt;The magic really happens when you combine transitions and transforms. Let’s say you want to make a button that rotates slightly and changes color when hovered over.&lt;/p&gt;

&lt;h4&gt;
  
  
  Example: Animated Button
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fancy-btn"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Hover Over Me!&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.fancy-btn&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#4CAF50&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;pointer&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;background-color&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;transform&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.fancy-btn&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#45a049&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rotate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;5deg&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ &lt;strong&gt;What’s happening?&lt;/strong&gt;&lt;br&gt;
When you hover over the button, it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Changes color from green to a darker green.&lt;/li&gt;
&lt;li&gt;Rotates by 5 degrees, adding a playful effect!&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🟢 More Practical Examples!
&lt;/h3&gt;

&lt;p&gt;Let’s look at a few more examples so you can see how flexible these properties are.&lt;/p&gt;

&lt;h4&gt;
  
  
  1️⃣ Smooth Sidebar Menu
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"sidebar"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Sidebar Content&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.sidebar&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;200px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#333&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#fff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;transform&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translateX&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;-100%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;fixed&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100vh&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.sidebar.active&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translateX&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// JavaScript to toggle sidebar&lt;/span&gt;
&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;querySelector&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.sidebar&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;classList&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toggle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;active&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ When the &lt;code&gt;.active&lt;/code&gt; class is added to &lt;code&gt;.sidebar&lt;/code&gt;, it smoothly slides in from the left!&lt;/p&gt;




&lt;h4&gt;
  
  
  2️⃣ Rotating Card on Hover
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"card"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Card&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.card&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;pink&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;transform&lt;/span&gt; &lt;span class="m"&gt;0.5s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.card&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rotate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;15deg&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ The card tilts slightly to create a dynamic effect.&lt;/p&gt;




&lt;h3&gt;
  
  
  🟢 Key Takeaways
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Transitions&lt;/strong&gt; = Smooth changes in CSS property values over time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transforms&lt;/strong&gt; = Visually alter an element (move, rotate, scale, skew).&lt;/li&gt;
&lt;li&gt;Combine both for cool, interactive effects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These simple concepts can make your web pages feel alive and interactive without needing complex JavaScript. 🎉&lt;/p&gt;




&lt;h3&gt;
  
  
  🎯 Next Steps: Moving to JavaScript!
&lt;/h3&gt;

&lt;p&gt;After mastering these two CSS properties, I’m excited to dive into JavaScript soon. JavaScript will let me add even more dynamic behavior to my websites—like toggling classes, creating animations, or responding to user interactions.&lt;/p&gt;

&lt;p&gt;Stay tuned for tomorrow’s update!&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Final Words&lt;/strong&gt;&lt;br&gt;
CSS transitions and transforms might sound intimidating at first, but with simple examples and practice, they become second nature. Give these examples a try, tweak them, and watch your web pages come to life!&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%2Fvsa6aez2wwdp8cvw4b7l.jpg" 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%2Fvsa6aez2wwdp8cvw4b7l.jpg" alt="Image description" width="680" height="512"&gt;&lt;/a&gt;&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%2F4apc6dfbbiebrj08k5my.jpg" 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%2F4apc6dfbbiebrj08k5my.jpg" alt="Image description" width="680" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 17&amp;18/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Thu, 29 May 2025 02:03:10 +0000</pubDate>
      <link>https://forem.com/munin-1/day-1718200-full-stack-4fha</link>
      <guid>https://forem.com/munin-1/day-1718200-full-stack-4fha</guid>
      <description>&lt;p&gt;&lt;strong&gt;Day 17 &amp;amp; 18/200 (Full Stack)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🌟 &lt;strong&gt;Day 17 &amp;amp; 18 of 200 Days of Code: Mastering CSS Animations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not every day has to be a marathon of learning new concepts. Some days are about diving deep into a single topic and getting hands-on experience. On &lt;strong&gt;Day 17 &amp;amp; 18&lt;/strong&gt;, I focused on &lt;strong&gt;CSS animations&lt;/strong&gt;, a key part of front-end web development.&lt;/p&gt;

&lt;p&gt;By the end of these two days, I gained a solid understanding of how to add smooth, engaging animations to websites using just CSS — no JavaScript required!&lt;/p&gt;




&lt;h3&gt;
  
  
  ☁️ &lt;strong&gt;Understanding CSS Animations&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;CSS animations allow you to add movement and effects to web elements. They’re an excellent way to create engaging user experiences, whether it’s for buttons, images, or entire page transitions.&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;animation-name&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="py"&gt;property&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="py"&gt;property&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.element&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;animation-name&lt;/span&gt; &lt;span class="n"&gt;duration&lt;/span&gt; &lt;span class="n"&gt;timing-function&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🎨 &lt;strong&gt;Key Concepts in CSS Animations&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;1. Keyframes: The Core of Animations&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The &lt;code&gt;@keyframes&lt;/code&gt; rule is what powers CSS animations. It defines how an element will change over time. The &lt;strong&gt;from&lt;/strong&gt; and &lt;strong&gt;to&lt;/strong&gt; values represent the start and end points of the animation.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;slideIn&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translateX&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;-100%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translateX&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.element&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;slideIn&lt;/span&gt; &lt;span class="m"&gt;2s&lt;/span&gt; &lt;span class="n"&gt;ease-in-out&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This makes an element slide from the left to its original position over &lt;strong&gt;2 seconds&lt;/strong&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;2. Animation Timing and Duration&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The &lt;code&gt;animation-duration&lt;/code&gt; property defines how long the animation will take, and the &lt;code&gt;animation-timing-function&lt;/code&gt; controls the speed curve.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.element&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;slideIn&lt;/span&gt; &lt;span class="m"&gt;2s&lt;/span&gt; &lt;span class="n"&gt;ease-in-out&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ease-in-out&lt;/strong&gt;: starts slow, speeds up in the middle, and slows down at the end.&lt;/li&gt;
&lt;li&gt;Other timing functions: &lt;strong&gt;linear&lt;/strong&gt;, &lt;strong&gt;ease-in&lt;/strong&gt;, &lt;strong&gt;ease-out&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;3. Repeating and Delaying Animations&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;You can make animations repeat infinitely or delay them before they start.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.element&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;slideIn&lt;/span&gt; &lt;span class="m"&gt;2s&lt;/span&gt; &lt;span class="n"&gt;ease-in-out&lt;/span&gt; &lt;span class="n"&gt;infinite&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will repeat the animation indefinitely.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔍 &lt;strong&gt;Advanced Techniques in CSS Animations&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;1. Combining Animations&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;You can stack multiple animations on the same element to create more complex effects. This involves using &lt;strong&gt;multiple keyframes&lt;/strong&gt; for each effect.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;fadeInSlide&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translateX&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;-100%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;translateX&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.element&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;fadeInSlide&lt;/span&gt; &lt;span class="m"&gt;2s&lt;/span&gt; &lt;span class="n"&gt;ease-in-out&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This combines a &lt;strong&gt;fade-in effect&lt;/strong&gt; with a &lt;strong&gt;slide-in effect&lt;/strong&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;2. Hover Effects&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;CSS animations can be triggered on hover, which is great for interactive elements like buttons.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;button&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#3498db&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;transform&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;background-color&lt;/span&gt; &lt;span class="m"&gt;0.3s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;button&lt;/span&gt;&lt;span class="nd"&gt;:hover&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;scale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#2980b9&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This effect increases the button’s size and changes its color when the user hovers over it.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;3. Using Transforms for Smooth Animations&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The &lt;strong&gt;transform&lt;/strong&gt; property helps with animations like moving, rotating, or scaling elements.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;rotate&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rotate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0deg&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="err"&gt;100&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rotate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;360deg&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.spinner&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;5px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="m"&gt;#f3f3f3&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border-top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;5px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="m"&gt;#3498db&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rotate&lt;/span&gt; &lt;span class="m"&gt;2s&lt;/span&gt; &lt;span class="n"&gt;linear&lt;/span&gt; &lt;span class="n"&gt;infinite&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates a &lt;strong&gt;loading spinner&lt;/strong&gt; that rotates indefinitely.&lt;/p&gt;




&lt;h3&gt;
  
  
  🎯 &lt;strong&gt;Why CSS Animations Matter&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;CSS animations aren’t just visually appealing; they also improve user experience. Here’s why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Engagement&lt;/strong&gt;: Animations make a website feel more interactive and polished.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guidance&lt;/strong&gt;: They can highlight important elements and help guide the user’s attention.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback&lt;/strong&gt;: Animations are great for providing instant feedback on user actions, like hovering over buttons or submitting forms.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🧘‍♂️ &lt;strong&gt;A Small Win is Still a Win&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Some days are for major breakthroughs, and other days are about refining what you already know. I didn’t build anything huge on these two days, but I got hands-on experience with CSS animations and applied what I learned to real-world examples.&lt;/p&gt;

&lt;p&gt;I’ve definitely gained a deeper understanding of how to use animations in web development, and it’s a skill I’m eager to keep building on.&lt;/p&gt;




&lt;h3&gt;
  
  
  💡 &lt;strong&gt;Quick Recap&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;✅ &lt;strong&gt;Key Concepts I Learned:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to create animations using &lt;strong&gt;@keyframes&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Controlling timing with &lt;strong&gt;animation-duration&lt;/strong&gt; and &lt;strong&gt;animation-timing-function&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Applying animations to &lt;strong&gt;hover&lt;/strong&gt; states and interactive elements.&lt;/li&gt;
&lt;li&gt;Combining animations for more complex effects.&lt;/li&gt;
&lt;li&gt;Using &lt;strong&gt;transformations&lt;/strong&gt; to move, rotate, and scale elements.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  📚 &lt;strong&gt;Resources to Dive Deeper&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;MDN Web Docs: CSS Animations&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CSS Tricks: A Complete Guide to CSS Animation&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  👀 &lt;strong&gt;What's Next?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;I’m excited to keep exploring more advanced animation techniques and applying them to my projects. Next, I might experiment with &lt;strong&gt;CSS transitions&lt;/strong&gt; or dive deeper into &lt;strong&gt;responsive design&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;What’s your favorite CSS animation effect? Let me know in the comments! I’d love to hear about your experiences.&lt;/p&gt;

&lt;p&gt;Until tomorrow, happy coding! 💻&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;#CSS #WebDevelopment #FrontendDev #100DaysOfCode #CodingJourney #LearnToCode&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 16/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Tue, 27 May 2025 01:01:14 +0000</pubDate>
      <link>https://forem.com/munin-1/day-16200-full-stack-395i</link>
      <guid>https://forem.com/munin-1/day-16200-full-stack-395i</guid>
      <description>&lt;h2&gt;
  
  
  🌟 Day 16 of 200 Days of Code: Keeping It Light, Staying Consistent
&lt;/h2&gt;

&lt;p&gt;Not every day has to be packed with hours of coding and dozens of new concepts. Today was light, but consistent — and that’s what truly matters in a long-term journey like this one.&lt;/p&gt;

&lt;p&gt;On &lt;strong&gt;Day 16 of my full-stack journey&lt;/strong&gt;, I focused on just two powerful features in CSS:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Box shadows using the &lt;code&gt;box-shadow&lt;/code&gt; property&lt;/li&gt;
&lt;li&gt;CSS variables (also called custom properties)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even in just a short session, I learned how these small tools can make a big visual difference and improve my workflow.&lt;/p&gt;




&lt;h3&gt;
  
  
  ☁️ Adding Depth with CSS &lt;code&gt;box-shadow&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;box-shadow&lt;/code&gt; property lets you add &lt;strong&gt;drop shadows&lt;/strong&gt; to elements, giving them a sense of depth and elevation — a simple way to make your UI look more polished.&lt;/p&gt;

&lt;h4&gt;
  
  
  📌 Syntax:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;box-shadow&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;offset-x&lt;/span&gt; &lt;span class="nt"&gt;offset-y&lt;/span&gt; &lt;span class="nt"&gt;blur-radius&lt;/span&gt; &lt;span class="nt"&gt;color&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also add &lt;strong&gt;spread&lt;/strong&gt; and &lt;strong&gt;inset&lt;/strong&gt; values:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;box-shadow&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;offset-x&lt;/span&gt; &lt;span class="nt"&gt;offset-y&lt;/span&gt; &lt;span class="nt"&gt;blur-radius&lt;/span&gt; &lt;span class="nt"&gt;spread-radius&lt;/span&gt; &lt;span class="nt"&gt;color&lt;/span&gt; &lt;span class="nt"&gt;inset&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  ✅ Basic Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.card&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;box-shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;4px&lt;/span&gt; &lt;span class="m"&gt;4px&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0.2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This adds a soft gray shadow offset 4px to the right and 4px down.&lt;/p&gt;

&lt;h4&gt;
  
  
  🎨 Multiple Shadows:
&lt;/h4&gt;

&lt;p&gt;You can even stack multiple shadows!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;button&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;box-shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;2px&lt;/span&gt; &lt;span class="m"&gt;2px&lt;/span&gt; &lt;span class="m"&gt;5px&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
              &lt;span class="m"&gt;-2px&lt;/span&gt; &lt;span class="m"&gt;-2px&lt;/span&gt; &lt;span class="m"&gt;5px&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0.7&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates a subtle 3D, &lt;strong&gt;neumorphic-style&lt;/strong&gt; effect.&lt;/p&gt;

&lt;h4&gt;
  
  
  🔍 Inset Shadow:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;input&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;box-shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;inset&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;2px&lt;/span&gt; &lt;span class="m"&gt;5px&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;inset&lt;/code&gt; makes the shadow appear &lt;strong&gt;inside&lt;/strong&gt; the element, often used in inputs or cards for inner glow effects.&lt;/p&gt;




&lt;h3&gt;
  
  
  🎯 Introducing CSS Variables (Custom Properties)
&lt;/h3&gt;

&lt;p&gt;CSS variables allow you to define values once and reuse them across your styles — a game-changer for consistency and maintainability in large projects.&lt;/p&gt;

&lt;h4&gt;
  
  
  📌 Syntax:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nd"&gt;:root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="py"&gt;--primary-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#3498db&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="py"&gt;--card-padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.card&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;--primary-color&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;--card-padding&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  ✅ Why CSS Variables Are Awesome:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Easy to update theme colors or layout settings&lt;/li&gt;
&lt;li&gt;Great for dark/light modes&lt;/li&gt;
&lt;li&gt;Reduces repetition in your code&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  💡 Local vs Global Variables:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="c"&gt;/* Global */&lt;/span&gt;
&lt;span class="nd"&gt;:root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="py"&gt;--text-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#333&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c"&gt;/* Local */&lt;/span&gt;
&lt;span class="nc"&gt;.container&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="py"&gt;--text-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;--text-color&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c"&gt;/* uses local value */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The value of a CSS variable can be overridden within a specific selector, making them very flexible.&lt;/p&gt;




&lt;h3&gt;
  
  
  🧘‍♂️ A Small Win Is Still a Win
&lt;/h3&gt;

&lt;p&gt;Some days are for big breakthroughs, others are just about &lt;strong&gt;showing up&lt;/strong&gt;. Today, I learned something new, practiced what I learned, and kept the momentum going. That’s what progress looks like.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“You don’t have to be extreme, just consistent.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Tomorrow, I might dig deeper into &lt;strong&gt;CSS transitions&lt;/strong&gt; or &lt;strong&gt;responsive design&lt;/strong&gt; — but for now, I’m glad I kept the streak alive.&lt;/p&gt;




&lt;h3&gt;
  
  
  💡 Quick Recap
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;✅ Learned how to use &lt;code&gt;box-shadow&lt;/code&gt; to create depth and style&lt;/li&gt;
&lt;li&gt;✅ Explored CSS variables for more maintainable and scalable code&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  📚 Resources to Dive Deeper
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://css-tricks.com/almanac/properties/b/box-shadow/" rel="noopener noreferrer"&gt;CSS Tricks: Box Shadow Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties" rel="noopener noreferrer"&gt;MDN Web Docs: Using CSS Custom Properties&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  👀 What's Next?
&lt;/h3&gt;

&lt;p&gt;Have you used &lt;code&gt;box-shadow&lt;/code&gt; creatively in your projects? Tried out CSS variables in theming? Let me know in the comments or share your tips!&lt;/p&gt;

&lt;p&gt;Until tomorrow, happy coding! 💻&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%2Fawjkrhbsr2hgltmrnn1w.jpg" 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%2Fawjkrhbsr2hgltmrnn1w.jpg" alt="Image description" width="800" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#CSS #WebDevelopment #FrontendDev #100DaysOfCode #CodingJourney #LearnToCode&lt;/strong&gt;&lt;/p&gt;




</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 15/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Mon, 26 May 2025 01:07:59 +0000</pubDate>
      <link>https://forem.com/munin-1/day-15200-full-stack-37c1</link>
      <guid>https://forem.com/munin-1/day-15200-full-stack-37c1</guid>
      <description>&lt;h2&gt;
  
  
  📱 Day 15 of 200 Days of Code: Understanding CSS Media Queries
&lt;/h2&gt;

&lt;p&gt;Today was a lighter day in my full-stack learning journey — Day 15 out of 200. I didn’t go all out because, honestly, I’m running low on sleep 💤. But progress is progress, and I still learned something valuable:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;✅ &lt;strong&gt;CSS Media Queries&lt;/strong&gt; — the backbone of responsive web design.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Even if it was a small step, learning about media queries opened the door to building websites that look great on &lt;strong&gt;any screen size&lt;/strong&gt; — from tiny smartphones to massive desktop monitors. Let’s break it down in a way that’s easy to understand (especially if you’re just starting out too).&lt;/p&gt;




&lt;h3&gt;
  
  
  🌐 What Are CSS Media Queries?
&lt;/h3&gt;

&lt;p&gt;Media queries are like &lt;strong&gt;rules&lt;/strong&gt; that tell your CSS:&lt;br&gt;
&lt;em&gt;"Hey, only apply these styles if the screen size (or device type) meets these conditions!"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;They are essential for &lt;strong&gt;responsive design&lt;/strong&gt;, meaning your website adapts to different screen sizes and devices — smartphones, tablets, laptops, etc.&lt;/p&gt;


&lt;h3&gt;
  
  
  🔧 Basic Syntax of a Media Query
&lt;/h3&gt;

&lt;p&gt;Here’s the simplest structure of a media query:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;condition&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c"&gt;/* CSS rules go here */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A real-world example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;768px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;lightblue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📱 This means:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“If the screen width is &lt;strong&gt;768 pixels or less&lt;/strong&gt; (tablet or mobile), change the background color to light blue.”&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  🧪 Why Use Media Queries?
&lt;/h3&gt;

&lt;p&gt;Without media queries, your layout might look perfect on a desktop — but completely broken on a mobile phone.&lt;/p&gt;

&lt;p&gt;Media queries help you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Adjust font sizes for smaller screens&lt;/li&gt;
&lt;li&gt;Rearrange layouts for vertical vs horizontal devices&lt;/li&gt;
&lt;li&gt;Hide or show elements based on screen width&lt;/li&gt;
&lt;li&gt;Provide better user experience across all devices&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  📊 Common Use Cases for Media Queries
&lt;/h3&gt;

&lt;p&gt;Here are a few things you can do using media queries:&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Responsive Text Size
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;18px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;600px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;16px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;💡 Reduces font size slightly on small screens for better readability.&lt;/p&gt;




&lt;h4&gt;
  
  
  2. Hide Navigation Menu on Mobile
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.navbar&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;block&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;480px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nc"&gt;.navbar&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧭 You might hide a full-size navbar on small screens and replace it with a hamburger menu using JavaScript or CSS tricks.&lt;/p&gt;




&lt;h4&gt;
  
  
  3. Stack Columns on Small Screens
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.row&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;flex&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.column&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;768px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nc"&gt;.column&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📱 Two columns on desktop become a stacked layout on mobile — simple and effective.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔁 Multiple Media Queries
&lt;/h3&gt;

&lt;p&gt;You can also use multiple breakpoints to adjust your layout across various devices:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="c"&gt;/* Desktop */&lt;/span&gt;
&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;min-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1024px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c"&gt;/* styles */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c"&gt;/* Tablet */&lt;/span&gt;
&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;min-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;768px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1023px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c"&gt;/* styles */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c"&gt;/* Mobile */&lt;/span&gt;
&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;767px&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c"&gt;/* styles */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is often how responsive designs are handled in real-world websites or when using CSS frameworks like &lt;strong&gt;Bootstrap&lt;/strong&gt; or &lt;strong&gt;Tailwind CSS&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  🧠 Key Terms to Remember
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;max-width&lt;/code&gt;: Applies styles if the screen is &lt;strong&gt;less than or equal to&lt;/strong&gt; a certain width.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;min-width&lt;/code&gt;: Applies styles if the screen is &lt;strong&gt;greater than or equal to&lt;/strong&gt; a certain width.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;orientation&lt;/code&gt;: Can be &lt;code&gt;landscape&lt;/code&gt; or &lt;code&gt;portrait&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;hover&lt;/code&gt;, &lt;code&gt;pointer&lt;/code&gt;, &lt;code&gt;resolution&lt;/code&gt;, and more are advanced features of media queries.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  😅 A Real Talk Moment
&lt;/h3&gt;

&lt;p&gt;Today wasn’t a power-packed day. I was tired and didn’t push too hard — but I still showed up and learned something. That’s the real win.&lt;/p&gt;

&lt;p&gt;Learning to code isn’t just about going 100% every single day. It’s about consistency. Even a small concept like media queries can unlock powerful results in your projects.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔗 Want to Learn More?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries" rel="noopener noreferrer"&gt;MDN Web Docs – Media Queries&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://css-tricks.com/a-complete-guide-to-css-media-queries/" rel="noopener noreferrer"&gt;CSS Tricks – Guide to Media Queries&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://web.dev/responsive-web-design-basics/" rel="noopener noreferrer"&gt;Responsive Web Design Basics – Google Web Fundamentals&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;







&lt;p&gt;&lt;strong&gt;#CodingJourney #100DaysOfCode #CSS #ResponsiveDesign #WebDevelopment #MediaQueries&lt;/strong&gt;&lt;br&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%2Fofsgaky4hbgxwcw2b1xl.jpg" 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%2Fofsgaky4hbgxwcw2b1xl.jpg" alt="Image description" width="680" height="512"&gt;&lt;/a&gt;&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%2Fqt6f2lo0yv9jcvub96f2.jpg" 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%2Fqt6f2lo0yv9jcvub96f2.jpg" alt="Image description" width="680" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 14/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Sun, 25 May 2025 11:38:25 +0000</pubDate>
      <link>https://forem.com/munin-1/day-14200-full-stack-57fg</link>
      <guid>https://forem.com/munin-1/day-14200-full-stack-57fg</guid>
      <description>&lt;h2&gt;
  
  
  🧠 Day 14 of 200 Days of Code: Leveling Up My CSS Skills
&lt;/h2&gt;

&lt;p&gt;As part of my 200-day full-stack development journey, Day 14 was all about diving deeper into &lt;strong&gt;CSS&lt;/strong&gt; — the language that gives life and layout to web pages. Today, I focused on three key concepts that are essential for building responsive and structured layouts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSS Sizing Units: &lt;code&gt;px&lt;/code&gt;, &lt;code&gt;em&lt;/code&gt;, &lt;code&gt;rem&lt;/code&gt;, &lt;code&gt;%&lt;/code&gt;, &lt;code&gt;vh&lt;/code&gt;, &lt;code&gt;vw&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;float&lt;/code&gt; and &lt;code&gt;clear&lt;/code&gt; properties&lt;/li&gt;
&lt;li&gt;Flexbox: The modern way to build flexible layouts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whether you're just starting out or need a refresher, here's what I learned — with clear explanations and examples to help you get up to speed.&lt;/p&gt;




&lt;h3&gt;
  
  
  📏 CSS Sizing Units Explained
&lt;/h3&gt;

&lt;p&gt;CSS units define how elements are sized — everything from fonts to containers. Here are the most common ones:&lt;/p&gt;

&lt;h4&gt;
  
  
  1. &lt;code&gt;px&lt;/code&gt; – Pixels (Absolute Unit)
&lt;/h4&gt;

&lt;p&gt;Pixels are the most straightforward unit. They’re fixed and don’t scale with the user’s browser settings or screen size.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;16px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  2. &lt;code&gt;em&lt;/code&gt; – Relative to Parent Element
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;1em&lt;/code&gt; equals the font size of the parent. So if the parent has &lt;code&gt;font-size: 16px&lt;/code&gt;, then &lt;code&gt;1em&lt;/code&gt; = &lt;code&gt;16px&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;16px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1.5em&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* 24px */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. &lt;code&gt;rem&lt;/code&gt; – Relative to Root Element (&lt;code&gt;html&lt;/code&gt;)
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;rem&lt;/code&gt; is more predictable than &lt;code&gt;em&lt;/code&gt; because it always refers to the root element (usually &lt;code&gt;html&lt;/code&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;html&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;16px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;2rem&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* 32px */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  4. &lt;code&gt;%&lt;/code&gt; – Percentage
&lt;/h4&gt;

&lt;p&gt;Used to size elements relative to their parent’s dimensions.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* Half the width of the parent */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  5. &lt;code&gt;vw&lt;/code&gt; and &lt;code&gt;vh&lt;/code&gt; – Viewport Width and Height
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;1vw&lt;/code&gt; = 1% of the viewport width&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;1vh&lt;/code&gt; = 1% of the viewport height
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;div&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100vw&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* Full width of the browser window */&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100vh&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* Full height of the browser window */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🧱 CSS &lt;code&gt;float&lt;/code&gt; and &lt;code&gt;clear&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;Before Flexbox and Grid, &lt;code&gt;float&lt;/code&gt; was one of the few ways to create layouts.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ What is &lt;code&gt;float&lt;/code&gt;?
&lt;/h4&gt;

&lt;p&gt;It allows elements to float left or right, letting text and other inline content wrap around them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"image.jpg"&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"float: left; margin-right: 10px;"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;This text will wrap around the image.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  🧼 What is &lt;code&gt;clear&lt;/code&gt;?
&lt;/h4&gt;

&lt;p&gt;The &lt;code&gt;clear&lt;/code&gt; property prevents elements from flowing around floated elements.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.clearfix&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;clear&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;both&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You might see this pattern:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"float: left; width: 50%;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Left&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"float: right; width: 50%;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Right&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"clear: both;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;strong&gt;Pro Tip&lt;/strong&gt;: Float is mostly outdated for layout purposes. It’s better used for wrapping text around images. For layout, use Flexbox or CSS Grid.&lt;/p&gt;




&lt;h3&gt;
  
  
  🎯 Intro to Flexbox – Modern CSS Layout Made Easy
&lt;/h3&gt;

&lt;p&gt;Flexbox is one of the most powerful features in modern CSS. It simplifies layout design and handles spacing, alignment, and reordering — all without hacks.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ Flexbox Basics
&lt;/h4&gt;

&lt;p&gt;To use Flexbox, set a container’s &lt;code&gt;display&lt;/code&gt; property to &lt;code&gt;flex&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.container&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;flex&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All child elements (flex items) will be laid out in a row by default.&lt;/p&gt;

&lt;h4&gt;
  
  
  🧰 Common Flexbox Properties
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;justify-content&lt;/code&gt;: Aligns items along the &lt;strong&gt;main axis&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;align-items&lt;/code&gt;: Aligns items along the &lt;strong&gt;cross axis&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;flex-direction&lt;/code&gt;: Changes the direction (row or column)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;flex-wrap&lt;/code&gt;: Allows items to wrap to a new line&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  💡 Example: Simple Flex Layout
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"container"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"box"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;1&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"box"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;2&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"box"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;3&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.container&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;flex&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;justify-content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;space-around&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;align-items&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.box&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#4caf50&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;font-weight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;bold&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will display three boxes spaced evenly across the container, vertically centered.&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%2Forlcr94ml3byf5ldkw19.jpg" 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%2Forlcr94ml3byf5ldkw19.jpg" alt="Image description" width="680" height="512"&gt;&lt;/a&gt;&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%2Fdfytjf5x86o5mn5wut6e.jpg" 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%2Fdfytjf5x86o5mn5wut6e.jpg" alt="Image description" width="680" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're on your own learning path, don’t rush. Play around with these concepts. Try small projects. The more you experiment, the more everything will start to click.&lt;/p&gt;




&lt;h3&gt;
  
  
  📚 Resources to Learn More
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/" rel="noopener noreferrer"&gt;CSS Tricks – A Complete Guide to Flexbox&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units" rel="noopener noreferrer"&gt;MDN Web Docs – CSS Units&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://flexboxfroggy.com/" rel="noopener noreferrer"&gt;Flexbox Froggy – Interactive Flexbox Game&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  💬 What About You?
&lt;/h3&gt;

&lt;p&gt;Have you used Flexbox or &lt;code&gt;em&lt;/code&gt;/&lt;code&gt;rem&lt;/code&gt; in your projects? Still struggling with floats? Let’s talk about it in the comments.&lt;/p&gt;




</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 12 &amp; 13 / 200 (Full Stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Sat, 24 May 2025 01:04:58 +0000</pubDate>
      <link>https://forem.com/munin-1/day-12-13-200-full-stack-dcp</link>
      <guid>https://forem.com/munin-1/day-12-13-200-full-stack-dcp</guid>
      <description>&lt;p&gt;For Days 12 and 13 of my full stack journey, I focused on understanding the &lt;strong&gt;CSS &lt;code&gt;position&lt;/code&gt; property&lt;/strong&gt;. It controls how elements are placed on a page, and it’s more complex than it looks at first. Here's what I learned, along with simple examples:&lt;/p&gt;




&lt;h3&gt;
  
  
  ✅ &lt;code&gt;position: static&lt;/code&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;This is the default value for all elements.&lt;/li&gt;
&lt;li&gt;The element stays in the normal flow of the document.&lt;/li&gt;
&lt;li&gt;You &lt;strong&gt;can’t&lt;/strong&gt; move it using &lt;code&gt;top&lt;/code&gt;, &lt;code&gt;left&lt;/code&gt;, &lt;code&gt;right&lt;/code&gt;, or &lt;code&gt;bottom&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📌 &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"position: static; top: 20px;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;I won’t move&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Even though &lt;code&gt;top: 20px&lt;/code&gt; is written, the element won’t move at all.&lt;/p&gt;




&lt;h3&gt;
  
  
  ✅ &lt;code&gt;position: relative&lt;/code&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The element stays in the flow, but now you can move it.&lt;/li&gt;
&lt;li&gt;It moves &lt;strong&gt;relative to its original spot&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📌 &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"position: relative; top: 20px; left: 30px;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;I moved&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will move the element 20px down and 30px to the right, &lt;strong&gt;from where it was originally placed&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  ✅ &lt;code&gt;position: absolute&lt;/code&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Removes the element from the normal flow.&lt;/li&gt;
&lt;li&gt;Positions it based on the &lt;strong&gt;nearest parent&lt;/strong&gt; that is not &lt;code&gt;static&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If there’s no positioned parent, it will position based on the &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📌 &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"position: relative;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"position: absolute; top: 0; left: 0;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;I'm inside&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, the inner box is absolutely positioned &lt;strong&gt;inside&lt;/strong&gt; the outer &lt;code&gt;div&lt;/code&gt;. It will stick to the top-left corner of the parent.&lt;/p&gt;




&lt;h3&gt;
  
  
  ✅ &lt;code&gt;position: fixed&lt;/code&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Removes the element from the flow.&lt;/li&gt;
&lt;li&gt;It stays &lt;strong&gt;fixed to the viewport&lt;/strong&gt; (the screen).&lt;/li&gt;
&lt;li&gt;Doesn’t move when you scroll.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📌 &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"position: fixed; top: 0; left: 0; background: black; color: white;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Fixed Header&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This element stays stuck to the top-left corner of the screen, even if you scroll the page.&lt;/p&gt;




&lt;h3&gt;
  
  
  ✅ &lt;code&gt;position: sticky&lt;/code&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A mix of &lt;code&gt;relative&lt;/code&gt; and &lt;code&gt;fixed&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Starts off like a normal element.&lt;/li&gt;
&lt;li&gt;Once you scroll past it, it &lt;strong&gt;sticks&lt;/strong&gt; to a position (like the top).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📌 &lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;h2&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"position: sticky; top: 0; background: white;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Sticky Heading&lt;span class="nt"&gt;&amp;lt;/h2&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As you scroll, this heading will stick to the top of the page until its section scrolls out of view.&lt;/p&gt;




&lt;h3&gt;
  
  
  💭 Final Thought
&lt;/h3&gt;

&lt;p&gt;I’m moving slow, but I’m not quitting.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 10,11 / 200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Thu, 22 May 2025 01:34:22 +0000</pubDate>
      <link>https://forem.com/munin-1/day-1011-200-full-stack-4937</link>
      <guid>https://forem.com/munin-1/day-1011-200-full-stack-4937</guid>
      <description>&lt;p&gt;Today's progress:&lt;br&gt;
✅ Learned and complete CSS box model. margin, padding, border etc.&lt;br&gt;
✅ Learned about CSS Display property. Block, inline, inline-block element.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;ya, only this much today.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 9/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Tue, 20 May 2025 12:39:21 +0000</pubDate>
      <link>https://forem.com/munin-1/day-9200-full-stack-5616</link>
      <guid>https://forem.com/munin-1/day-9200-full-stack-5616</guid>
      <description>&lt;p&gt;Today's progress:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;learned colors in CSS.&lt;/li&gt;
&lt;li&gt;learned CSS box model (basic), margin, padding, border.&lt;/li&gt;
&lt;li&gt;Build a simple project using this concept for practice.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;its pretty fun to learn CSS.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 8/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Mon, 19 May 2025 01:44:23 +0000</pubDate>
      <link>https://forem.com/munin-1/day-8200-full-stack-egf</link>
      <guid>https://forem.com/munin-1/day-8200-full-stack-egf</guid>
      <description>&lt;p&gt;Today I finally got into &lt;strong&gt;CSS&lt;/strong&gt;, and not gonna lie... this is where stuff starts looking actually &lt;em&gt;cool&lt;/em&gt;. My HTML pages don’t look like plain black-and-white essays anymore 😂&lt;/p&gt;

&lt;h2&gt;
  
  
  👨‍🎨 What Even &lt;em&gt;Is&lt;/em&gt; CSS?
&lt;/h2&gt;

&lt;p&gt;CSS is basically how websites get their style—colors, fonts, spacing, layout—all that good stuff.&lt;/p&gt;

&lt;p&gt;HTML builds the skeleton. CSS makes it pretty.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 Stuff I Learned Today
&lt;/h2&gt;

&lt;h3&gt;
  
  
  ➤ 1. How to Use CSS
&lt;/h3&gt;

&lt;p&gt;There are 3 ways to add CSS:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Inline&lt;/strong&gt; – Right inside the HTML tag. Kinda messy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Internal&lt;/strong&gt; – Inside a &lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; tag in the HTML file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;External&lt;/strong&gt; – Linking a &lt;code&gt;.css&lt;/code&gt; file. This one’s the cleanest and what I’ll probably use most.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ➤ 2. CSS Selectors
&lt;/h3&gt;

&lt;p&gt;Selectors = telling CSS &lt;em&gt;what&lt;/em&gt; to style.&lt;/p&gt;

&lt;p&gt;Some basics I played with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;p&lt;/code&gt; → all &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.className&lt;/code&gt; → any element with that class&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;#idName&lt;/code&gt; → a specific element with that ID&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pretty simple to start, but I know this can get wild later on.&lt;/p&gt;

&lt;h3&gt;
  
  
  ➤ 3. Fonts &amp;amp; Text Styling
&lt;/h3&gt;

&lt;p&gt;Fonts change &lt;em&gt;everything&lt;/em&gt;. I messed with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;font-family&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;font-size&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;font-weight&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;line-height&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Just changing the font and spacing made my practice page feel way less boring.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠️ Mini Practice Project
&lt;/h2&gt;

&lt;p&gt;I threw together a tiny HTML + CSS page just to try all this out. Nothing fancy — just some text, a heading, and styles to make it look less like a school assignment 😅&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Thoughts
&lt;/h2&gt;

&lt;p&gt;CSS is honestly pretty fun so far. Way more visual than HTML. I'm excited to keep going — maybe Flexbox or Grid next? Idk, we’ll see what’s up tomorrow.&lt;/p&gt;

&lt;p&gt;If you're also learning full stack or just starting out, feel free to say hi!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Make it work, then make it look good.” – me, after struggling with fonts for 10 minutes&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  100DaysOfCode #Day8 #WebDev #TeenDev
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 7/200 (full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Sun, 18 May 2025 02:40:09 +0000</pubDate>
      <link>https://forem.com/munin-1/day-7200-full-stack-1k6f</link>
      <guid>https://forem.com/munin-1/day-7200-full-stack-1k6f</guid>
      <description>&lt;p&gt;Today's progress:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML completed.&lt;/li&gt;
&lt;li&gt;NOW moving to CSS&lt;/li&gt;
&lt;li&gt;Total build 7 projects to practice HTML.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>ai</category>
    </item>
    <item>
      <title>Day 6/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Sat, 17 May 2025 01:01:16 +0000</pubDate>
      <link>https://forem.com/munin-1/project-2-and-3-day-6-projects-27i1</link>
      <guid>https://forem.com/munin-1/project-2-and-3-day-6-projects-27i1</guid>
      <description>&lt;p&gt;Today's progress:&lt;br&gt;
✅ Completed HTML.&lt;br&gt;
✅ Built two basic websites using HTML and styled via DeepSeek AI:&lt;/p&gt;

&lt;p&gt;1.Portfolio website.&lt;br&gt;
2.Blog site.&lt;/p&gt;

&lt;p&gt;-These all are my first website. so, ya its not perfect but its better than nothings.&lt;/p&gt;

&lt;p&gt;-Everything uploaded to GitHub.&lt;/p&gt;

&lt;p&gt;Will start CSS soon.&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%2F47lf9z3xkrg0ljqgbwh6.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%2F47lf9z3xkrg0ljqgbwh6.png" alt="Image description" width="800" height="425"&gt;&lt;/a&gt;&lt;br&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%2Flkcjnqrczvlz80zc6lsi.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%2Flkcjnqrczvlz80zc6lsi.png" alt="Image description" width="800" height="425"&gt;&lt;/a&gt;&lt;br&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%2F1lnuwwae7heb4favn43u.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%2F1lnuwwae7heb4favn43u.png" alt="Image description" width="800" height="425"&gt;&lt;/a&gt;&lt;br&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%2Fe2fz49nfgevf2n1c2oz3.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%2Fe2fz49nfgevf2n1c2oz3.png" alt="Image description" width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Day 5/200 (Full stack)</title>
      <dc:creator>Munin Borah</dc:creator>
      <pubDate>Fri, 16 May 2025 00:45:50 +0000</pubDate>
      <link>https://forem.com/munin-1/day-5200-full-stack-18e8</link>
      <guid>https://forem.com/munin-1/day-5200-full-stack-18e8</guid>
      <description>&lt;p&gt;Today's progress:&lt;br&gt;
✅Learned some HTML tags.&lt;br&gt;
✅ HTML course completed.&lt;br&gt;
✅Build my first project: a Travel booking form, but styling is done by gpt.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Let's build some project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Taking small steps and moving forward.&lt;/p&gt;&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%2Fd1w983pfsf38n0jj4r56.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%2Fd1w983pfsf38n0jj4r56.png" alt="Image description" width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

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