<?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>DEV Community: Vicky Shinde </title>
    <description>The latest articles on DEV Community by Vicky Shinde  (@codervicky).</description>
    <link>https://dev.to/codervicky</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1262570%2F5e767296-3eed-44b1-ad4f-bafbb7468f4a.jpeg</url>
      <title>DEV Community: Vicky Shinde </title>
      <link>https://dev.to/codervicky</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codervicky"/>
    <language>en</language>
    <item>
      <title>How to Sell AI Websites to Local Businesses in 2026</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Mon, 06 Jul 2026 17:14:29 +0000</pubDate>
      <link>https://dev.to/codervicky/how-to-sell-ai-websites-to-local-businesses-in-2026-1nj5</link>
      <guid>https://dev.to/codervicky/how-to-sell-ai-websites-to-local-businesses-in-2026-1nj5</guid>
      <description>&lt;h2&gt;
  
  
  Most Local Businesses Don't Need AI...
&lt;/h2&gt;

&lt;p&gt;They need customers. &lt;br&gt;
This is the biggest mistake freelancers make. &lt;/p&gt;

&lt;p&gt;They spend hours talking about AI chatbots, GPT, automation and machine learning..&lt;/p&gt;

&lt;p&gt;The restaurant owner, dentist, gym owner and salon owner don't care about these things.&lt;/p&gt;

&lt;p&gt;What they want is simple: &lt;strong&gt;"Can you help me get customers and save me time?"&lt;/strong&gt; If your AI website can do that they'll happily pay.&lt;/p&gt;

&lt;p&gt;In this guide I'll show you how to sell AI websites to local businesses—even if you're just getting started.&lt;/p&gt;
&lt;h3&gt;
  
  
  What is an AI Website?
&lt;/h3&gt;

&lt;p&gt;An AI website is a business website that uses intelligence to improve customer experience.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; AI Chatbot &lt;/li&gt;
&lt;li&gt; AI lead qualification chatbot&lt;/li&gt;
&lt;li&gt; AI menu assistant for restaurants&lt;/li&gt;
&lt;li&gt; AI FAQ assistant&lt;/li&gt;
&lt;li&gt; AI support assistant&lt;/li&gt;
&lt;li&gt; AI review collection system&lt;/li&gt;
&lt;li&gt; AI appointment booking Website&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is to make the business owners life easier.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 1: Pick One Niche
&lt;/h3&gt;

&lt;p&gt;Don't try to sell to everyone. Choose one niche. Become the specialist.&lt;/p&gt;
&lt;h3&gt;
  
  
  Examples:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Restaurants&lt;/li&gt;
&lt;li&gt;Dentists&lt;/li&gt;
&lt;li&gt;Salons&lt;/li&gt;
&lt;li&gt;Gyms&lt;/li&gt;
&lt;li&gt;Real estate agencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When you focus on one niche everything becomes easier. You'll know their problems what features they need and how to talk to them.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 2: Learn Their Biggest Problems
&lt;/h3&gt;

&lt;p&gt;Before selling anything spend a day researching. Search Google Maps, visit their websites. Read customer reviews. Look for patterns.&lt;/p&gt;

&lt;p&gt;Common problems include:&lt;/p&gt;
&lt;h3&gt;
  
  
  Restaurants
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Many phone calls&lt;/li&gt;
&lt;li&gt;No online menu&lt;/li&gt;
&lt;li&gt;No reservation system&lt;/li&gt;
&lt;li&gt;Customers asking the questions&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Dentists
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Missed appointments&lt;/li&gt;
&lt;li&gt;Patients calling after hours&lt;/li&gt;
&lt;li&gt;Difficult booking process
Write down every problem you find. Those problems become your sales pitch.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Step 3: Build One Demo Website
&lt;/h3&gt;

&lt;p&gt;Don't wait for clients. Create a demo. Include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;homepage&lt;/li&gt;
&lt;li&gt;AI chatbot&lt;/li&gt;
&lt;li&gt;Contact form&lt;/li&gt;
&lt;li&gt;Appointment booking&lt;/li&gt;
&lt;li&gt;Testimonials&lt;/li&gt;
&lt;li&gt;friendly design&lt;/li&gt;
&lt;li&gt;Fast loading speed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When owners see a working demo they understand the value immediately.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 4: Stop Selling AI
&lt;/h3&gt;

&lt;p&gt;Sell outcomes. Of saying &lt;em&gt;"I build AI-powered websites"&lt;/em&gt; say &lt;strong&gt;"I build websites that answer customer questions automatically collect leads and help businesses save hours every week."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Business owners &lt;strong&gt;buy results,&lt;/strong&gt; not technology.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 5: Find Local Businesses
&lt;/h3&gt;

&lt;p&gt;You don't need software. Start with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google Maps&lt;/li&gt;
&lt;li&gt;Instagram&lt;/li&gt;
&lt;li&gt;Facebook&lt;/li&gt;
&lt;li&gt;Local business directories&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Look for businesses that have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Old websites&lt;/li&gt;
&lt;li&gt;No website&lt;/li&gt;
&lt;li&gt;websites&lt;/li&gt;
&lt;li&gt;No booking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are your ideal prospects.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Get My Exact 14-Day Freelance Client Acquisition System to Earn $500/Week&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/14-days-system" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F4va1lnl1sgrhmjxyzjym0j6008vk" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/14-days-system" rel="noopener noreferrer" class="c-link"&gt;
            The 14-Day Client Acquisition Playbook for Freelancers
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop guessing how to find clients. Follow the exact 14-day system instead.Most freelancers don't struggle because they lack skill — they struggle because they have no system. They post randomly, message a few businesses when they feel motivated, and give up after one message goes unanswered. Then months pass with barely any paying clients.This playbook fixes that. It's a day-by-day roadmap — from picking your one service and niche, all the way to closing your first client and asking for referrals — built from real outreach, real objections, and real signed deals, not theory.What you'll learn, day by day: Day 1–3: Choose your one service, niche, and a client-magnet offer that actually converts Day 4–6: Build a portfolio from scratch (even with zero clients) and find 50 real prospects Day 7–9: Send outreach that gets replies, follow up the right way, and run a discovery call that sells itself Day 10–13: Present your solution, price with confidence, handle objections, and close the deal Day 14: Onboard smoothly, get paid without awkwardness, and turn one client into your next referral Plus 5 done-for-you bonus resources:📩 50 Outreach Templates — Instagram, email, LinkedIn, WhatsApp, and niche-specific scripts🎙️ Discovery Call Question Bank — 25 proven questions to uncover what clients really need📄 Proposal Template — the exact structure that turns "I'll think about it" into "let's start"🧾 Invoice Template — look professional and get paid faster📊 Client Tracker Spreadsheet — track prospects, follow-ups, proposals, and payments in one place Who this is for:Freelancers of any skill — designers, developers, writers, marketers, social media managers — who are tired of inconsistent income and want a repeatable way to land clients, instead of hoping the next DM works out. What you get:✔️ The full 14-Day Playbook (PDF)✔️ 5 bonus templates &amp;amp;amp; the Client Tracker spreadsheet✔️ Instant download, use immediatelyYou don't need more skills. You need a system. This is it — 14 days, start to first client.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Step 6: Record a Personalized Video
&lt;/h3&gt;

&lt;p&gt;Visit the business website and record a 2-minute video. Say something like "Hi I was looking at your website and noticed an opportunities that could help you generate more inquiries and reduce repetitive customer questions. I created an ideas specifically for your business."&lt;/p&gt;

&lt;p&gt;Show them don't just tell them. People trust &lt;strong&gt;personalized effort.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 7: Send a Simple Outreach Message
&lt;/h3&gt;

&lt;p&gt;Keep it short.&lt;/p&gt;

&lt;p&gt;Hi! I came across your business online. Noticed a few improvements that could help your website generate more customer inquiries. &lt;/p&gt;

&lt;p&gt;I even recorded a 2-minute video showing exactly what I'd improve. Would you like me to send it?&lt;/p&gt;

&lt;p&gt;That's it. Don't write five paragraphs. Curiosity gets replies.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 8: During the Call Ask Questions
&lt;/h3&gt;

&lt;p&gt;Don't start pitching. Ask questions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How do customers usually contact you?&lt;/li&gt;
&lt;li&gt;What's your biggest challenge online?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ask Question Related to understand pain point of this Business&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 9: Show the AI Features
&lt;/h3&gt;

&lt;p&gt;Now demonstrate the solution.&lt;/p&gt;

&lt;p&gt;Customer asks "What time are you open?" The AI answers instantly.&lt;br&gt;
The owner immediately understands the benefit.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 10: Explain the Value
&lt;/h3&gt;

&lt;p&gt;of saying "This chatbot costs $500" say "If this website helps you book just three extra customers every month it pays for itself."&lt;/p&gt;

&lt;p&gt;Always connect price with value.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 11: Offer a Monthly Plan
&lt;/h3&gt;

&lt;p&gt;Don't build and disappear. Offer support.&lt;/p&gt;
&lt;h4&gt;
  
  
  Starter
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Website&lt;/li&gt;
&lt;li&gt;AI chatbot&lt;/li&gt;
&lt;li&gt;Contact form&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
  
  
  Growth
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Everything above&lt;/li&gt;
&lt;li&gt;Booking system&lt;/li&gt;
&lt;li&gt;Analytics&lt;/li&gt;
&lt;li&gt;SEO updates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Recurring revenue builds a business.&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 12: Ask Every Client for Referrals
&lt;/h3&gt;

&lt;p&gt;clients know other business owners. Ask "Do you know another business that could benefit from something "&lt;/p&gt;

&lt;p&gt;One referral often leads to more opportunities.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Get My Exact 14-Day Freelance Client Acquisition System to Earn $500/Week &lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/14-days-system" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F4va1lnl1sgrhmjxyzjym0j6008vk" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/14-days-system" rel="noopener noreferrer" class="c-link"&gt;
            The 14-Day Client Acquisition Playbook for Freelancers
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop guessing how to find clients. Follow the exact 14-day system instead.Most freelancers don't struggle because they lack skill — they struggle because they have no system. They post randomly, message a few businesses when they feel motivated, and give up after one message goes unanswered. Then months pass with barely any paying clients.This playbook fixes that. It's a day-by-day roadmap — from picking your one service and niche, all the way to closing your first client and asking for referrals — built from real outreach, real objections, and real signed deals, not theory.What you'll learn, day by day: Day 1–3: Choose your one service, niche, and a client-magnet offer that actually converts Day 4–6: Build a portfolio from scratch (even with zero clients) and find 50 real prospects Day 7–9: Send outreach that gets replies, follow up the right way, and run a discovery call that sells itself Day 10–13: Present your solution, price with confidence, handle objections, and close the deal Day 14: Onboard smoothly, get paid without awkwardness, and turn one client into your next referral Plus 5 done-for-you bonus resources:📩 50 Outreach Templates — Instagram, email, LinkedIn, WhatsApp, and niche-specific scripts🎙️ Discovery Call Question Bank — 25 proven questions to uncover what clients really need📄 Proposal Template — the exact structure that turns "I'll think about it" into "let's start"🧾 Invoice Template — look professional and get paid faster📊 Client Tracker Spreadsheet — track prospects, follow-ups, proposals, and payments in one place Who this is for:Freelancers of any skill — designers, developers, writers, marketers, social media managers — who are tired of inconsistent income and want a repeatable way to land clients, instead of hoping the next DM works out. What you get:✔️ The full 14-Day Playbook (PDF)✔️ 5 bonus templates &amp;amp;amp; the Client Tracker spreadsheet✔️ Instant download, use immediatelyYou don't need more skills. You need a system. This is it — 14 days, start to first client.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Common Mistakes Beginners Make
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Talking much about AI&lt;/li&gt;
&lt;li&gt;Using language&lt;/li&gt;
&lt;li&gt;Building before selling&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Tools You Can Use
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Website Builders&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Framer&lt;/li&gt;
&lt;li&gt;Webflow&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;AI Chatbots&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Chatbase&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Automation&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Appointments&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Calendly&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;CRM&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;HubSpot&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Pricing Guide
&lt;/h3&gt;

&lt;p&gt;If you're a beginner:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic AI Website: $300–$700&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Business Website + AI Chatbot: $700–$1,500&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;maintenance: $50–$300/month&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Selling AI websites isn't about convincing people that AI is amazing. It's about solving business problems.&lt;/p&gt;

&lt;p&gt;Start with one niche. Build one demo. Reach out consistently. Listen more than you talk. Focus, on outcomes of features.&lt;/p&gt;

&lt;p&gt;You don't need dozens of clients to build a business. A handful of local businesses paying for ongoing website and AI services can create a reliable income.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>money</category>
      <category>sellingwebsite</category>
    </item>
    <item>
      <title>5 Tips to Write Clean Code and Best Practices in 2025</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Fri, 08 Nov 2024 17:39:01 +0000</pubDate>
      <link>https://dev.to/codervicky/5-tips-to-write-clean-code-and-best-practices-in-2025-20aj</link>
      <guid>https://dev.to/codervicky/5-tips-to-write-clean-code-and-best-practices-in-2025-20aj</guid>
      <description>&lt;p&gt;Web Developer is not just about Learning a New Languages &amp;amp; Build some websites but one thing you keep in mind you have build website but you not write the clean code then your are not professional web developer in this post i will share &lt;strong&gt;5 Best Tips to write the clean code in 2025&lt;/strong&gt; &lt;/p&gt;

&lt;h3&gt;
  
  
  Use Meaningful and Descriptive Names:
&lt;/h3&gt;

&lt;p&gt;Clear and descriptive names make your code easier to understand. Whether naming variables, functions, or classes, ensure the name conveys the purpose without needing comments.&lt;/p&gt;

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

&lt;p&gt;don't use this this type of variable/function/classes &lt;strong&gt;&lt;em&gt;(Avoid this)&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;int x;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Use Like this type of Variable/function/classes &lt;strong&gt;&lt;em&gt;(Use This)&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;int customerCount;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro Tip:&lt;/strong&gt; Use nouns for variables, verbs for functions, and follow naming conventions for your language, like camelCase in JavaScript or snake_case in Python.&lt;/p&gt;
&lt;h3&gt;
  
  
  Keep Functions Short and Focused:
&lt;/h3&gt;

&lt;p&gt;A clean function does one thing and does it well. It should be short, readable, and easy to test. Long functions can be broken down into smaller helper functions with single responsibilities.&lt;/p&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Instead of doing multiple tasks in one function&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;processOrder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;order&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;validateOrder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;order&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nf"&gt;calculatePrice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;order&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nf"&gt;applyDiscount&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;order&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nf"&gt;saveOrder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;order&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;Each helper function has a clear, focused task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro Tip:&lt;/strong&gt; Follow the "Single Responsibility Principle" (SRP) – each function should only handle one aspect of the task.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template?utm_campaign=dev-to-traffic&amp;amp;utm_medium=blog&amp;amp;utm_source=dev-to&amp;amp;utm_term=developer-portfolio" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F3ygsm4vecxq7bf7bcw1x01rjl1rw" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template?utm_campaign=dev-to-traffic&amp;amp;utm_medium=blog&amp;amp;utm_source=dev-to&amp;amp;utm_term=developer-portfolio" rel="noopener noreferrer" class="c-link"&gt;
            Developer Portfolio Template (Next.js) — Terminal Edition | Free &amp;amp; Pro
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop using the same gradient-hero portfolio every other developer has. This one looks like the tool you actually live in — a dark, fully responsive portfolio template styled as a real terminal, built with Next.js 16 + TypeScript + Tailwind CSS v4.Choose your version below:🆓 Free version includes: Terminal-style hero with live typing animation About, skills, projects, and experience sections Simple contact section Fully responsive — mobile, tablet, desktop One config file to personalize everything (no touching component code) Clean, beginner-friendly codeFREE - Live Preview ⭐ Pro version includes everything in Free, plus:Everything in the free version, plus the three things that actually turn visitors into clients: real case studies, a blog for SEO and credibility, and a contact form that works. Case study pages — dedicated /work/[project] detail pages for your best work (role, timeline, problem, approach, result). Just add a project to your data file — the page builds itself automatically Built-in blog — /blog index + post pages, perfect for writing dev.to-style content directly on your own portfolio for SEO Working contact form — validated, opens the visitor's email pre-filled with their message. Easy to upgrade to Resend/Formspree for full automation No watermark, no upsell footer — it's 100% yours Same one-file personalization, more pages to show off your real workPRO - Live Preview Why Pro is worth it:A custom portfolio with case studies, a blog, and a working contact form usually costs hundreds of dollars from a freelancer and takes a week of back-and-forth. With Pro, you get all of that as clean, production-ready code you own outright — customizable in an afternoon, not a week.Tech stack: Next.js 16 · TypeScript · Tailwind CSS v4 · Zero bloated dependenciesnpm install npm run devDeploys instantly to Vercel, Netlify, or any Node.js host.License: Personal and portfolio use. Customize and deploy freely for your own site. Not for resale or redistribution as a template.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;h3&gt;
  
  
  Avoid Deep Nesting
&lt;/h3&gt;

&lt;p&gt;Deep nesting can make code hard to follow. Instead, consider using guard clauses to handle error cases first, which can reduce the nesting level and improve readability.&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 javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Avoid&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;processPayment&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;isValid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;amount&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="c1"&gt;// Process payment&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="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;// Use guard clauses instead&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;processPayment&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;isValid&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;payment&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;amount&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="c1"&gt;// Process payment&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

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

&lt;/div&gt;

&lt;h3&gt;
  
  
  Write Comments Wisely
&lt;/h3&gt;

&lt;p&gt;Only add comments to clarify complex logic or intentions that aren’t immediately obvious. Avoid comments that simply state what the code is doing; instead, focus on the "why" behind certain choices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Avoid&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Initialize sum to 0&lt;/span&gt;

&lt;span class="c1"&gt;// Better&lt;/span&gt;
&lt;span class="c1"&gt;// Using a rolling sum to optimize memory usage&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&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;Pro Tip:&lt;/strong&gt; Use comments sparingly and only when they add value. Clean code should be self-explanatory whenever possible.&lt;/p&gt;
&lt;h3&gt;
  
  
  Use Error Handling Effectively
&lt;/h3&gt;

&lt;p&gt;Don’t ignore errors; handle them in a way that keeps your application running or gives the user helpful feedback. Use try-catch blocks, handle promises properly, and avoid swallowing errors.&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 javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Handle errors appropriately&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;fetchData&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://api.example.com/data&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Failed to fetch data:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&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;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template?utm_campaign=dev-to-traffic&amp;amp;utm_medium=blog&amp;amp;utm_source=dev-to&amp;amp;utm_term=developer-portfolio" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F3ygsm4vecxq7bf7bcw1x01rjl1rw" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template?utm_campaign=dev-to-traffic&amp;amp;utm_medium=blog&amp;amp;utm_source=dev-to&amp;amp;utm_term=developer-portfolio" rel="noopener noreferrer" class="c-link"&gt;
            Developer Portfolio Template (Next.js) — Terminal Edition | Free &amp;amp; Pro
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop using the same gradient-hero portfolio every other developer has. This one looks like the tool you actually live in — a dark, fully responsive portfolio template styled as a real terminal, built with Next.js 16 + TypeScript + Tailwind CSS v4.Choose your version below:🆓 Free version includes: Terminal-style hero with live typing animation About, skills, projects, and experience sections Simple contact section Fully responsive — mobile, tablet, desktop One config file to personalize everything (no touching component code) Clean, beginner-friendly codeFREE - Live Preview ⭐ Pro version includes everything in Free, plus:Everything in the free version, plus the three things that actually turn visitors into clients: real case studies, a blog for SEO and credibility, and a contact form that works. Case study pages — dedicated /work/[project] detail pages for your best work (role, timeline, problem, approach, result). Just add a project to your data file — the page builds itself automatically Built-in blog — /blog index + post pages, perfect for writing dev.to-style content directly on your own portfolio for SEO Working contact form — validated, opens the visitor's email pre-filled with their message. Easy to upgrade to Resend/Formspree for full automation No watermark, no upsell footer — it's 100% yours Same one-file personalization, more pages to show off your real workPRO - Live Preview Why Pro is worth it:A custom portfolio with case studies, a blog, and a working contact form usually costs hundreds of dollars from a freelancer and takes a week of back-and-forth. With Pro, you get all of that as clean, production-ready code you own outright — customizable in an afternoon, not a week.Tech stack: Next.js 16 · TypeScript · Tailwind CSS v4 · Zero bloated dependenciesnpm install npm run devDeploys instantly to Vercel, Netlify, or any Node.js host.License: Personal and portfolio use. Customize and deploy freely for your own site. Not for resale or redistribution as a template.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Pro Tip:&lt;/strong&gt; Write custom error messages to improve debugging, and always log errors for future troubleshooting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;br&gt;
Writing clean code is a habit that improves with practice. Following these best practices not only makes your code easier to read but also reduces errors, simplifies maintenance, and makes your software more reliable. &lt;/p&gt;

&lt;p&gt;Remember, clean code is an investment that pays off in terms of readability, productivity, and maintainability. By following these tips, you’re not just improving your own coding skills—you’re creating a codebase that others can work with, appreciate, and build upon.&lt;/p&gt;

</description>
      <category>cleancode</category>
      <category>webdev</category>
      <category>codingtips</category>
    </item>
    <item>
      <title>Top 20+ VS Code Shortcuts Every Developer Should Know</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Mon, 28 Oct 2024 05:10:51 +0000</pubDate>
      <link>https://dev.to/codervicky/top-20-vs-code-shortcuts-every-developer-should-know-3i03</link>
      <guid>https://dev.to/codervicky/top-20-vs-code-shortcuts-every-developer-should-know-3i03</guid>
      <description>&lt;p&gt;Today's Blog Artical i will show you amazing &lt;strong&gt;20+ VS code shortcuts&lt;/strong&gt; that help you to &lt;strong&gt;become a pro developer&lt;/strong&gt; this shortcuts boost your coding speed 10X.&lt;/p&gt;

&lt;h3&gt;
  
  
  General Editing :
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;CTRL+S&lt;/code&gt; - Save File &lt;br&gt;
&lt;code&gt;CTRL+Z&lt;/code&gt; - Undo&lt;br&gt;
&lt;code&gt;CTRL+Y&lt;/code&gt; - Redo&lt;br&gt;
&lt;code&gt;CTRL+X&lt;/code&gt; - Cut Line&lt;br&gt;
&lt;code&gt;CTRL+C&lt;/code&gt; - Copy Line&lt;br&gt;
&lt;code&gt;CTRL+V&lt;/code&gt; - Paste&lt;/p&gt;

&lt;h3&gt;
  
  
  Navigation
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;CTRL+P&lt;/code&gt; -  Quick Open File&lt;br&gt;
you want to open file instantly then you can use &lt;code&gt;CTRL+P&lt;/code&gt; Shortscuts &lt;/p&gt;

&lt;p&gt;&lt;code&gt;CTRL+TAB&lt;/code&gt; - Switch Between Open Files &lt;br&gt;
You want to switch one file to another file use this Shortcuts &lt;code&gt;CTRL+TAB&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CTRL+G&lt;/code&gt; - Go to Line &lt;br&gt;
You have 1000 Line of code but you don't know Which line have you click just use this shortcuts &lt;code&gt;CTRL+G&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CTRL+SHIFT+E&lt;/code&gt; : Explore Sidebar &lt;br&gt;
Sometime building the complex projects then you have multiple time open sidebar by using mouse but use this &lt;code&gt;CTRL+SHIFT+E&lt;/code&gt; Shortcuts to open Sidebar &lt;/p&gt;

&lt;p&gt;&lt;code&gt;CTRL+SHIFT+F&lt;/code&gt; -  Search in File &lt;br&gt;
Develop the complex projects have multiple files at this time serach file using this shortcuts &lt;code&gt;CTRL+SHIFT+F&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Get the Free Front-end development Projects&lt;/strong&gt;  &lt;a href="https://www.codervicky.com/" rel="noopener noreferrer"&gt;Visit our Blog&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Code Editing
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;CTRL+SPACE&lt;/code&gt; - Trigger Intellisence &lt;br&gt;
&lt;code&gt;CTRL+SHIFT+SPACE&lt;/code&gt; - Trigger Parameter hints &lt;br&gt;
&lt;code&gt;ALT+UPARROW&lt;/code&gt; - Move to Line Up &lt;br&gt;
&lt;code&gt;ALT+DOWANARROW&lt;/code&gt; - Nove to Line Down&lt;br&gt;
&lt;code&gt;ALT+SHIFT+UPARROW&lt;/code&gt; - Copy Line Up &lt;br&gt;
&lt;code&gt;ALT+SHIFT+DOWNARROW&lt;/code&gt; - Copy Line Down&lt;br&gt;
&lt;code&gt;CTRL+/&lt;/code&gt; - Toggle Line Comment &lt;/p&gt;

&lt;h3&gt;
  
  
  Windows Managements
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;CTRL+SHIFT+N&lt;/code&gt; - New Window&lt;br&gt;
&lt;code&gt;CTRL+SHIFT:W&lt;/code&gt; - Close Window &lt;br&gt;
&lt;code&gt;CTRL+&lt;/code&gt;&lt;code&gt;- Toggle Terminal &lt;br&gt;
&lt;/code&gt;CTRL+B` - Toggle Sidebar Visibility&lt;/p&gt;

&lt;h3&gt;
  
  
  Final Words:
&lt;/h3&gt;

&lt;p&gt;Mastering this 20+ Vs code Shortcuts that help you boost up your coding speed also you can using daily this shortcuts you will become a pro developer &lt;/p&gt;




</description>
      <category>vscode</category>
      <category>shortcuts</category>
      <category>coding</category>
      <category>development</category>
    </item>
    <item>
      <title>Top 5 GitHub Repositories Every Developer Should Follow in 2024</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Wed, 18 Sep 2024 05:57:34 +0000</pubDate>
      <link>https://dev.to/codervicky/top-5-github-repositories-every-developer-should-follow-in-2024-54ck</link>
      <guid>https://dev.to/codervicky/top-5-github-repositories-every-developer-should-follow-in-2024-54ck</guid>
      <description>&lt;p&gt;Github is best Platform for every new developer this platform is complelety &lt;/p&gt;

&lt;p&gt;open source platform with the millons of repositories you can find the &lt;br&gt;
specific repositories &amp;amp; Solve this bug in repositories&lt;/p&gt;

&lt;p&gt;An today I Will Share you &lt;strong&gt;Top 5 GitHub Repositories&lt;/strong&gt; Every Developer Should Follow in 2024 this repositories enhance your skills, and help you  to build better projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/freeCodeCamp/freeCodeCamp" rel="noopener noreferrer"&gt;1.FreeCodeCamp&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stars: 400K+&lt;/li&gt;
&lt;li&gt;Primary Language: JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why You Follow?
&lt;/h3&gt;

&lt;p&gt;FreeCodeCamp is one of the most popular open-source learning platforms for developers. &lt;/p&gt;

&lt;p&gt;With a mission to help people learn to code for free, this repository offers thousands of hours of coding lessons on web development, data science, and machine learning.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Comprehensive curriculum in JavaScript, Python, and more.&lt;/li&gt;
&lt;li&gt;Certifications for skills like responsive web design and data visualization.&lt;/li&gt;
&lt;li&gt;Active forums and a massive community to help you through the journey.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Ideal For:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Beginners looking to get into web development or data science.&lt;/li&gt;
&lt;li&gt;Developers who want to practice coding challenges and contribute to open-source.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;a href="https://github.com/30-seconds/30-seconds-of-code" rel="noopener noreferrer"&gt;30-seconds-of-code&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stars: 114K+&lt;/li&gt;
&lt;li&gt;Primary Language: JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why You Follow?
&lt;/h3&gt;

&lt;p&gt;"30-seconds-of-code" is a treasure trove of short, easy-to-understand JavaScript snippets. &lt;/p&gt;

&lt;p&gt;It offers concise code snippets that can be read in 30 seconds or less, making it perfect for developers who want quick solutions to common coding problems.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Over 1,000 curated JavaScript snippets that solve real-world problems.&lt;/li&gt;
&lt;li&gt;Consistently updated with new snippets and community contributions.&lt;/li&gt;
&lt;li&gt;Covers concepts like arrays, strings, and more advanced topics like functional programming.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Ideal For:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;JavaScript developers looking to improve coding efficiency.&lt;/li&gt;
&lt;li&gt;Developers of all levels wanting bite-sized learning material.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;a href="https://github.com/TheAlgorithms/Python" rel="noopener noreferrer"&gt;The Algorithms&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stars: 170K+&lt;/li&gt;
&lt;li&gt;Primary Language: Python (also available in other languages like Java, C++)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why You Follow?
&lt;/h3&gt;

&lt;p&gt;"The Algorithms" repository is one of the most comprehensive collections of algorithms implemented in Python.&lt;/p&gt;

&lt;p&gt;From basic algorithms like sorting and searching to advanced concepts like machine learning and cryptography, this repository has it all. &lt;/p&gt;

&lt;p&gt;It's a fantastic resource for brushing up on data structures and algorithms, which are crucial for technical interviews.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Hundreds of algorithm implementations in Python (also available in Java, Go, and other languages).&lt;/li&gt;
&lt;li&gt;Organized into categories such as math, machine learning, and dynamic programming.&lt;/li&gt;
&lt;li&gt;Great for understanding the theory behind algorithms and practicing implementation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ideal For:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Developers preparing for coding interviews.&lt;/li&gt;
&lt;li&gt;Students and engineers wanting to deepen their understanding of algorithms.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;a href="https://github.com/public-apis/public-apis" rel="noopener noreferrer"&gt;Public APIs&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stars: 260K+&lt;/li&gt;
&lt;li&gt;Primary Language: Markdown&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why You Follow?
&lt;/h3&gt;

&lt;p&gt;Public APIs is a curated list of free APIs for developers to use in their projects. &lt;/p&gt;

&lt;p&gt;APIs are critical in today's software ecosystem, whether you’re building mobile apps, websites, or automating tasks. &lt;/p&gt;

&lt;p&gt;This repository offers a one-stop-shop for finding APIs related to weather, finance, machine learning, and more.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A categorized collection of free APIs for various domains like health, sports, and finance.&lt;/li&gt;
&lt;li&gt;Regularly updated with new APIs.&lt;/li&gt;
&lt;li&gt;Helps developers quickly find APIs to integrate into their applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Ideal For:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Web and mobile developers needing external services in their projects.&lt;/li&gt;
&lt;li&gt;Developers building applications that rely on external data or functionality.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;a href="https://github.com/codecrafters-io/build-your-own-x" rel="noopener noreferrer"&gt;Build Your Own X&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stars: 220K+&lt;/li&gt;
&lt;li&gt;Primary Language: Multiple (Python, Go, C++)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why You Follow?
&lt;/h3&gt;

&lt;p&gt;"Build Your Own X" is a collection of tutorials that teach you how to build various technical projects from scratch. &lt;/p&gt;

&lt;p&gt;Whether you want to build your own operating system, search engine, or &lt;br&gt;
blockchain, this repository has tutorials that guide you through the process step-by-step.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Comprehensive guides to building a wide range of projects like a programming language or a neural network.&lt;/li&gt;
&lt;li&gt;Contributions from experts across different fields.&lt;/li&gt;
&lt;li&gt;A hands-on learning approach to understanding how complex systems work.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Ideal For:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Developers who love building things from scratch.&lt;/li&gt;
&lt;li&gt;Intermediate to advanced developers wanting to understand the inner workings of technology.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Bonus: &lt;a href="https://github.com/EddieHubCommunity" rel="noopener noreferrer"&gt;EddieHub&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stars: 10K+&lt;/li&gt;
&lt;li&gt;Primary Language: JavaScript, TypeScript&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why You Follow?
&lt;/h3&gt;

&lt;p&gt;EddieHub is a community-driven repository focusing on open-source collaboration. &lt;/p&gt;

&lt;p&gt;It encourages developers of all levels to contribute to open-source projects, participate in hackathons, and build a solid portfolio. &lt;/p&gt;

&lt;p&gt;The community is welcoming to newcomers and offers support &lt;br&gt;
for first-time contributors.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Focuses on building open-source contributions and providing support for developers.&lt;/li&gt;
&lt;li&gt;Hosts regular open-source events and hackathons.&lt;/li&gt;
&lt;li&gt;Encourages collaborative learning and networking with like-minded developers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Ideal For:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Developers looking to get into open-source development.&lt;/li&gt;
&lt;li&gt;Coders who want to build a network and improve collaboration skills.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Conclusion:
&lt;/h3&gt;

&lt;p&gt;These GitHub repositories are valuable resources for developers at any level. &lt;/p&gt;

&lt;p&gt;Whether you're preparing for interviews, looking for coding challenges, or wanting to contribute to open-source projects, these repositories offer everything you need to enhance your coding skills &lt;br&gt;
in 2024.&lt;/p&gt;

&lt;p&gt;Please &lt;strong&gt;Save This Valuable Blog Post&lt;/strong&gt; Aslo you can &lt;strong&gt;follow me&lt;/strong&gt; &amp;amp; Share to your Friends&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Note:&lt;/u&gt;&lt;/strong&gt;  If you want to more resources &lt;strong&gt;Likes Ebook , Handwritten notes , Free Useful Websites &amp;amp; Stock Images&lt;/strong&gt; then you can &lt;strong&gt;Join my Telegram Channel&lt;/strong&gt; &lt;strong&gt;&lt;em&gt;&lt;a href="https://bit.ly/4ceK05t" rel="noopener noreferrer"&gt;Link &lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.instagram.com/xcodervicky/" rel="noopener noreferrer"&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%2Fy2og6wlealgu84kctpdj.PNG" alt=" " width="527" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>frontend</category>
      <category>repositories</category>
      <category>opensource</category>
    </item>
    <item>
      <title>What is an API? A Beginner's Guide</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Tue, 11 Jun 2024 17:40:24 +0000</pubDate>
      <link>https://dev.to/codervicky/what-is-an-api-a-beginners-guide-5baa</link>
      <guid>https://dev.to/codervicky/what-is-an-api-a-beginners-guide-5baa</guid>
      <description>&lt;h2&gt;
  
  
  What is an API? A Beginner's Guide
&lt;/h2&gt;

&lt;p&gt;In today's interconnected digital world, APIs play a crucial role in how different software applications communicate with each other. Whether you're a developer, a business owner, or just a curious tech enthusiast, understanding APIs is essential. In this blog post, we'll dive into what an API is, how it works, and why it's important.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is an API?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;API stands for Application Programming Interface.&lt;/strong&gt; It's a set of rules and definitions that allows different software applications to communicate with each other. Think of an API as a translator that enables two different systems to interact and share information seamlessly.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Do APIs Work?
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;At its core, an API acts as an intermediary between two applications.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here’s a simple analogy:&lt;/strong&gt;&lt;br&gt;
imagine &lt;code&gt;you’re at a restaurant&lt;/code&gt;. You (the client) &lt;code&gt;give your order to the waiter&lt;/code&gt; (the API), &lt;code&gt;who then conveys your request to the kitchen&lt;/code&gt; (the server). &lt;code&gt;The kitchen prepares your meal and the waiter delivers&lt;/code&gt; it back to you.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In the digital world, the process is quite similar:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Request:&lt;/strong&gt; &lt;em&gt;An application (the client) sends a request to the API&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Processing:&lt;/strong&gt; &lt;em&gt;The API processes the request and communicates with the server.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Response:&lt;/strong&gt; &lt;em&gt;The server sends the requested information or performs the desired action, and the API delivers this response back to the client.&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Types of APIs
&lt;/h3&gt;

&lt;p&gt;APIs come in various types, each serving different purposes:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- &lt;u&gt;Web APIs&lt;/u&gt;&lt;/strong&gt;: These are the most common types, allowing interaction between web servers and clients. Examples include REST &lt;code&gt;(Representational State Transfer)&lt;/code&gt; and SOAP &lt;code&gt;(Simple Object Access Protocol)&lt;/code&gt; APIs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- &lt;u&gt;Operating System APIs&lt;/u&gt;:&lt;/strong&gt; These APIs allow software applications to interact with the operating system. Examples include &lt;code&gt;Windows API and POSIX.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- &lt;u&gt;Database APIs:&lt;/u&gt;&lt;/strong&gt; These APIs enable communication between applications and databases, allowing data retrieval, manipulation, and management.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- &lt;u&gt;Library or Framework APIs:&lt;/u&gt;&lt;/strong&gt; These provide a set of functions and routines that developers can use within their applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- &lt;u&gt;.NET Framework API:&lt;/u&gt;&lt;/strong&gt; These provide a set of functions and routines that developers can use within their applications. Examples include the Java API and the &lt;code&gt;.NET Framework API.&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Are APIs Important?
&lt;/h3&gt;

&lt;p&gt;APIs are vital for several reasons:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. &lt;u&gt;Interoperability:&lt;/u&gt;&lt;/strong&gt; APIs enable different systems and applications to work together, regardless of their underlying technology.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. &lt;u&gt;Efficiency:&lt;/u&gt;&lt;/strong&gt; By allowing applications to communicate directly, APIs streamline processes and reduce the need for manual intervention.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. &lt;u&gt;Innovation:&lt;/u&gt;&lt;/strong&gt; APIs enable developers to build on existing technologies, fostering innovation and the creation of new services and applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. &lt;u&gt;Scalability:&lt;/u&gt;&lt;/strong&gt; APIs make it easier to scale applications by allowing them to communicate with other services and resources seamlessly.&lt;/p&gt;




&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;APIs are the unsung heroes of modern technology, enabling seamless interaction between different software applications. By understanding what an API is and how it works, you can appreciate the critical role they play in our digital world. Whether you're a developer looking to integrate new features into your application or a business owner seeking to streamline operations, APIs offer a powerful solution to enhance functionality and drive innovation.&lt;/p&gt;

</description>
      <category>api</category>
      <category>postman</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to Host Website on Netlify for FREE</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Thu, 06 Jun 2024 02:44:38 +0000</pubDate>
      <link>https://dev.to/codervicky/launch-your-website-in-minutes-a-beginners-guide-to-hosting-on-netlify-1f28</link>
      <guid>https://dev.to/codervicky/launch-your-website-in-minutes-a-beginners-guide-to-hosting-on-netlify-1f28</guid>
      <description>&lt;p&gt;Hosting a website on Netlify is a straightforward process. Here are the steps to get your site up and running:&lt;/p&gt;

&lt;h3&gt;
  
  
  Create a Netlify Account:
&lt;/h3&gt;

&lt;p&gt;Go to &lt;a href="https://www.netlify.com/" rel="noopener noreferrer"&gt;Netlify's website&lt;/a&gt; and sign up for a free account if you don't have one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.netlify.com/" rel="noopener noreferrer"&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%2Ffl6ecw3v59h0u3iiynpa.PNG" alt=" " width="799" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Connect Your Git Repository:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;After logging in, click on "New site from Git".&lt;/li&gt;
&lt;li&gt;Connect to your Git provider &lt;code&gt;(GitHub, GitLab, or Bitbucket)&lt;/code&gt;  and authorize Netlify to access your repositories.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Choose Your Repository:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select the repository that contains your website code.&lt;/li&gt;
&lt;li&gt;Netlify will automatically detect the build settings. If it doesn't, you can specify the build command and the publish directory &lt;code&gt;(e.g., npm run build and dist).&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Build and Deploy:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;code&gt;"Deploy site"&lt;/code&gt; Netlify will start the build process and deploy your website.&lt;/li&gt;
&lt;li&gt;Once the build is complete, Netlify will provide you with a temporary URL where your site is live.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Custom Domain (Optional):
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;If you have a custom domain, you can add it to your Netlify site.&lt;/li&gt;
&lt;li&gt;Go to &lt;code&gt;"Domain settings"&lt;/code&gt; in your site's dashboard.&lt;/li&gt;
&lt;li&gt;Click on &lt;code&gt;"Add custom domain"&lt;/code&gt; and follow the instructions to configure your DNS settings.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Continuous Deployment:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Every time you push changes to your repository, Netlify will automatically rebuild and redeploy your site.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Additional Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Form Handling:&lt;/strong&gt; Netlify offers built-in form handling without any backend code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redirects and Rewrites:&lt;/strong&gt; You can configure redirects and rewrites using a &lt;code&gt;_redirects&lt;/code&gt; file or &lt;code&gt;netlify.toml.&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Environment Variables:&lt;/strong&gt; You can set environment variables for your build process in the site settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Functions:&lt;/strong&gt; Netlify supports serverless functions that can be used for dynamic back-end processing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example:
&lt;/h3&gt;

&lt;p&gt;Here’s an example for deploying a simple static HTML site:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a repository on GitHub and push your site’s code to it.&lt;/li&gt;
&lt;li&gt;Connect the repository to Netlify as described above.&lt;/li&gt;
&lt;li&gt;Since it’s a static site, you might not need any build command. You can directly specify the publish directory where your HTML files are located.&lt;/li&gt;
&lt;li&gt;Deploy and check your site.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s it! Your site should now be live on Netlify.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F3ygsm4vecxq7bf7bcw1x01rjl1rw" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" rel="noopener noreferrer" class="c-link"&gt;
            Developer Portfolio Template (Next.js) — Terminal Edition | Free &amp;amp; Pro
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop using the same gradient-hero portfolio every other developer has. This one looks like the tool you actually live in — a dark, fully responsive portfolio template styled as a real terminal, built with Next.js 16 + TypeScript + Tailwind CSS v4.Choose your version below:🆓 Free version includes: Terminal-style hero with live typing animation About, skills, projects, and experience sections Simple contact section Fully responsive — mobile, tablet, desktop One config file to personalize everything (no touching component code) Clean, beginner-friendly codeFREE - Live Preview ⭐ Pro version includes everything in Free, plus:Everything in the free version, plus the three things that actually turn visitors into clients: real case studies, a blog for SEO and credibility, and a contact form that works. Case study pages — dedicated /work/[project] detail pages for your best work (role, timeline, problem, approach, result). Just add a project to your data file — the page builds itself automatically Built-in blog — /blog index + post pages, perfect for writing dev.to-style content directly on your own portfolio for SEO Working contact form — validated, opens the visitor's email pre-filled with their message. Easy to upgrade to Resend/Formspree for full automation No watermark, no upsell footer — it's 100% yours Same one-file personalization, more pages to show off your real workPRO - Live Preview Why Pro is worth it:A custom portfolio with case studies, a blog, and a working contact form usually costs hundreds of dollars from a freelancer and takes a week of back-and-forth. With Pro, you get all of that as clean, production-ready code you own outright — customizable in an afternoon, not a week.Tech stack: Next.js 16 · TypeScript · Tailwind CSS v4 · Zero bloated dependenciesnpm install npm run devDeploys instantly to Vercel, Netlify, or any Node.js host.License: Personal and portfolio use. Customize and deploy freely for your own site. Not for resale or redistribution as a template.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>netlify</category>
      <category>webhosting</category>
      <category>hosting</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Building a Calculator App with JavaScript: A Beginner's Guide</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Thu, 15 Feb 2024 04:04:12 +0000</pubDate>
      <link>https://dev.to/codervicky/building-a-calculator-app-with-javascript-a-beginners-guide-343b</link>
      <guid>https://dev.to/codervicky/building-a-calculator-app-with-javascript-a-beginners-guide-343b</guid>
      <description>&lt;p&gt;Creating interactive applications is both challenging and rewarding. One classic example is a calculator app, which not only serves as a practical tool but also offers a great opportunity to learn fundamental JavaScript concepts. &lt;/p&gt;

&lt;p&gt;In this article, we'll embark on a journey to build a &lt;strong&gt;simple calculator application using JavaScript.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For simplicity, I'll create a calculator with basic arithmetic operations (addition, subtraction, multiplication, division).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding the Basic:&lt;/strong&gt;&lt;br&gt;
Before diving into the code, let's outline the basic functionalities our calculator app should have:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Display:&lt;/strong&gt; A display area to show the input and output of calculations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Buttons:&lt;/strong&gt; Buttons representing numbers, arithmetic operators, and other controls like "Clear" and "Equals".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Arithmetic Operations:&lt;/strong&gt; Support for basic arithmetic operations like addition, subtraction, multiplication, and division.&lt;br&gt;
Setting Up the HTML Structure&lt;/p&gt;

&lt;p&gt;We'll start by creating the structure of our calculator using HTML. &lt;/p&gt;

&lt;p&gt;Here's a basic template to get us started:&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="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Build Calculator App&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"style.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&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;"calculator"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"result"&lt;/span&gt; &lt;span class="na"&gt;readonly&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;"keys"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('7')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;7&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('8')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;8&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('9')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;9&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&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;"minus"&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendOperator('+')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;+&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('4')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;4&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('5')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;5&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('6')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;6&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&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;"minus"&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendOperator('-')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;-&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('1')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;1&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('2')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;2&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('3')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;3&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&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;"minus"&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendOperator('*')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;*&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendNumber('0')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&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;"minus"&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"clearResult()"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;C&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&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;"minus"&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"calculateResult()"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;=&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&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;"minus"&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"appendOperator('/')"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;/&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
    &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;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"script.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Styling the Calculator&lt;/strong&gt;&lt;br&gt;
While styling isn't the primary focus of this tutorial, we'll add some basic CSS to make our calculator visually appealing and user-friendly. &lt;/p&gt;

&lt;p&gt;Feel free to customize the styles according to your preference.&lt;/p&gt;
&lt;h3&gt;
  
  
  CSS Structure:
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="sx"&gt;url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&amp;amp;display=swap')&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;font-family&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;'Poppins'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sans-serif&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;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="nb"&gt;center&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;100vh&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;#c2b2d8&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="nc"&gt;.calculator&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;#090012&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;10px&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;box-shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;0&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;.2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="nf"&gt;#result&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="n"&gt;calc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;100%&lt;/span&gt; &lt;span class="n"&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;margin-bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&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="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;20px&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;10px&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;outline&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="nc"&gt;.keys&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;grid&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="py"&gt;grid-template-columns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;repeat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="n"&gt;fr&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="py"&gt;grid-gap&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&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="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="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="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#ffffff&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;#000000&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;border-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;5px&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;font-weight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;600&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;outline&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="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;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#e9d8f7&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.minus&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="nb"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;245&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;113&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;197&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="m"&gt;500&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="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.minus&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="nb"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;243&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;81&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;184&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;
  
  
  Implementing JavaScript Functionality:
&lt;/h3&gt;

&lt;p&gt;Now, let's add the JavaScript logic to make our calculator functional. We'll define functions to handle number input, arithmetic operations, and calculation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&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;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;result&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;appendNumber&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;num&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nx"&gt;num&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;appendOperator&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;operator&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nx"&gt;operator&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;clearResult&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;calculateResult&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;eval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Error&lt;/span&gt;&lt;span class="dl"&gt;'&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;&lt;strong&gt;Wrapping Up&lt;/strong&gt;&lt;br&gt;
Congratulations! You've built a basic calculator app using JavaScript. While this example covers only the essentials, there's a lot more you can do to enhance its functionality and appearance. &lt;/p&gt;

&lt;p&gt;Consider adding support for decimal numbers, handling keyboard input, or implementing more advanced operations.&lt;/p&gt;




&lt;p&gt;If you want &lt;strong&gt;Download the Projects Source code&lt;/strong&gt; Then Please &lt;strong&gt;Join Use our Telegram Channel&lt;/strong&gt; Click on Below Button ⤵👇&lt;br&gt;
&lt;a href="https://t.me/codervicky" rel="noopener noreferrer"&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%2Fj6o1bjc4v4ktjobn24xw.png" alt=" " width="267" height="46"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>calculatorapp</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Array methods in JavaScript - Code Vicky</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Thu, 25 Jan 2024 17:51:54 +0000</pubDate>
      <link>https://dev.to/codervicky/array-methods-in-javascript-code-vicky-1g41</link>
      <guid>https://dev.to/codervicky/array-methods-in-javascript-code-vicky-1g41</guid>
      <description>&lt;p&gt;JavaScript provides several &lt;strong&gt;built-in methods&lt;/strong&gt; for working with arrays. Here are some commonly used array methods:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;push():&lt;/strong&gt; Adds one or more elements to the end of an array and returns the new length of the array.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;grape&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;// fruits is now ['apple', 'banana', 'orange', 'grape']&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;pop():&lt;/strong&gt; Removes the last element from an array and returns that element.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;removedFruit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;pop&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;// removedFruit is 'orange', fruits is now ['apple', 'banana']&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;shift():&lt;/strong&gt; Removes the first element from an array and returns that element.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;removedFruit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;shift&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="c1"&gt;// removedFruit is 'apple', fruits is now ['banana', 'orange']&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruits&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;unshift():&lt;/strong&gt; Adds one or more elements to the beginning of an array and returns the new length of the array.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;removedFruit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;shift&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;// removedFruit is 'apple', fruits is now ['banana', 'orange']&lt;/span&gt;

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

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;indexOf():&lt;/strong&gt; Returns the first index at which a given element can be found in the array, or -1 if it is not present.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;indexOf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;index&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;// index is 1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;splice():&lt;/strong&gt; Changes the contents of an array by removing or replacing existing elements and/or adding new elements in place.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;splice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;grape&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;kiwi&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;// fruits is now ['apple', 'grape', 'kiwi', 'orange']&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;slice():&lt;/strong&gt; Returns a shallow copy of a portion of an array into a new array.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;grape&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;slicedFruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;slicedFruits&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;// slicedFruits is ['banana', 'orange'], fruits remains unchanged&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;forEach():&lt;/strong&gt; Executes a provided function once for each array element.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;apple&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;banana&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;orange&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;fruit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruit&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fruits&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;// Outputs: apple, banana, orange&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;These are just a few examples, and JavaScript provides many more array methods for various operations. Understanding these methods can make it easier to work with arrays in JavaScript.&lt;/p&gt;

&lt;p&gt;&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 html"&gt;&lt;code&gt;html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I Bulid FREE Web Portfolio Template for Developer - Terminal Edition &lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F3ygsm4vecxq7bf7bcw1x01rjl1rw" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" rel="noopener noreferrer" class="c-link"&gt;
            Developer Portfolio Template (Next.js) — Terminal Edition | Free &amp;amp; Pro
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop using the same gradient-hero portfolio every other developer has. This one looks like the tool you actually live in — a dark, fully responsive portfolio template styled as a real terminal, built with Next.js 16 + TypeScript + Tailwind CSS v4.Choose your version below:🆓 Free version includes: Terminal-style hero with live typing animation About, skills, projects, and experience sections Simple contact section Fully responsive — mobile, tablet, desktop One config file to personalize everything (no touching component code) Clean, beginner-friendly codeFREE - Live Preview ⭐ Pro version includes everything in Free, plus:Everything in the free version, plus the three things that actually turn visitors into clients: real case studies, a blog for SEO and credibility, and a contact form that works. Case study pages — dedicated /work/[project] detail pages for your best work (role, timeline, problem, approach, result). Just add a project to your data file — the page builds itself automatically Built-in blog — /blog index + post pages, perfect for writing dev.to-style content directly on your own portfolio for SEO Working contact form — validated, opens the visitor's email pre-filled with their message. Easy to upgrade to Resend/Formspree for full automation No watermark, no upsell footer — it's 100% yours Same one-file personalization, more pages to show off your real workPRO - Live Preview Why Pro is worth it:A custom portfolio with case studies, a blog, and a working contact form usually costs hundreds of dollars from a freelancer and takes a week of back-and-forth. With Pro, you get all of that as clean, production-ready code you own outright — customizable in an afternoon, not a week.Tech stack: Next.js 16 · TypeScript · Tailwind CSS v4 · Zero bloated dependenciesnpm install npm run devDeploys instantly to Vercel, Netlify, or any Node.js host.License: Personal and portfolio use. Customize and deploy freely for your own site. Not for resale or redistribution as a template.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



</description>
      <category>array</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to use Better Comment Extension in VS Code</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Wed, 24 Jan 2024 04:11:54 +0000</pubDate>
      <link>https://dev.to/codervicky/how-to-use-better-comment-extension-in-vs-code-3dh1</link>
      <guid>https://dev.to/codervicky/how-to-use-better-comment-extension-in-vs-code-3dh1</guid>
      <description>&lt;p&gt;In the fast-paced world of coding, effective collaboration and clear communication are paramount. As developers, we spend a significant amount of time reading and writing code. One crucial element in fostering a collaborative coding environment is the use of well-structured and informative comments. Enter &lt;strong&gt;"Better Comments,"&lt;/strong&gt; a VSCode extension that transforms the way we annotate our code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding Better Comments:&lt;/strong&gt;&lt;br&gt;
Better Comments is a powerful extension designed to enrich your code comments, making them more expressive and actionable. By introducing a set of customizable comment tags, this extension goes beyond the conventional &lt;strong&gt;&lt;em&gt;"//" and "/* */"&lt;/em&gt;&lt;/strong&gt; syntax, adding a layer of semantic meaning to your annotations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installation and Configuration:&lt;/strong&gt;&lt;br&gt;
Getting started with Better Comments is a breeze. Simply install the extension from the Visual Studio Code marketplace and customize your comment tags based on your preferences. Whether you want to highlight important tasks, mark critical issues, or emphasize future improvements, Better Comments allows you to tailor your commenting style to suit your workflow.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F3ygsm4vecxq7bf7bcw1x01rjl1rw" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" rel="noopener noreferrer" class="c-link"&gt;
            Developer Portfolio Template (Next.js) — Terminal Edition | Free &amp;amp; Pro
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop using the same gradient-hero portfolio every other developer has. This one looks like the tool you actually live in — a dark, fully responsive portfolio template styled as a real terminal, built with Next.js 16 + TypeScript + Tailwind CSS v4.Choose your version below:🆓 Free version includes: Terminal-style hero with live typing animation About, skills, projects, and experience sections Simple contact section Fully responsive — mobile, tablet, desktop One config file to personalize everything (no touching component code) Clean, beginner-friendly codeFREE - Live Preview ⭐ Pro version includes everything in Free, plus:Everything in the free version, plus the three things that actually turn visitors into clients: real case studies, a blog for SEO and credibility, and a contact form that works. Case study pages — dedicated /work/[project] detail pages for your best work (role, timeline, problem, approach, result). Just add a project to your data file — the page builds itself automatically Built-in blog — /blog index + post pages, perfect for writing dev.to-style content directly on your own portfolio for SEO Working contact form — validated, opens the visitor's email pre-filled with their message. Easy to upgrade to Resend/Formspree for full automation No watermark, no upsell footer — it's 100% yours Same one-file personalization, more pages to show off your real workPRO - Live Preview Why Pro is worth it:A custom portfolio with case studies, a blog, and a working contact form usually costs hundreds of dollars from a freelancer and takes a week of back-and-forth. With Pro, you get all of that as clean, production-ready code you own outright — customizable in an afternoon, not a week.Tech stack: Next.js 16 · TypeScript · Tailwind CSS v4 · Zero bloated dependenciesnpm install npm run devDeploys instantly to Vercel, Netlify, or any Node.js host.License: Personal and portfolio use. Customize and deploy freely for your own site. Not for resale or redistribution as a template.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;*&lt;em&gt;How to use its On VS Code *&lt;/em&gt;&lt;br&gt;
After Install Extension go to Extension Workplace setting &amp;amp; Click on Setting.json File You will get Better Comments Default code.&lt;/p&gt;

&lt;p&gt;then Relaunch VS Code Editor and now you can comments in better way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Examples :&lt;/u&gt;&lt;/strong&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%2Fdn22w9yvo2bzxe2242jp.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%2Fdn22w9yvo2bzxe2242jp.PNG" alt=" " width="441" height="145"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the shortcuts for Comments is &lt;strong&gt;CTRL + /&lt;/strong&gt; this is fastest way to comment your code but if you want to highlight &amp;amp; Good looking Comments then you can just add this Sign before comments is Start *&lt;em&gt;'!' , '//' , '&lt;/em&gt;' &amp;amp; 'todo' ** &lt;/p&gt;

&lt;p&gt;But you need to &lt;strong&gt;install JSON file&lt;/strong&gt; to your code editor &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%2F6tngtz3be9hk7muttt4z.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%2F6tngtz3be9hk7muttt4z.png" alt=" " width="800" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just click on &lt;strong&gt;Setting.json&lt;/strong&gt; file you will get the code file then you can easily highlight your comments &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;br&gt;
I Think this is best Comments extension in VS Code. I will Suggest every new developer install this better comment extension is great way to show you comments to Other developer.&lt;/p&gt;

&lt;p&gt;The Better Comments extension for Visual Studio Code is a game-changer, making your code not just functional, but also comprehensible and collaborative. Install it today and start experiencing the difference!&lt;/p&gt;




&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpublic-files.gumroad.com%2F3ygsm4vecxq7bf7bcw1x01rjl1rw" height="565" class="m-0" width="1005"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://codervicky.gumroad.com/l/Portfolio-template" rel="noopener noreferrer" class="c-link"&gt;
            Developer Portfolio Template (Next.js) — Terminal Edition | Free &amp;amp; Pro
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Stop using the same gradient-hero portfolio every other developer has. This one looks like the tool you actually live in — a dark, fully responsive portfolio template styled as a real terminal, built with Next.js 16 + TypeScript + Tailwind CSS v4.Choose your version below:🆓 Free version includes: Terminal-style hero with live typing animation About, skills, projects, and experience sections Simple contact section Fully responsive — mobile, tablet, desktop One config file to personalize everything (no touching component code) Clean, beginner-friendly codeFREE - Live Preview ⭐ Pro version includes everything in Free, plus:Everything in the free version, plus the three things that actually turn visitors into clients: real case studies, a blog for SEO and credibility, and a contact form that works. Case study pages — dedicated /work/[project] detail pages for your best work (role, timeline, problem, approach, result). Just add a project to your data file — the page builds itself automatically Built-in blog — /blog index + post pages, perfect for writing dev.to-style content directly on your own portfolio for SEO Working contact form — validated, opens the visitor's email pre-filled with their message. Easy to upgrade to Resend/Formspree for full automation No watermark, no upsell footer — it's 100% yours Same one-file personalization, more pages to show off your real workPRO - Live Preview Why Pro is worth it:A custom portfolio with case studies, a blog, and a working contact form usually costs hundreds of dollars from a freelancer and takes a week of back-and-forth. With Pro, you get all of that as clean, production-ready code you own outright — customizable in an afternoon, not a week.Tech stack: Next.js 16 · TypeScript · Tailwind CSS v4 · Zero bloated dependenciesnpm install npm run devDeploys instantly to Vercel, Netlify, or any Node.js host.License: Personal and portfolio use. Customize and deploy freely for your own site. Not for resale or redistribution as a template.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.gumroad.com%2Fimages%2Fpink-icon.png" width="81" height="81"&gt;
          codervicky.gumroad.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>vscode</category>
      <category>comment</category>
      <category>html</category>
      <category>coding</category>
    </item>
    <item>
      <title>Design a Responsive Silding Sign in &amp; Up Form using JavaScript</title>
      <dc:creator>Vicky Shinde </dc:creator>
      <pubDate>Mon, 22 Jan 2024 02:33:28 +0000</pubDate>
      <link>https://dev.to/codervicky/design-a-responsive-silding-sign-in-up-form-using-javascript-8on</link>
      <guid>https://dev.to/codervicky/design-a-responsive-silding-sign-in-up-form-using-javascript-8on</guid>
      <description>&lt;p&gt;Hello Coders, Today's Blog i will show you how to Create Responsive Sliding Sign in &amp;amp; Sign up Form Using HTML,CSS &amp;amp; Javascript&lt;/p&gt;

&lt;p&gt;This is One of the Best project for as New &amp;amp; Intermediate Programmers This project really Improve your Understanding skills.&lt;/p&gt;

&lt;p&gt;Nowadays you can see every Business Website Needs to Sign in &amp;amp;Sign Up Form I will Design the Beautiful sliding Login &amp;amp; Signup Animation Using Javascript&lt;/p&gt;

&lt;p&gt;Sign up Form use to Create a New Account for a new users for a website and a Login form is Existing User details of a registered user into their particular account&lt;/p&gt;

&lt;p&gt;There are so many websites use this types of Sign in &amp;amp; Sign Up form Because this form is Looking Nice 👍 &amp;amp; User can easily fill out this form. We will Combine sign in &amp;amp; up form in Single page Also the Form Sliding with Smooth animation&lt;/p&gt;

&lt;p&gt;First of All I Will show you projects preview that you can easily understand what I'm Saying...&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/Qm66BDdeTPU"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;I Hope you can enjoy this projects I will step by Step Guide you to build this Responsive Sliding Sign in &amp;amp; Sign up Form Using HTML,CSS &amp;amp; Javascript. Also I will Explain code in written format. If you have seen Project Preview Video then you can Continue Reading the Post&lt;/p&gt;

&lt;h2&gt;
  
  
  File Structure :
&lt;/h2&gt;

&lt;p&gt;First you can create a Folder that Name is Folder is Sliding Form After Creating Folder Add HTML File as name is Index.html &amp;amp; Add CSS File name is Style.css Also I've Write Some JavaScript Code in HTML File&lt;/p&gt;

&lt;p&gt;To Create Responsive Sliding Sign in &amp;amp; Sign up Form Using HTML,CSS &amp;amp; JavaScript follow the given steps line by line:&lt;/p&gt;

&lt;p&gt;Create a folder You can name this folder whatever you want, and inside this folder, create the mentioned files.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Create an index.html file. The file name must be index and its extension .html&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a style.css file. The file name must be style and its extension .css&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To start, add the following HTML codes to your index.html file to create the basic layout of the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  HTML &amp;amp; JS CODE :
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="c"&gt;&amp;lt;!-- created by Coder Vicky || www.codervicky.com  --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;http-equiv=&lt;/span&gt;&lt;span class="s"&gt;"X-UA-Compatible"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"IE=edge"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Sign in/up Form&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"style.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&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;"container"&lt;/span&gt; &lt;span class="na"&gt;id=&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;"form-container sign-up-container"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;form&lt;/span&gt; &lt;span class="na"&gt;action=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Create Account&lt;span class="nt"&gt;&amp;lt;/h1&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;"social-container"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"social"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;i&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fa fa-facebook-square"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"social"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;i&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fa fa-twitter-square"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"social"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;i&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fa fa-linkedin-square"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;or use your email for registration&lt;span class="nt"&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"Name"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"Email"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"password"&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"Password"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&amp;gt;&lt;/span&gt;Sign Up&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
  &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;"form-container sign-in-container"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;form&lt;/span&gt; &lt;span class="na"&gt;action=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Sign in&lt;span class="nt"&gt;&amp;lt;/h1&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;"social-container"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"social"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;i&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fa fa-facebook-square"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"social"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;i&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fa fa-twitter-square"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"social"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;i&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"fa fa-linkedin-square"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;or use your account&lt;span class="nt"&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"Email"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"password"&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"Password"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"#"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Forgot your password?&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;button&amp;gt;&lt;/span&gt;Sign In&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
  &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;"overlay-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;"overlay"&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;"overlay-panel overlay-left"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Welcome Back!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;To keep connected with us please login with your personal info&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&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;"ghost"&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"signIn"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Sign In&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &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;"overlay-panel overlay-right"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Hello, Friend!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Enter your personal details and start journey with us&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&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;"ghost"&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"signUp"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Sign Up&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
      &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;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;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;signUpButton&lt;/span&gt; &lt;span class="o"&gt;=&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;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;signUp&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;signInButton&lt;/span&gt; &lt;span class="o"&gt;=&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;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;signIn&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;container&lt;/span&gt; &lt;span class="o"&gt;=&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;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;container&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nx"&gt;signUpButton&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;click&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;container&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;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;right-panel-active&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;signInButton&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;click&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;container&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;remove&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;right-panel-active&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;


&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, add the following CSS codes to your style.css file to make the layout look better. These codes will style the layout and give it a visually appealing appearance.&lt;/p&gt;

&lt;h2&gt;
  
  
  CSS CODE :
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="sx"&gt;url('https://fonts.googleapis.com/css?family=Montserrat:400,800')&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;box-sizing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;border-box&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&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#f6f5f7&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="nb"&gt;center&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;flex-direction&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;column&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;font-family&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;'Montserrat'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sans-serif&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="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-20px&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;50px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;h1&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="nl"&gt;margin&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="nt"&gt;h2&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;text-align&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="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;14px&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="m"&gt;100&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;line-height&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;letter-spacing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0.5px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;30px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;span&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;12px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;a&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;#333&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;14px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;text-decoration&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;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;15px&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="nt"&gt;button&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;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="m"&gt;1px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="m"&gt;#FF4B2B&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;#FF4B2B&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;#FFFFFF&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;12px&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="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;12px&lt;/span&gt; &lt;span class="m"&gt;45px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;letter-spacing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;text-transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;uppercase&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;80ms&lt;/span&gt; &lt;span class="n"&gt;ease-in&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="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;button&lt;/span&gt;&lt;span class="nd"&gt;: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;scale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0.95&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;:focus&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;outline&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="nt"&gt;button&lt;/span&gt;&lt;span class="nc"&gt;.ghost&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="nb"&gt;transparent&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#FFFFFF&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="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;form&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;#FFFFFF&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;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;justify-content&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;flex-direction&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;column&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;0&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;100%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;text-align&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="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;input&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;#eee&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;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;12px&lt;/span&gt; &lt;span class="m"&gt;15px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;8px&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;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="nc"&gt;.container&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;#fff&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;10px&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;0&lt;/span&gt; &lt;span class="m"&gt;14px&lt;/span&gt; &lt;span class="m"&gt;28px&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.25&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; 
      &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;10px&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.22&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;relative&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;overflow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;hidden&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;768px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;max-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="nl"&gt;min-height&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;.form-container&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;absolute&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;100%&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;all&lt;/span&gt; &lt;span class="m"&gt;0.6s&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;span class="nc"&gt;.sign-in-container&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;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="nl"&gt;z-index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.container.right-panel-active&lt;/span&gt; &lt;span class="nc"&gt;.sign-in-container&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="nc"&gt;.sign-up-container&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;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="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;z-index&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="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.container.right-panel-active&lt;/span&gt; &lt;span class="nc"&gt;.sign-up-container&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;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;z-index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;5&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="nb"&gt;show&lt;/span&gt; &lt;span class="m"&gt;0.6s&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="nb"&gt;show&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="err"&gt;49&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="err"&gt;99&lt;/span&gt;&lt;span class="o"&gt;%&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;z-index&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="p"&gt;}&lt;/span&gt;

  &lt;span class="err"&gt;50&lt;/span&gt;&lt;span class="o"&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;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;z-index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;5&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;.overlay-container&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;absolute&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;left&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;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="nl"&gt;height&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;overflow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;hidden&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.6s&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="nl"&gt;z-index&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="nc"&gt;.container.right-panel-active&lt;/span&gt; &lt;span class="nc"&gt;.overlay-container&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="nc"&gt;.overlay&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;#FF416C&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="n"&gt;-webkit-linear-gradient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="nb"&gt;right&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;#FF4B2B&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;#FF416C&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="n"&gt;linear-gradient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="nb"&gt;right&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;#FF4B2B&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;#FF416C&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;background-repeat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;no-repeat&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;background-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;cover&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;background-position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&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;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#FFFFFF&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;relative&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;-100%&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;100%&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;200%&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="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.6s&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;span class="nc"&gt;.container.right-panel-active&lt;/span&gt; &lt;span class="nc"&gt;.overlay&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;50%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.overlay-panel&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;absolute&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;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;justify-content&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;flex-direction&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;column&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;0&lt;/span&gt; &lt;span class="m"&gt;40px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;text-align&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;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;100%&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="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="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.6s&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;span class="nc"&gt;.overlay-left&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;-20%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.container.right-panel-active&lt;/span&gt; &lt;span class="nc"&gt;.overlay-left&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="nc"&gt;.overlay-right&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;right&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;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.container.right-panel-active&lt;/span&gt; &lt;span class="nc"&gt;.overlay-right&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;20%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.social-container&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&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="nc"&gt;.social-container&lt;/span&gt; &lt;span class="nt"&gt;a&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;1px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="m"&gt;#DDDDDD&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;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;inline-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="nb"&gt;center&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;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="m"&gt;5px&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;40px&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;40px&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;That’s all, now you’ve successfully Create Responsive Sliding Sign in &amp;amp; Sign up Form Using HTML,CSS &amp;amp; JavaScript. If my code doesn’t work or you’ve faced any problem, please download the source code files from the given download button. It’s free and a .zip file will be downloaded then you’ve to extract it.&lt;/p&gt;

</description>
      <category>css</category>
      <category>javascript</category>
      <category>signupform</category>
      <category>loginform</category>
    </item>
  </channel>
</rss>
