<?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: Sajib Khan</title>
    <description>The latest articles on Forem by Sajib Khan (@sajibcse68).</description>
    <link>https://forem.com/sajibcse68</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%2F34367%2Ff2a7efb3-55c6-41a5-b66d-4516376cf09b.jpeg</url>
      <title>Forem: Sajib Khan</title>
      <link>https://forem.com/sajibcse68</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sajibcse68"/>
    <language>en</language>
    <item>
      <title>30 Pro Tips from a Senior Frontend Dev 🚀</title>
      <dc:creator>Sajib Khan</dc:creator>
      <pubDate>Thu, 01 May 2025 19:03:47 +0000</pubDate>
      <link>https://forem.com/sajibcse68/30-pro-tips-from-a-senior-frontend-dev-177i</link>
      <guid>https://forem.com/sajibcse68/30-pro-tips-from-a-senior-frontend-dev-177i</guid>
      <description>&lt;p&gt;👋 After a decade of building web applications and mentoring developers, I've distilled my experience into 30 essential tips that will supercharge your frontend development journey.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎯 Fundamentals &amp;amp; Core Skills
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Master the Fundamentals First&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Deep dive into vanilla JavaScript before frameworks&lt;/li&gt;
&lt;li&gt;Understand CSS fundamentals (specificity, cascade, layout)&lt;/li&gt;
&lt;li&gt;Deep understanding of HTML semantics&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser DevTools are Your Best Friend&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Learn advanced debugging techniques&lt;/li&gt;
&lt;li&gt;Master network tab analysis&lt;/li&gt;
&lt;li&gt;Utilize performance profiling tools, track memory leaks&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Responsive Design is Non-Negotiable&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Mobile-first approach always&lt;/li&gt;
&lt;li&gt;Master CSS flexbox, grid, and layouts&lt;/li&gt;
&lt;li&gt;Deep understanding of media queries and breakpoints&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  💻 Development Practices &amp;amp; Performance
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Component-Based Thinking&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Break UI into reusable components&lt;/li&gt;
&lt;li&gt;Keep components small, focused, single responsibility principle&lt;/li&gt;
&lt;li&gt;Create modular and scalable code&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance Optimization&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Implement lazy loading for routes/components&lt;/li&gt;
&lt;li&gt;Optimize images and assets&lt;/li&gt;
&lt;li&gt;Track Core Web Vitals&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runtime Performance&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Prevent unnecessary re-renders&lt;/li&gt;
&lt;li&gt;Implement debouncing/throttling&lt;/li&gt;
&lt;li&gt;Profile performance regularly&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build Optimization&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Minimize bundle size&lt;/li&gt;
&lt;li&gt;Use tree shaking&lt;/li&gt;
&lt;li&gt;Optimize dependencies&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🛠 Tools &amp;amp; Development Workflow
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Version Control Mastery&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Master Git workflows&lt;/li&gt;
&lt;li&gt;Write meaningful commit messages&lt;/li&gt;
&lt;li&gt;Review PRs thoroughly&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Choose Your Framework Wisely&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Learn one framework deeply first&lt;/li&gt;
&lt;li&gt;Understand the ecosystem&lt;/li&gt;
&lt;li&gt;Don't chase every new trend&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build System Proficiency&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Master your bundler (Webpack/Vite)&lt;/li&gt;
&lt;li&gt;Understand build optimization&lt;/li&gt;
&lt;li&gt;Configure deployment pipelines&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Testing is Not Optional&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Write unit tests (TDD when possible)&lt;/li&gt;
&lt;li&gt;Implement integration / e2e tests&lt;/li&gt;
&lt;li&gt;Focus on user behavior in tests&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;State Management&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Learn different state patterns&lt;/li&gt;
&lt;li&gt;Choose appropriate solutions&lt;/li&gt;
&lt;li&gt;Understand local vs global state&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Code Quality&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Use TypeScript for type safety&lt;/li&gt;
&lt;li&gt;Follow consistent style guides &amp;amp; write ESLint rules&lt;/li&gt;
&lt;li&gt;Write self-documenting code&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  👥 Professional Growth
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Code Review Skills&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Provide constructive feedback&lt;/li&gt;
&lt;li&gt;Focus on architecture&lt;/li&gt;
&lt;li&gt;Document complex logic&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time Management&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Break tasks into smaller chunks&lt;/li&gt;
&lt;li&gt;Set realistic deadlines&lt;/li&gt;
&lt;li&gt;Learn to estimate accurately&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Communication Skills&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Explain technical concepts clearly&lt;/li&gt;
&lt;li&gt;Listen to stakeholders&lt;/li&gt;
&lt;li&gt;Ask good questions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🎨 UI/UX Awareness
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Design Principles&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Understand basic design theory&lt;/li&gt;
&lt;li&gt;Implement smooth animations considering performance impact&lt;/li&gt;
&lt;li&gt;Gather user feedback&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Experience Focus&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Handle loading states&lt;/li&gt;
&lt;li&gt;Manage error states gracefully&lt;/li&gt;
&lt;li&gt;Think from user's perspective&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Browser Compatibility&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Test across browsers&lt;/li&gt;
&lt;li&gt;Handle graceful degradation&lt;/li&gt;
&lt;li&gt;Use progressive enhancement&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🚀 Advanced Concepts
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Security Best Practices&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Prevent XSS attacks&lt;/li&gt;
&lt;li&gt;Implement Content Security Policy (CSP)&lt;/li&gt;
&lt;li&gt;Sanitize user inputs&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Integration&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Minimize HTTP requests &amp;amp; cache responses effectively&lt;/li&gt;
&lt;li&gt;Handle loading and error states gracefully&lt;/li&gt;
&lt;li&gt;Handle offline scenarios&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance Monitoring&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Use analytics tools&lt;/li&gt;
&lt;li&gt;Track key metrics&lt;/li&gt;
&lt;li&gt;Implement error tracking&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code Architecture&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Plan scalable structures&lt;/li&gt;
&lt;li&gt;Implement design patterns&lt;/li&gt;
&lt;li&gt;Consider maintainability&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser APIs&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Master Intersection Observer&lt;/li&gt;
&lt;li&gt;Implement Service Workers&lt;/li&gt;
&lt;li&gt;Use Local Storage effectively&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🌱 Personal Development
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Learning Habits&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Follow industry trends&lt;/li&gt;
&lt;li&gt;Read technical blogs&lt;/li&gt;
&lt;li&gt;Build side projects &amp;amp; contribute to open source&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Problem-Solving Skills&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Break down complex issues&lt;/li&gt;
&lt;li&gt;Research effectively&lt;/li&gt;
&lt;li&gt;Document solutions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Soft Skills&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Work well in teams&lt;/li&gt;
&lt;li&gt;Manage stakeholder expectations&lt;/li&gt;
&lt;li&gt;Practice empathy&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Career Growth&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Build a portfolio&lt;/li&gt;
&lt;li&gt;Network with peers&lt;/li&gt;
&lt;li&gt;Mentor junior developers, share knowledge&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🤝 Team Collaboration
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Project Management&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Set realistic timelines&lt;/li&gt;
&lt;li&gt;Practice agile methodologies &amp;amp; track progress&lt;/li&gt;
&lt;li&gt;Manage technical debt&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work-Life Balance&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Take regular breaks&lt;/li&gt;
&lt;li&gt;Set healthy boundaries&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🎬 Final Thoughts
&lt;/h3&gt;

&lt;p&gt;Remember, becoming a great frontend developer is a journey, not a destination. Take these tips as guidelines, but develop your own style and approach. Stay curious, keep learning, and most importantly, enjoy the process!&lt;/p&gt;

&lt;p&gt;Originally published at &lt;a href="https://sajibkhan.com/blog/30-pro-tips-from-a-senior-frontend-dev" rel="noopener noreferrer"&gt;https://sajibkhan.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>frontend</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>How HTTPS Works and Why Its Important?</title>
      <dc:creator>Sajib Khan</dc:creator>
      <pubDate>Thu, 26 Dec 2024 12:27:07 +0000</pubDate>
      <link>https://forem.com/sajibcse68/how-https-works-and-why-its-important-5e60</link>
      <guid>https://forem.com/sajibcse68/how-https-works-and-why-its-important-5e60</guid>
      <description>&lt;h2&gt;
  
  
  How HTTPS Works and Why It's Important?
&lt;/h2&gt;

&lt;p&gt;Hi there, internet traveler 🌍! Have you ever sent a message online and wondered if someone might be peeking at it? Imagine sending a secret letter and having someone spy on it—scary, right?&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%2Fsajibkhan.com%2Fimages%2Fblogs%2Fhttp-not-sure.webp" 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%2Fsajibkhan.com%2Fimages%2Fblogs%2Fhttp-not-sure.webp" alt="http-not-sure" width="800" height="186"&gt;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Luckily, That’s where HTTPS comes to the rescue 🚀! Let’s discover what HTTPS is and why it’s essential for keeping you safe while browsing the web.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is HTTPS?
&lt;/h2&gt;

&lt;p&gt;HTTPS stands for &lt;strong&gt;HyperText Transfer Protocol Secure&lt;/strong&gt;. Think of it as the superhero version of HTTP, the standard way your browser talks to websites. If you spot a little &lt;strong&gt;padlock&lt;/strong&gt; in your browser’s address bar, that’s your sign that HTTPS is protecting you 🛡️. HTTPS uses the port 443 by default.&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%2Fsajibkhan.com%2Fimages%2Fblogs%2Fhttps-connection-is-secure.webp" 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%2Fsajibkhan.com%2Fimages%2Fblogs%2Fhttps-connection-is-secure.webp" alt="https-connection-is-secure" width="800" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Do We Need HTTPS?
&lt;/h2&gt;

&lt;p&gt;There are &lt;strong&gt;three&lt;/strong&gt; main reasons why HTTPS is crucial:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Privacy&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Integrity&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Identification&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  1. Privacy: Guarding Your Secrets
&lt;/h3&gt;

&lt;p&gt;Imagine you’re messaging a friend. If your message isn’t secure, attackers might read it, track behavioral and identification data! No one wants that. With HTTPS, your messages are locked up tight, just like a super-secure box. Only you and your friend can see what's inside 📬.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Integrity: Keeping Your Message Safe
&lt;/h3&gt;

&lt;p&gt;Imagine sending a text to your friend: "Hey, let's get ice cream!🍦".&lt;br&gt;&lt;br&gt;
But uh-oh! A sneaky hacker grabs your message and changes it to: "Hey, I don't want to hang out! 😠".&lt;br&gt;&lt;br&gt;
Your friend gets the fake message and feels sad 😢. This is called a &lt;strong&gt;man-in-the-middle attack&lt;/strong&gt;. Thankfully, HTTPS ensures that your original message remains untouched during transmission.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Identification: Knowing Who’s Who
&lt;/h3&gt;

&lt;p&gt;Have you ever gotten a message from someone pretending to be your friend, only to find out it's a sneaky hacker? That’s where HTTPS comes in to save the day! It uses &lt;strong&gt;SSL certificates&lt;/strong&gt; to protect you.&lt;/p&gt;

&lt;p&gt;Think of 'SSL certificates' like identity cards for websites. They show that the site is really who it claims to be. So, when you’re online, you can feel safe knowing you’re talking to your real friend, not an imposter 🕵️‍♂️!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Power of Encryption: Keeping Your Secrets Safe
&lt;/h2&gt;

&lt;p&gt;Have you ever wondered how your messages and personal info stay private when you shop online or browse the web? 🌟 Let’s dive into how this works with some fun examples!&lt;/p&gt;

&lt;h3&gt;
  
  
  What Is Encryption?
&lt;/h3&gt;

&lt;p&gt;Think of sending a secret note to your friend:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You put your note in a special box&lt;/li&gt;
&lt;li&gt;Lock it with a key&lt;/li&gt;
&lt;li&gt;Only your friend has the matching key to open it&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's exactly how encryption works online! It keeps your messages safe from others. It’s all about keeping your data private by transforming it into a code that only the right person can decode.&lt;/p&gt;

&lt;h3&gt;
  
  
  Two Ways to Lock Your Messages 🗝️
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Single-Key Method (Symmetric)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Like using one key for your messages&lt;/li&gt;
&lt;li&gt;Same key locks and unlocks&lt;/li&gt;
&lt;li&gt;Problem: Sharing the key can be risky

&lt;ul&gt;
&lt;li&gt;Example: If you hide the key in your sock, someone might find it! ⚠️&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h4&gt;
  
  
  Two-Key Method (Asymmetric)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;You have two special keys:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sharing Key&lt;/strong&gt; (public key): Share with anyone&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secret Key&lt;/strong&gt; (private key): Keep it to yourself&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;How it works:

&lt;ul&gt;
&lt;li&gt;Friends use your sharing key (&lt;em&gt;public key&lt;/em&gt;) to lock messages&lt;/li&gt;
&lt;li&gt;Only your secret key (&lt;em&gt;private key&lt;/em&gt;) can unlock them&lt;/li&gt;
&lt;li&gt;Super safe! 🛡️&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;So, now If your friend wants to send you a secure message, they lock (encode) the message with your public key. Only you can unlock it using your private key. No spy can break in! 🔑&lt;/p&gt;

&lt;h3&gt;
  
  
  How Websites Keep You Safe 🌐
&lt;/h3&gt;

&lt;p&gt;When you see a padlock (🔒) in your browser, it means the website is using encryption to keep your data safe. Here’s how it all comes together:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The website gives you its public key&lt;/strong&gt;. This is like saying, “Here’s my safe lock; go ahead and use it!”&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You use that public key to send a secret password&lt;/strong&gt;. This password lets both you and the website talk privately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;From that point on, all your data is locked up safe&lt;/strong&gt; and sound.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Actually browser and website go through a process called an SSL/TLS handshake. By &lt;strong&gt;combining both symmetric and asymmetric keys&lt;/strong&gt;, your browser and the website can exchange information securely in a flash! ✨&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Handshake of the Internet: Keeping You Safe Online
&lt;/h2&gt;

&lt;p&gt;Every time you visit a website and see that little padlock icon, think of your browser giving a friendly handshake to the site, saying, “Don’t worry, we’re safe here!” 🤝 Let’s explore this digital handshake and see how it keeps your information secure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s a Handshake?
&lt;/h2&gt;

&lt;p&gt;Imagine you meet someone new and want to share secrets (like passwords). You need to trust them completely! When your browser connects to a secure site they perform a digital handshake. This is just a fancy way of agreeing on how to keep their conversation private.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Handshake Steps:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Left Clap (Client Hello)&lt;/strong&gt;: Browser sends a message to website (server) with a list of security options (e.g. I know A, B, C, D cipher suites).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Right Clap (Server Hello)&lt;/strong&gt;: Website (server) replies with its choice of security method (e.g. ok, let’s use ‘C’ cipher suite) and shares its ID (like a driver’s license) to prove it's real.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Vertical Shaka (Client Key Exchange)&lt;/strong&gt;: Your browser does two important things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Checks the Website's ID&lt;/strong&gt;: Like checking someone's driver's license, your browser makes sure the website's certificate is real by checking it is issued by a trusted certificate authority (like GoDaddy, DigiCert, etc.).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creates and Sends a Special Key (Session Key)&lt;/strong&gt;:

&lt;ol&gt;
&lt;li&gt;Your browser creates a special pre-master key (we call it a "session key") 🔑&lt;/li&gt;
&lt;li&gt;It locks this key using the &lt;strong&gt;website's public key&lt;/strong&gt; (like putting it in a box only the website can open)&lt;/li&gt;
&lt;li&gt;Then sends it to the website&lt;/li&gt;
&lt;/ol&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;Shaka Horizontal Rotation (Change Cipher Spec)&lt;/strong&gt;: They agree on a secret code for all future messages. At this point browser (client) and website (server) both have common key known as &lt;strong&gt;session key&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;

&lt;/ol&gt;

&lt;p&gt;And just like that, all the communication is now secured!&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does This Matter to You?
&lt;/h2&gt;

&lt;p&gt;When you’re browsing, you want to be sure your personal info is safe. That’s why you should:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Always look for the padlock symbol—it means you’re in a safe space.&lt;/li&gt;
&lt;li&gt;Use HTTPS websites for secure connections. The “S” stands for &lt;em&gt;secure&lt;/em&gt;—stick with it!&lt;/li&gt;
&lt;li&gt;Keep your browser updated to enjoy the latest security features.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Wrapping It Up
&lt;/h2&gt;

&lt;p&gt;And that’s it! HTTPS is your trusty sidekick on the web, ensuring your online adventures are safe and sound. It protects your privacy and keeps your messages intact. Next time you browse, remember the power of that little padlock, and enjoy your time online! 🏄‍♂️&lt;/p&gt;

&lt;p&gt;Originally published at &lt;strong&gt;&lt;a href="https://sajibkhan.com/blog/how-https-works-and-why-Its-Important" rel="noopener noreferrer"&gt;https://sajibkhan.com&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>https</category>
      <category>webdev</category>
      <category>learning</category>
      <category>security</category>
    </item>
  </channel>
</rss>
