<?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: sameer8saini</title>
    <description>The latest articles on DEV Community by sameer8saini (@sameer8saini).</description>
    <link>https://dev.to/sameer8saini</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F761648%2F7e53b7be-f56d-4618-a39d-55e96e5db6e4.png</url>
      <title>DEV Community: sameer8saini</title>
      <link>https://dev.to/sameer8saini</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sameer8saini"/>
    <language>en</language>
    <item>
      <title>I Built an E-Commerce Website in 1 Day Using Supabase, Stripe &amp; Claude Code</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Sat, 28 Feb 2026 22:41:09 +0000</pubDate>
      <link>https://dev.to/sameer8saini/i-built-an-e-commerce-website-in-1-day-using-supabase-stripe-claude-code-2n5n</link>
      <guid>https://dev.to/sameer8saini/i-built-an-e-commerce-website-in-1-day-using-supabase-stripe-claude-code-2n5n</guid>
      <description>&lt;p&gt;Last weekend I ran a small experiment:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I build and launch a real e-commerce website in a single day using AI-assisted development?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The answer was… surprisingly yes.&lt;/p&gt;

&lt;p&gt;Using a mix of modern tools and AI coding assistance, I went from idea → live production store in under 24 hours.&lt;/p&gt;

&lt;p&gt;Here’s exactly how it came together.&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚡ The Stack
&lt;/h2&gt;

&lt;p&gt;I intentionally chose tools that remove as much backend and infrastructure friction as possible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Backend &amp;amp; DB → Supabase
&lt;/li&gt;
&lt;li&gt;Payments → Stripe
&lt;/li&gt;
&lt;li&gt;AI coding assistant → Claude Code
&lt;/li&gt;
&lt;li&gt;Hosting → Vercel
&lt;/li&gt;
&lt;li&gt;CDN &amp;amp; DNS → Cloudflare
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal wasn’t perfection.&lt;/p&gt;

&lt;p&gt;The goal was &lt;strong&gt;speed to validation&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Step 1 — Let AI Do the Heavy Lifting
&lt;/h2&gt;

&lt;p&gt;Instead of hand-coding everything from scratch, I used Claude Code to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scaffold product listing pages&lt;/li&gt;
&lt;li&gt;Create Supabase schema&lt;/li&gt;
&lt;li&gt;Generate checkout flows&lt;/li&gt;
&lt;li&gt;Wire up Stripe payment intents&lt;/li&gt;
&lt;li&gt;Build admin-friendly product structures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This reduced what would normally be days of boilerplate into hours.&lt;/p&gt;

&lt;p&gt;Supabase handled:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Product storage&lt;/li&gt;
&lt;li&gt;Order tracking&lt;/li&gt;
&lt;li&gt;Customer data&lt;/li&gt;
&lt;li&gt;Secure APIs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No custom backend required.&lt;/p&gt;




&lt;h2&gt;
  
  
  💳 Step 2 — Payments with Stripe
&lt;/h2&gt;

&lt;p&gt;Stripe’s checkout + webhooks made payments straightforward.&lt;/p&gt;

&lt;p&gt;Claude helped generate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Secure checkout session creation&lt;/li&gt;
&lt;li&gt;Success/failure routing&lt;/li&gt;
&lt;li&gt;Order confirmation logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Supabase stores the order once Stripe confirms payment — simple and reliable.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 Step 3 — Deploy in Minutes
&lt;/h2&gt;

&lt;p&gt;Deployment was probably the easiest part.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frontend deployed to Vercel
&lt;/li&gt;
&lt;li&gt;Domain + CDN managed by Cloudflare
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This gave:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Global CDN&lt;/li&gt;
&lt;li&gt;SSL out of the box&lt;/li&gt;
&lt;li&gt;Fast load times&lt;/li&gt;
&lt;li&gt;Zero server maintenance&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛍 The Result
&lt;/h2&gt;

&lt;p&gt;By the end of the day, the site was live and selling.&lt;/p&gt;

&lt;p&gt;If you're curious, you can see the live store here:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://www.urbanentry.co.nz/wooden-letterboxes-nz" rel="noopener noreferrer"&gt;wooden letterboxes nz&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🧩 Key Takeaways
&lt;/h2&gt;

&lt;p&gt;Building e-commerce no longer needs to be a multi-week engineering project.&lt;/p&gt;

&lt;p&gt;With:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Supabase replacing custom backends&lt;/li&gt;
&lt;li&gt;Stripe handling payments&lt;/li&gt;
&lt;li&gt;AI accelerating development&lt;/li&gt;
&lt;li&gt;Vercel + Cloudflare simplifying deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can now move from &lt;strong&gt;idea → live store in a day&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And more importantly…&lt;/p&gt;

&lt;p&gt;You can validate before overbuilding.&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>claudecode</category>
      <category>ecommerce</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Create a Notes APP using ASP.NET Web API and Javascript</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Tue, 20 Sep 2022 06:02:18 +0000</pubDate>
      <link>https://dev.to/sameer8saini/create-a-notes-app-using-aspnet-web-api-and-javascript-4mob</link>
      <guid>https://dev.to/sameer8saini/create-a-notes-app-using-aspnet-web-api-and-javascript-4mob</guid>
      <description>&lt;p&gt;This is part 1 of the video series in which we will create a notes application using ASP.NET Web API as our backend and we will use Entity Framework to save our data to a SQL server database.&lt;/p&gt;

&lt;p&gt;We will cover the CRUD operations in our app.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/5nw6zmGkNvo"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Here's the step by step operations as covered in the video:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a new ASP.NET Web API&lt;/li&gt;
&lt;li&gt;Install Nuget packages for Entity Framework Core&lt;/li&gt;
&lt;li&gt;Create Domain models for our Notes application&lt;/li&gt;
&lt;li&gt;Create DbContext class&lt;/li&gt;
&lt;li&gt;Create Connection String in Appsettings.Json&lt;/li&gt;
&lt;li&gt;Inject the DbContext in the services collection&lt;/li&gt;
&lt;li&gt;Run Entity framework migrations.&lt;/li&gt;
&lt;li&gt;Create new controller&lt;/li&gt;
&lt;li&gt;Create and test CRUD Operations&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>api</category>
    </item>
    <item>
      <title>Dynamic Angular Blog Without Writing Any API</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Fri, 20 May 2022 08:50:55 +0000</pubDate>
      <link>https://dev.to/sameer8saini/dynamic-angular-blog-without-writing-any-api-2503</link>
      <guid>https://dev.to/sameer8saini/dynamic-angular-blog-without-writing-any-api-2503</guid>
      <description>&lt;p&gt;I created this Angular project which is a blog application without writing a single line of API.&lt;/p&gt;

&lt;p&gt;You might have seen applications talking to backend APIs trying to do CRUD operations and fetch their data.&lt;/p&gt;

&lt;p&gt;This is great and gives you a lot of flexibility, but what if you want to create a simple application like a blog where you just need data for your Angular application and all you are worried about is the SEO and the presentation of this Angular project.&lt;/p&gt;

&lt;p&gt;Well here is where a headless CMS like Contentful comes into picture.&lt;/p&gt;

&lt;p&gt;Contentful is a headless cms and is a content management platform to create, manage and publish content on any digital channel.&lt;br&gt;
So in simpler terms, we will not be creating any backend service to save content for our application in databases, instead we will use contentful which will do this job for us. &lt;/p&gt;

&lt;p&gt;This will save us a lot of effort and we don't have to manage the backend api.&lt;/p&gt;

&lt;p&gt;I have this video tutorial for you in which I create a Angular website from scratch using Contentful.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Z5QRCctfcLI"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>angular</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>.NET Web API - CRUD Operations 🚀</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Mon, 02 May 2022 07:34:16 +0000</pubDate>
      <link>https://dev.to/sameer8saini/net-web-api-crud-operations-k2f</link>
      <guid>https://dev.to/sameer8saini/net-web-api-crud-operations-k2f</guid>
      <description>&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/3NWT9k-6xGg"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://bit.ly/2FAgXzS" rel="noopener noreferrer"&gt;&lt;img src="https://media.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%2Fa0lq3y8extdkpnjfkfjz.png" alt="Subscribe to Sameer Saini Youtube channel"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do you want to learn how to create REST APIs with ASP.NET Core?&lt;/p&gt;

&lt;p&gt;In the above video tutorial, we will create a .NET 6 Web API from scratch step by step.&lt;/p&gt;

&lt;p&gt;We will use the latest version of ASP.NET i.e. .NET 6 and will use Visual Studio to create our Web API.&lt;/p&gt;

&lt;p&gt;We will start by installing an In-Memory database package that is offered to us by Entity Framework.&lt;/p&gt;

&lt;p&gt;We can use this database to perform CRUD operations on this REST API.&lt;/p&gt;

&lt;p&gt;CRUD stands for Create, Read, Update and Delete.&lt;/p&gt;

&lt;p&gt;We will create our domain models and then create a DBContext.&lt;/p&gt;

&lt;p&gt;We will then inject this DbContext in the services of this web API application.&lt;/p&gt;

&lt;p&gt;We will also create a new controller in our solution which acts as an API endpoint.&lt;/p&gt;

&lt;p&gt;In this API endpoint, we will build controller methods like GET, POST, PUT and DELETE to perform CRUD operations on our In-Memory database.&lt;/p&gt;

&lt;p&gt;Once this is all done and working, we will install EF Core packages from nuget to run migrations using Entity framework core and create a SQL Server database.&lt;/p&gt;

&lt;p&gt;Then we will modify the service injection slightly to now use SQL Server instead of the In-Memory database.&lt;/p&gt;

&lt;p&gt;I hope you like the video.&lt;/p&gt;

&lt;p&gt;Please show your support by hitting that like button 👍 and subscribing to the channel.&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>webdev</category>
      <category>programming</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Wordle Clone Using HTML CSS and Javascript</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Wed, 09 Mar 2022 19:56:01 +0000</pubDate>
      <link>https://dev.to/sameer8saini/wordle-clone-using-html-css-and-javascript-26e4</link>
      <guid>https://dev.to/sameer8saini/wordle-clone-using-html-css-and-javascript-26e4</guid>
      <description>&lt;p&gt;In this video, I have created a live working Wordle clone.&lt;/p&gt;

&lt;p&gt;For those who don't know what Wordle is, Wordle is a five letter word guessing game. You get six tries to guess the right word and every time you guess a word, you get feedback regarding the letters.&lt;/p&gt;

&lt;p&gt;A Green feedback on a letter means the letter is correct and on the correct location in that word.&lt;/p&gt;

&lt;p&gt;A Yellow feedback on a letter means that letter is present in the word but not at this location.&lt;/p&gt;

&lt;p&gt;A Grey feedback means the letter is not present at all in that word.&lt;/p&gt;

&lt;p&gt;I hope you enjoy this video tutorial.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/eYiZa9bUTGs"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>html</category>
    </item>
    <item>
      <title>Responsive Footer That Sticks To The Bottom</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Tue, 08 Mar 2022 22:49:18 +0000</pubDate>
      <link>https://dev.to/sameer8saini/responsive-footer-that-sticks-to-the-bottom-5a39</link>
      <guid>https://dev.to/sameer8saini/responsive-footer-that-sticks-to-the-bottom-5a39</guid>
      <description>&lt;p&gt;In this video, I will create a &lt;strong&gt;Fully Responsive Website Footer&lt;/strong&gt; using HTML and CSS.&lt;/p&gt;

&lt;p&gt;I will take a mobile first approach and first create the footer entirely for a mobile screen.&lt;/p&gt;

&lt;p&gt;This is the best approach when designing responsive websites.&lt;/p&gt;

&lt;p&gt;Then I will add media queries for larger displays and you will see how easy it is to code for larger displays once you are all sorted for your mobile devices.&lt;/p&gt;

&lt;p&gt;We will also make sure our website footer stays at the bottom no matter how small or large out content is.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/pgFpmxd5rGY"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Also check out my &lt;a href="https://codelikeadev.com"&gt;Coding Blog&lt;/a&gt; for other exciting blogs on HTML, CSS, JAVASCRIPT and C# ASP.NET.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>html</category>
      <category>css</category>
      <category>webdev</category>
    </item>
    <item>
      <title>HOW TO CREATE A MULTI PAGE WEBSITE IN HTML</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Fri, 04 Mar 2022 23:06:41 +0000</pubDate>
      <link>https://dev.to/sameer8saini/how-to-create-a-multi-page-website-in-html-1dgj</link>
      <guid>https://dev.to/sameer8saini/how-to-create-a-multi-page-website-in-html-1dgj</guid>
      <description>&lt;p&gt;There are two types of websites.&lt;/p&gt;

&lt;p&gt;One is a single-page website (not to be confused with a SPA) that has all its content in a single HTML web page or an HTML document.&lt;/p&gt;

&lt;p&gt;The other type is a website that has multiple pages (multiple HTML documents). Each HTML web page has different content in it. They might or might not share the common stylings, including the header and the footer elements.&lt;/p&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;Benefits Of Multi-Page Website&lt;/h2&gt;

&lt;p&gt;A website that has limited content to display to the end users may use the benefits of a single-page website. But there are so many reasons why we see a lot of multi-page websites on the internet.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A multi-page website segregates content on the website better. Rather than adding all the content for the website on a single page using headings, a multi-page website is able to better manage and showcase content on different pages based on the context.&lt;/li&gt;
&lt;li&gt;A multi-page website offers better user flow and user experience. Users use the top navigation to navigate between web pages of a website. The navigation menu makes it clear that such and such content is at such and such page.&lt;/li&gt;
&lt;li&gt;A multi-page website is search engine friendly. When you have a lot of content that differs in context between them, it's a great idea to have a multi-page website. Not only users would be able to better understand the contents of the website, but also search engine bots that crawl your website are able to better segregate the contents based on the web pages.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;Creating A Multi-Page Website In HTML&lt;/h2&gt;

&lt;p&gt;Now that we know the benefits of a multi-page website, let's make a simple one in HTML.&lt;/p&gt;

&lt;h3&gt;Step 1 - Creating our first HTML page&lt;/h3&gt;

&lt;p&gt;Open a code editor like Visual Studio Code, Sublime Text or Notepad++. If you don't have any of the text editors, open a notepad.&lt;/p&gt;

&lt;p&gt;Then create a basic HTML structure like the one below (I will provide the source code at the end of the blog)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiRRku6vzqJC-SW0UCo0Er_UXN2vP-gXbgfexincA9xH6CUCkmA1RoIeViRnmiqjr7QJJankZ3PE9VdC10Sx_4jhFFkItMGPKaqbUucEmwcrNZWBhDMCro1vfTKgyaxk8dbTrNbwErXovTqJIeIggKfFAlXYk8JzvvnWRIGinFeMIeE2ecVUnCvkBpI" rel="nofollow"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--QQWrcgwk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiRRku6vzqJC-SW0UCo0Er_UXN2vP-gXbgfexincA9xH6CUCkmA1RoIeViRnmiqjr7QJJankZ3PE9VdC10Sx_4jhFFkItMGPKaqbUucEmwcrNZWBhDMCro1vfTKgyaxk8dbTrNbwErXovTqJIeIggKfFAlXYk8JzvvnWRIGinFeMIeE2ecVUnCvkBpI%3Ds16000" width="808" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Save this notepad file in your preferred folder location and save it as &lt;strong&gt;index.html&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgDnkXhHeAxMXLUAc2nr_-b9DTbKKmBx276AJU8c9csMB3Lq8HQ1aJaMFc4lV40B2aE2Xo8UtATYMDweB3HGKEljS9fccs3VOPD62oSvejfsaZSSX_zMdqcU809Y3QiK6sEpEwzWgfV5LZCuPJ6rMYMKwzGuLRlrDYMSHvj_U0bEnNtBcWq6ihy_KxP" rel="nofollow"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--rZ2_CSHd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgDnkXhHeAxMXLUAc2nr_-b9DTbKKmBx276AJU8c9csMB3Lq8HQ1aJaMFc4lV40B2aE2Xo8UtATYMDweB3HGKEljS9fccs3VOPD62oSvejfsaZSSX_zMdqcU809Y3QiK6sEpEwzWgfV5LZCuPJ6rMYMKwzGuLRlrDYMSHvj_U0bEnNtBcWq6ihy_KxP%3Ds16000" width="880" height="552"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, we will change the title and create a header for this web page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgi-bOhZ2jVzPI8hvZRPJeGCqkrosSZ4Y-_JL-dq8TDyHpWQSz93Muo0Aa5h6OrZPQZ70GVDA8CmaD0ZvBcqQBSLHbJFv6ZoZAEtEi6r2lEWK1yqYrMoKKlI69UJhZAxUh4pe6chhcm8QF4N-VjJtZYobpQZBV_lxa9EdeI7lcQBVB10rFfDoS67KbG" rel="nofollow"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--qMBc9Qay--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgi-bOhZ2jVzPI8hvZRPJeGCqkrosSZ4Y-_JL-dq8TDyHpWQSz93Muo0Aa5h6OrZPQZ70GVDA8CmaD0ZvBcqQBSLHbJFv6ZoZAEtEi6r2lEWK1yqYrMoKKlI69UJhZAxUh4pe6chhcm8QF4N-VjJtZYobpQZBV_lxa9EdeI7lcQBVB10rFfDoS67KbG%3Ds16000" width="806" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;h3&gt;Step 2: Creating Two More Web Pages&lt;/h3&gt;

&lt;p&gt;Similar to how we created the home page, we will create two more web pages. The contact page and the about page. Our folder now looks like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEhmXLdY6O04ptdiLU_SE6YD0kR3uxhMehUmQoQiKBSnI4iibaD1zNPHhPo77hzKyGy1FDUFg8EQ9sUFDQ--WyWCRtLZ1t2mLh1-v5vD-3ayLMohl5uSHsQsltyXAVCTQdOMsIOEYAyjTDI7BKFt64_XZcQjxgqtckvdUmqlj9aAGsdkbq2k9xvuTp_V"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--IWWhC0fw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEhmXLdY6O04ptdiLU_SE6YD0kR3uxhMehUmQoQiKBSnI4iibaD1zNPHhPo77hzKyGy1FDUFg8EQ9sUFDQ--WyWCRtLZ1t2mLh1-v5vD-3ayLMohl5uSHsQsltyXAVCTQdOMsIOEYAyjTDI7BKFt64_XZcQjxgqtckvdUmqlj9aAGsdkbq2k9xvuTp_V%3Ds16000" width="867" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;&lt;strong&gt;Step 3 - Linking Multiple Website Pages Together In HTML&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;It's now time to link the multiple pages that we have created on our website.&lt;/p&gt;

&lt;p&gt;We will create a navigation menu that will link all of the pages together.&lt;/p&gt;

&lt;p&gt;We will first change the code in our index.html page to the below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjQGk1CkwyAHwGI3ndNekQEzh8OUFPeV33c_Dsc9PdB7SxOmV8wPToVQc7q9xvrT9fM6pC7Piao5_rPJcfk6zdlIOZ9wuh_WSXaieUXD1sxojCXKFGSOLhrurMCgsyt5i4ziKxxDduBJkQvV_VhmD04QbGbRZpYlP0T0G16zmEJJIRbZAMFcR9PQcLb"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uCx0_QUt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjQGk1CkwyAHwGI3ndNekQEzh8OUFPeV33c_Dsc9PdB7SxOmV8wPToVQc7q9xvrT9fM6pC7Piao5_rPJcfk6zdlIOZ9wuh_WSXaieUXD1sxojCXKFGSOLhrurMCgsyt5i4ziKxxDduBJkQvV_VhmD04QbGbRZpYlP0T0G16zmEJJIRbZAMFcR9PQcLb%3Ds16000" width="815" height="525"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And we will copy this nav element to the other pages as well (about.html and contact.html)&lt;/p&gt;

&lt;h3&gt;Step 4 - Running Our Multi-Page Website&lt;/h3&gt;

&lt;p&gt;Now, go back to your folder where you have saved all your files.&lt;/p&gt;

&lt;p&gt;Right click on the index.html file and open this file with the preferred browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEj6MRaAAsI8Yxi_iHCrgG8nEGF-2dlG7m4kydGdJdVIT2C812jEzY3F1TfXNCJug276GEvyjdNGN3Mu1UHiCQms-EjFW_uW5PHgpFxLBWOjNhv3L2plKNklQ8jqVcsbux_ZYtRSazuKfrvgpiRy_V9sLslPr3d8go_iqfUY0qi7y0ZoQKozdFuNo6fZ"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--KD4wX-48--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEj6MRaAAsI8Yxi_iHCrgG8nEGF-2dlG7m4kydGdJdVIT2C812jEzY3F1TfXNCJug276GEvyjdNGN3Mu1UHiCQms-EjFW_uW5PHgpFxLBWOjNhv3L2plKNklQ8jqVcsbux_ZYtRSazuKfrvgpiRy_V9sLslPr3d8go_iqfUY0qi7y0ZoQKozdFuNo6fZ%3Ds16000" width="880" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Result&lt;/h3&gt;

&lt;p&gt;This will open your multi-page website in the browser.&lt;/p&gt;

&lt;p&gt;Use the navigation on the top to navigate between pages. This is how you can make multi-page websites easily.&lt;/p&gt;

&lt;p&gt;Change the content of the web pages to the content that you want to add to your website.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiyDym-WAlJguhMC9iWZeapDenb24hKq72jcw6jpjreEwagz14jTGpq6YmNu5zxiyLMdHSw2pCeR_r73v1VWTL1PQe1IKW_N61RkI33gtt6HtAfcpzz8jYuE8vZhWezfnwCzmzTF6u3E2RRGnQj6kp_ofuVdCI89p8k3H1uFwqSnbKJegBFw5cTYGC0=s999"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rocr8lFX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiyDym-WAlJguhMC9iWZeapDenb24hKq72jcw6jpjreEwagz14jTGpq6YmNu5zxiyLMdHSw2pCeR_r73v1VWTL1PQe1IKW_N61RkI33gtt6HtAfcpzz8jYuE8vZhWezfnwCzmzTF6u3E2RRGnQj6kp_ofuVdCI89p8k3H1uFwqSnbKJegBFw5cTYGC0%3Ds16000" width="880" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Multi-Page Website In HTML - Source Code&lt;/h2&gt;

&lt;p&gt;Full Source Code For &lt;a href="https://codelikeadev.com/blog/create-multi-page-website-html"&gt;HOW TO CREATE A MULTI PAGE WEBSITE IN HTML&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>COUNTDOWN TIMER USING HTML, CSS AND JAVASCRIPT</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Mon, 21 Feb 2022 06:13:34 +0000</pubDate>
      <link>https://dev.to/sameer8saini/countdown-timer-using-html-css-and-javascript-22d3</link>
      <guid>https://dev.to/sameer8saini/countdown-timer-using-html-css-and-javascript-22d3</guid>
      <description>&lt;p&gt;Full Blog Post With Source Code Here -&amp;gt; &lt;br&gt;
&lt;a href="https://codelikeadev.com/blog/countdown-timer-html-css-javascript" rel="noopener noreferrer"&gt;COUNTDOWN TIMER USING HTML, CSS AND JAVASCRIPT&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://bit.ly/2FAgXzS" rel="noopener noreferrer"&gt;&lt;img src="https://media.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%2Fa0lq3y8extdkpnjfkfjz.png" alt="Subscribe to Sameer Saini Youtube channel"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are just starting our learning HTML, CSS and Javascript, mini projects can be a great way to learn the language and put it to use.&lt;/p&gt;

&lt;p&gt;There are so many mini-projects that you can make using these languages one of which is a countdown timer.&lt;/p&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;Why Create A Countdown Timer? &lt;/h2&gt;

&lt;p&gt;A countdown timer as we have seen in many places including one in our mobile phones is a timer that ticks backward from a given time to zero.&lt;/p&gt;

&lt;p&gt;A countdown timer has several benefits in real life too. This can be used as an alarm to see if food is properly cooked or not, to track activity, and numerous other things.&lt;/p&gt;

&lt;p&gt;Although we have a countdown timer in our mobile phone, creating a countdown timer from scratch using HTML, CSS and Javascript can be so much fun. &lt;/p&gt;

&lt;p&gt;This can be a mini project that you can add to your portfolio.&lt;/p&gt;

&lt;p&gt;So let's jump on to the blog post and create a fancy countdown timer using HTML, CSS, and Javascript step by step, and at the end, I will also provide the source code for it.&lt;/p&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;Coding A Countdown Timer - Explained [Step By Step]&lt;/h2&gt;

&lt;p&gt;To begin with, we will create an HTML barebone structure and will link our CSS and Script file to it.&lt;/p&gt;

&lt;p&gt;Our barebone HTML looks like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjINmL38p-9Yms2F9gShfTaSiRaVSZ70fEEAUOMFruZFd2J2FVA42AUGS8x4SKaLhbQ4UX7QprlGhEa9k4Td4wfCilfNd9dZXlIQ7eRb2rwhNlwRpkC5fZqE3QqxfFOzcG8yz0gTF6qPrFEPNTbysESBH-zp5tj_yPnXnTemT5a3tjJGDzelQTR5fJI" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEjINmL38p-9Yms2F9gShfTaSiRaVSZ70fEEAUOMFruZFd2J2FVA42AUGS8x4SKaLhbQ4UX7QprlGhEa9k4Td4wfCilfNd9dZXlIQ7eRb2rwhNlwRpkC5fZqE3QqxfFOzcG8yz0gTF6qPrFEPNTbysESBH-zp5tj_yPnXnTemT5a3tjJGDzelQTR5fJI%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;See how we have linked our CSS in the head section and the script right at the end of the body tag.&lt;/p&gt;

&lt;p&gt;Any elements that we add to this HTML will go above the script file reference.&lt;/p&gt;

&lt;p&gt;Now, we will add the HTML structure for the countdown timer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgXR59oH8JwhxecluhvmyoT9eeE1f1BLkI3VdCMGBHnU9RCxw_0HmfLdUwbSMyS65B-xyQ_akcsQoCoKgmTRdp_xXkiSHkLzKvVNmG4Q97n2SSvfsIEp_nLpIK63DlqNPhu9QbceUaQrRUdYOb_gBG_DhUC6SXq6I4NrRmXcpC1bZ82dCAvU2AvWC3B" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEgXR59oH8JwhxecluhvmyoT9eeE1f1BLkI3VdCMGBHnU9RCxw_0HmfLdUwbSMyS65B-xyQ_akcsQoCoKgmTRdp_xXkiSHkLzKvVNmG4Q97n2SSvfsIEp_nLpIK63DlqNPhu9QbceUaQrRUdYOb_gBG_DhUC6SXq6I4NrRmXcpC1bZ82dCAvU2AvWC3B%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;Now we will style this countdown timer and add some CSS code for these HTML elements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgZFsi0dmGBMS_tcMlwqSZA3BuJZRnf2r1XEsadAn8myP3Y1vWEHxt328WoTPugbKybz2-FTpO08u0so881IVDqxdXC7rTeBZE7bhfftkH_c0LE1sKLLJCncMMltQUl7uw6DhskuCnNpWPvkOq4sdj4FJJXqyNtWWE1K4cjynbBwKzHSIfyYgLSod_q" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEgZFsi0dmGBMS_tcMlwqSZA3BuJZRnf2r1XEsadAn8myP3Y1vWEHxt328WoTPugbKybz2-FTpO08u0so881IVDqxdXC7rTeBZE7bhfftkH_c0LE1sKLLJCncMMltQUl7uw6DhskuCnNpWPvkOq4sdj4FJJXqyNtWWE1K4cjynbBwKzHSIfyYgLSod_q%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;The result of this HTML and CSS is this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgk8uGvuuwtPjEO3fBguPbGuHytCYvAJZRaFrkPxiSGxd8QdIE9FKQ9ljo3q8Wr3-bPpTzu5UGBB1Zb3KNWswviKOYkDX6pm70EMkchFd-q4hIkkum5BDlp4g3xBO9G3v9OAUqOZ4M1VVeQ8VVR4TF6Hh9zlmI1OIjXdRF_hMLTVh-nzIKgIiCtX9dn" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEgk8uGvuuwtPjEO3fBguPbGuHytCYvAJZRaFrkPxiSGxd8QdIE9FKQ9ljo3q8Wr3-bPpTzu5UGBB1Zb3KNWswviKOYkDX6pm70EMkchFd-q4hIkkum5BDlp4g3xBO9G3v9OAUqOZ4M1VVeQ8VVR4TF6Hh9zlmI1OIjXdRF_hMLTVh-nzIKgIiCtX9dn%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;Now, we will write some javascript to make this countdown timer functional.&lt;/p&gt;

&lt;p&gt;We will first use a date in the future to which our countdown timer counts from today's date and time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEimi1K-lDB8aYW-YFjyqUolAioD8ONsyrr7Op1D3rCJehK-z4sy645rlYqSa4V1sOrVpeomjwG-rso7p7cPeSqJZK8KpRWQepEoWO0FA6fQ2vSD99Zv_1cDnnmR8Qpm6Pg-XII-opFqX-IwxsMkLZY9ft9tTSRBf9enZLWh932m6cUfZcOG7mbCsiB5" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEimi1K-lDB8aYW-YFjyqUolAioD8ONsyrr7Op1D3rCJehK-z4sy645rlYqSa4V1sOrVpeomjwG-rso7p7cPeSqJZK8KpRWQepEoWO0FA6fQ2vSD99Zv_1cDnnmR8Qpm6Pg-XII-opFqX-IwxsMkLZY9ft9tTSRBf9enZLWh932m6cUfZcOG7mbCsiB5%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;Let's break down the Javascript code for this countdown timer.&lt;/p&gt;

&lt;p&gt;On the top, we have a const value of the date and time we are counting down from.&lt;/p&gt;

&lt;p&gt;In our example, we are counting down the date and time from next year.&lt;/p&gt;

&lt;p&gt;Then we have a few query selectors for the various values of days, hours, minutes, and seconds.&lt;/p&gt;

&lt;p&gt;Then comes the main bit, we are using the "setInterval" function that Javascript provides and we will run a function every 1000 milliseconds or 1 second.&lt;/p&gt;

&lt;p&gt;In this function, we will calculate the difference of time between now and the date provided in the constant we are counting down from.&lt;/p&gt;

&lt;p&gt;Then, we will assign these values to the selectors.&lt;/p&gt;

&lt;p&gt;This will result in the following output and our countdown timer is ready.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiywyZ8I7LA1U167fQ3GkaAit-Tb9dc_fOsGzwsHhsWddsi7488FtriPUxUX2cXUpkmrATft8HuiG6y5M5LWfJGRZzvGMUeXPU5YjO7H9Z3UGjAU97TXHUgV62MflbtQUYpdKCKlSGhKVJ_ANz7fooZqiGbybrDtyzGzZrB-_IJ2uGzzuqejoH9K9lP" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEiywyZ8I7LA1U167fQ3GkaAit-Tb9dc_fOsGzwsHhsWddsi7488FtriPUxUX2cXUpkmrATft8HuiG6y5M5LWfJGRZzvGMUeXPU5YjO7H9Z3UGjAU97TXHUgV62MflbtQUYpdKCKlSGhKVJ_ANz7fooZqiGbybrDtyzGzZrB-_IJ2uGzzuqejoH9K9lP%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;



</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Full-Screen Overlay Navigation Bar Using HTML and CSS</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Mon, 21 Feb 2022 06:11:37 +0000</pubDate>
      <link>https://dev.to/sameer8saini/full-screen-overlay-navigation-bar-using-html-and-css-2a0f</link>
      <guid>https://dev.to/sameer8saini/full-screen-overlay-navigation-bar-using-html-and-css-2a0f</guid>
      <description>&lt;p&gt;Full blog post here: &lt;a href="https://codelikeadev.com/blog/full-screen-navigation-bar-html-css" rel="noopener noreferrer"&gt;Navigation Bar HTML&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this blog post, we are going to create a fancy navigation bar using HTML, CSS, and Javascript.&lt;/p&gt;

&lt;p&gt;This navigation menu would be not just a regular navbar, but, a full-screen overlay navigation menu.&lt;/p&gt;

&lt;p&gt;This will be a responsive navigation bar menu that will be responsive for both mobile and desktop displays.&lt;/p&gt;

&lt;p&gt;It will be really fun to code this and navigation bars like these create an amazing impression of your website in the user's head.&lt;/p&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;Benefits of Full Screen Navigation Bar Menu&lt;/h2&gt;

&lt;p&gt;Well, you can have a navigation bar that is right at the top of the website. So what does this full-screen overlay navigation achieve?&lt;/p&gt;

&lt;p&gt;As a pro, you get a consistent view between your mobile and your desktop.&lt;/p&gt;

&lt;p&gt;Users are able to interact with your responsive mobile website and desktop site in the same way.&lt;/p&gt;

&lt;p&gt;Also, you get a lot of free space on the top of the websites which makes your website a little different from other websites out there.&lt;/p&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;Create A Full-Screen Navigation Bar Menu&lt;/h2&gt;

&lt;p&gt;To begin with, we will create three files in our code editor:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;index.html file&lt;/li&gt;
&lt;li&gt;style.css file&lt;/li&gt;
&lt;li&gt;script.js file&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After these, we will create a basic HTML structure using the Emmet extension for visual studio and will link our CSS and Script file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjg1olrq-vlGJAjUS9eQnnCK88Xgu4LF_fLa-IWg7KMLX4b2CJiTvgicxHK5IeutvgEcpp5P8xKkrGp7LEkfh_78-UQzVZKmhXKxZUO38P1r4PlmkrNL_YitV3KpsSWs_g5DVqogZdZagY2tR-fQj8PyG7VDxYHVIxnOJvnFtw7upP8vbLhVIUPQFgl" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEjg1olrq-vlGJAjUS9eQnnCK88Xgu4LF_fLa-IWg7KMLX4b2CJiTvgicxHK5IeutvgEcpp5P8xKkrGp7LEkfh_78-UQzVZKmhXKxZUO38P1r4PlmkrNL_YitV3KpsSWs_g5DVqogZdZagY2tR-fQj8PyG7VDxYHVIxnOJvnFtw7upP8vbLhVIUPQFgl%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;h3&gt;Adding HTML Elements For Navigation Bar&lt;/h3&gt;

&lt;p&gt;Now, to the HTML structure, we will add a few HTML elements and create our header and our Navigation bar.&lt;/p&gt;

&lt;p&gt;This is what the HTML code looks like:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiZiRkYHros4ePzIsCgE8sOMUWUkPkLi8UaCRweKEN7ICm32LmS3FHR10dascbxwrx5OqJ1Q4Cxbnx_9nW_fSYzfXiYiMzWQAtEx32Z38Fw8rHR8PUk7Ovfvz3Xq-sBdUK-ehAJT9DYdA1NxhUbpTgcAcYb4cywsr6ufM8ZCm71VJgNfnKtvBZWy3_e" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEiZiRkYHros4ePzIsCgE8sOMUWUkPkLi8UaCRweKEN7ICm32LmS3FHR10dascbxwrx5OqJ1Q4Cxbnx_9nW_fSYzfXiYiMzWQAtEx32Z38Fw8rHR8PUk7Ovfvz3Xq-sBdUK-ehAJT9DYdA1NxhUbpTgcAcYb4cywsr6ufM8ZCm71VJgNfnKtvBZWy3_e%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Adding Styles To Our Navigation Menu HTML Elements&lt;/h3&gt;

&lt;p&gt;Now, it's time to style our header and nav elements and create a fancy full-screen overlay navigation menu.&lt;/p&gt;

&lt;p&gt;The CSS will look like this&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjUq4XVrl8sIpnwCJCbrbjBaQrUZoiK16BYAEmhu-X6BOtfWBD2qaHY9Tn167jPVh-FRwVktzc7XXRo9Ta2RvcImteUsF8hsefZFKJnpXHwaPcb0QFOMqARIGhx29_dX-yWCL7zjjvWrEwGZxcNahOo-GvAd2F8aE-9T4Yb8fX12yei5mu_Ugewb-NY" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEjUq4XVrl8sIpnwCJCbrbjBaQrUZoiK16BYAEmhu-X6BOtfWBD2qaHY9Tn167jPVh-FRwVktzc7XXRo9Ta2RvcImteUsF8hsefZFKJnpXHwaPcb0QFOMqARIGhx29_dX-yWCL7zjjvWrEwGZxcNahOo-GvAd2F8aE-9T4Yb8fX12yei5mu_Ugewb-NY%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiXdDyXSuFYe5CC1nzyKrJhCR8VV9SoXs3zwsa50_LPmYfI9ft2VXOH0A-yhipoLWTKuBOpmmKt_RB310RjdwSHlcNeDyAxrntBgKDBI1UH5WJVAAZ97POgL9xzrADw6HMHvh3Xvk6JHaIXAzxDJNWAForT6HROOwCyLJZGetkwPB9iwzy5dfa7rZWg" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEiXdDyXSuFYe5CC1nzyKrJhCR8VV9SoXs3zwsa50_LPmYfI9ft2VXOH0A-yhipoLWTKuBOpmmKt_RB310RjdwSHlcNeDyAxrntBgKDBI1UH5WJVAAZ97POgL9xzrADw6HMHvh3Xvk6JHaIXAzxDJNWAForT6HROOwCyLJZGetkwPB9iwzy5dfa7rZWg%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEhWCyoypGSripiLDpUyShmn6nSiS_JSydcc2IvzjYVqDfPTbp-BLycqV8DJ-jtx99sXBGMb90u-u57mtczeLRoYDTHJkfJGiVgJuAyL0qJDSV5Z08Gs83q1xb4FzVd8N3gr0s4FmnQ7yY00Wo26_O6NzQUyivVzhIU94Sk-FQMbXR5TMVCTbD8suOgG" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEhWCyoypGSripiLDpUyShmn6nSiS_JSydcc2IvzjYVqDfPTbp-BLycqV8DJ-jtx99sXBGMb90u-u57mtczeLRoYDTHJkfJGiVgJuAyL0qJDSV5Z08Gs83q1xb4FzVd8N3gr0s4FmnQ7yY00Wo26_O6NzQUyivVzhIU94Sk-FQMbXR5TMVCTbD8suOgG%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;The result of the above HTML and CSS is that we have a top website header and a navigation menu. But the nav is not an overlay as we want at the moment.&lt;/p&gt;

&lt;p&gt;Now we will add some more CSS to make it an overlay.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEi-iMRzKtyvmFUTK_LOszVXbhL0PSTBuQnPZdDttVLd4iGjxjnjXtwPgCrnSdV0CheTuhaLb8nzFbXXqqyXppT3IZsZyq1vLMHztmByZhpzF9vzBUwtNN4yO7lmxmYEfS0_SJqKKE8Si7jYSQ_dW2j15sqRiOK0zZXMiRpVvqf0C7EvdPZ-7Fwzsu2R" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEi-iMRzKtyvmFUTK_LOszVXbhL0PSTBuQnPZdDttVLd4iGjxjnjXtwPgCrnSdV0CheTuhaLb8nzFbXXqqyXppT3IZsZyq1vLMHztmByZhpzF9vzBUwtNN4yO7lmxmYEfS0_SJqKKE8Si7jYSQ_dW2j15sqRiOK0zZXMiRpVvqf0C7EvdPZ-7Fwzsu2R%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;These three CSS properties make our nav a perfect overlay.&lt;/p&gt;

&lt;p&gt;Now we have to make use of some Javascript to make the navigation menu hide and show.&lt;/p&gt;

&lt;p&gt;The Javascript is very simple, we are just toggling a class that hides or shows the menu.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgOxOIeo0vtMQ4irARLu9foe0e7kT0za67UpHPHRXH9BSdZaV_YcyAwWk5c78Y0l29pihIWYhqj2enrjs39iYD6DlJdStVsDBWFta6QN2ABgY555ebQrj6JO1yRWmsuYE7vrxYu68bHIai6WJ5HiBYeAjKXy1BQ9x_4wX5BsAgbqejZlIddpAZEhTRJ" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEgOxOIeo0vtMQ4irARLu9foe0e7kT0za67UpHPHRXH9BSdZaV_YcyAwWk5c78Y0l29pihIWYhqj2enrjs39iYD6DlJdStVsDBWFta6QN2ABgY555ebQrj6JO1yRWmsuYE7vrxYu68bHIai6WJ5HiBYeAjKXy1BQ9x_4wX5BsAgbqejZlIddpAZEhTRJ%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt; &lt;/h2&gt;

&lt;h2&gt;The Result - Our Navigation Bar&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiZf4zCvVNcJHz6MIc8hoJAZxp2dUvKlFtyY0sTughmLz6qRGXRodLHwFitW4cnXLsR9cs4BcPh7LkS2-t_haMHokWeU0dIxjpzA9gY6ntf6dS6__U03T-TXM4rm4Eq7TYw72veF5ZGrafdZ3ps5hmhaA0X2ryHOqX3TFaBJRXXY44tSAydqONWr26z=s999" rel="noopener noreferrer"&gt;&lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fa%2FAVvXsEiZf4zCvVNcJHz6MIc8hoJAZxp2dUvKlFtyY0sTughmLz6qRGXRodLHwFitW4cnXLsR9cs4BcPh7LkS2-t_haMHokWeU0dIxjpzA9gY6ntf6dS6__U03T-TXM4rm4Eq7TYw72veF5ZGrafdZ3ps5hmhaA0X2ryHOqX3TFaBJRXXY44tSAydqONWr26z%3Ds16000"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Simple Top Navigation Menu Using HTML and CSS - [With Source Code]</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Fri, 04 Feb 2022 03:04:46 +0000</pubDate>
      <link>https://dev.to/sameer8saini/simple-top-navigation-menu-using-html-and-css-with-source-code-1lga</link>
      <guid>https://dev.to/sameer8saini/simple-top-navigation-menu-using-html-and-css-with-source-code-1lga</guid>
      <description>&lt;p&gt;Every website needs some sort of navigation so that users coming onto this web page can easily navigate between the pages of the website.&lt;/p&gt;

&lt;p&gt;There are so many different navigation menus one can create like side navigation on a website, top navigation that stays on the top, maybe, one on the right side?&lt;/p&gt;

&lt;p&gt;Well wherever you place it, these navigation menus or navbar menus are really an essential part of a website.&lt;/p&gt;

&lt;p&gt;Creating them from scratch can not be so straightforward when you are just starting with HTML and CSS coding.&lt;/p&gt;

&lt;p&gt;So in this blog post, we will create a top navigation menu or navbar from scratch using HTML and CSS and I will also attach the source code for it.&lt;/p&gt;

&lt;h2&gt;Creating The Folder Structure For Website&lt;/h2&gt;

&lt;p&gt;I have created a folder for myself called Nav1 and inside this folder with Visual Studio code which will be my editor in which I will write my HTML and CSS code.&lt;/p&gt;

&lt;p&gt;Once the folder is open in visual studio code, I will create two files, an index.html and a style.css file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEisGrT2Az20HVFgCPSRc8ICGhL1a4uRzt3Z147ypeCeOYhPa2b4QIxjzfEix4fbUucH8xGeJN6yefn6rB0EIPrUcPGt-vgSO0oM1fUT6oGLvEI1nsjaozV-yBI91iGMI8baYbCDmJvKCsYG3hRCbcxbTlDzJ9RJvnwLMfWfHiXKVjTbgMDOilIz7nNs=s406"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--RX2zibKN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEisGrT2Az20HVFgCPSRc8ICGhL1a4uRzt3Z147ypeCeOYhPa2b4QIxjzfEix4fbUucH8xGeJN6yefn6rB0EIPrUcPGt-vgSO0oM1fUT6oGLvEI1nsjaozV-yBI91iGMI8baYbCDmJvKCsYG3hRCbcxbTlDzJ9RJvnwLMfWfHiXKVjTbgMDOilIz7nNs%3Ds16000" width="406" height="146"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Creating The HTML Structure&lt;/h2&gt;

&lt;p&gt;We will start by creating the basic HTML structure for our website.&lt;/p&gt;

&lt;p&gt;We are using the Emmet extension for visual studio code so we will start writing html and Emmet will give us the boilerplate HTML structure for the website.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjMdJWV51998a0n8gXG-hGpzjljIy7hNUAPQu6zRrjQzzdW7V1ewm0rGteFSsbKtWv_vn-px7W81MA3ozYjPaWx2OE7oiNc_Oy70oqM5lOGrKzUvA_fkE_E69rpVYhWZRX882fXm96KKw4vSf0V05zVS9yo5F6BnQ9G4Ip2M1hstHmPg-HdJx6G_MCC=s858"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--wiFNVnMT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjMdJWV51998a0n8gXG-hGpzjljIy7hNUAPQu6zRrjQzzdW7V1ewm0rGteFSsbKtWv_vn-px7W81MA3ozYjPaWx2OE7oiNc_Oy70oqM5lOGrKzUvA_fkE_E69rpVYhWZRX882fXm96KKw4vSf0V05zVS9yo5F6BnQ9G4Ip2M1hstHmPg-HdJx6G_MCC%3Ds16000" width="858" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then we will link our style.css to the HTML page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEhrq8yeLJpWFazO1lupaaW1Fli0znDgWS6xWpgZsNBxwulB4E8eT3hPTAfnN2njmwGEv9uuW0WAMPd4IMN1BVg___eBmneJFy6uHrzkiwfYJ7qdxQj4byVZCZseweTjkpp4o1eaU9EcBQygQUGhL1CmG_V3T53RI2RcktPwcXvW7ofJPs8Ke0MpAlk0=s612"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--v_2FtH5H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEhrq8yeLJpWFazO1lupaaW1Fli0znDgWS6xWpgZsNBxwulB4E8eT3hPTAfnN2njmwGEv9uuW0WAMPd4IMN1BVg___eBmneJFy6uHrzkiwfYJ7qdxQj4byVZCZseweTjkpp4o1eaU9EcBQygQUGhL1CmG_V3T53RI2RcktPwcXvW7ofJPs8Ke0MpAlk0%3Ds16000" width="612" height="95"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then we will go ahead and add some elements to our body of the website.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgwoQDWfPeFtaAqs9Y4V-a70BVaJ5ip_-8bPJO3_I1y53y5PCEP9LUyJ8S4C3Ui1MFbB4GUyLIJeRvH03_GqJFagfJNmIA9YqWtyxC9eZHAgYnL4sYRlrJ7Wj9kH4rOzLDF3q8unVbGZQb3whBOwg4KM-rBOx2qX_bIXJ5D6CjKY63Og3_kae2drOyy=s590"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--xZgG-ybY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgwoQDWfPeFtaAqs9Y4V-a70BVaJ5ip_-8bPJO3_I1y53y5PCEP9LUyJ8S4C3Ui1MFbB4GUyLIJeRvH03_GqJFagfJNmIA9YqWtyxC9eZHAgYnL4sYRlrJ7Wj9kH4rOzLDF3q8unVbGZQb3whBOwg4KM-rBOx2qX_bIXJ5D6CjKY63Og3_kae2drOyy%3Ds16000" width="590" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the above image we can see that we have added a header element inside our body.&lt;/p&gt;

&lt;p&gt;Inside the header tag, we have created two elements, 1 is an anchor element which will be used as a placeholder for the logo for our website.&lt;/p&gt;

&lt;p&gt;The other element inside the header is the nav element. Nav elements are usually kept for adding menu to the navigations.&lt;/p&gt;

&lt;p&gt;Inside the nav we have an unordered list and a few elements inside it defining the pages that we want the user to navigate to using anchor elements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEga-nIaPnVd7Vkv20qq1oUm-IXDVeRmfPBYrq6AgiOxqKnj8CnGonc4G2Y9ufrbznGXnnJESnePJk3WN7jnXBxGHMXz419jqwnA3Tf9jaEQnWAWMiyzpCpd8JyJI3w_nYeswviLz8seuFFKujNzQAmNaNNdR53Erd0Jfn7POm_NYNDVAcAkbK0Z14z7=s597"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--EE11am4G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEga-nIaPnVd7Vkv20qq1oUm-IXDVeRmfPBYrq6AgiOxqKnj8CnGonc4G2Y9ufrbznGXnnJESnePJk3WN7jnXBxGHMXz419jqwnA3Tf9jaEQnWAWMiyzpCpd8JyJI3w_nYeswviLz8seuFFKujNzQAmNaNNdR53Erd0Jfn7POm_NYNDVAcAkbK0Z14z7%3Ds16000" width="597" height="245"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is how our HTML looks like in a browser till now.&lt;/p&gt;

&lt;p&gt;The next step is to add some CSS styles to these elements that we have created so that our website looks the way we want it to look.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjIyIYFmeofjJ5YL_7_m7oMppFeK9HvSQpTtNkZGUgvBYHUZ1Tk67Vz4h3v--BGw_WvFQy5c_NUlCVjO2cszIc2DjCQqkMH8DYkBbvkPilJxsZBSGst_y6n-Sr_c1IF7YWQBmKPmpr20Uw22Vm1VXPAZhL1xAHB90G6WvRtrtAdxw9aXQ3uWkCS-Peq=s1250"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--6D0_h4KG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjIyIYFmeofjJ5YL_7_m7oMppFeK9HvSQpTtNkZGUgvBYHUZ1Tk67Vz4h3v--BGw_WvFQy5c_NUlCVjO2cszIc2DjCQqkMH8DYkBbvkPilJxsZBSGst_y6n-Sr_c1IF7YWQBmKPmpr20Uw22Vm1VXPAZhL1xAHB90G6WvRtrtAdxw9aXQ3uWkCS-Peq%3Ds16000" width="880" height="172"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first thing we will do, and this is totally optional is to add a font to your website. In this example, I am using Google Quicksand Font. The usage of the font is explained in the image above.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiOBEeC6tKejHUikrSASeYu3m-RU1njzc5z0vbuNWqIPokjxBXoLnkmdfOsf63n76a6KodZvnmSh8kZztxmCf_RgXdbvqU2mNzQEyGZTGt1tgXVtRUbavZHygO0jaq3YFB1zEo4W_tW1NEXdX9awBeWnCcM90fyCkt_XzZhX5xRJ1hyyJCuyRR-sNjG=s408"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--ujjqt9_Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiOBEeC6tKejHUikrSASeYu3m-RU1njzc5z0vbuNWqIPokjxBXoLnkmdfOsf63n76a6KodZvnmSh8kZztxmCf_RgXdbvqU2mNzQEyGZTGt1tgXVtRUbavZHygO0jaq3YFB1zEo4W_tW1NEXdX9awBeWnCcM90fyCkt_XzZhX5xRJ1hyyJCuyRR-sNjG%3Ds16000" width="408" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By adding the above css code, we give our header a display property of flex and make the alignment for the header. After these above css changes the header looks like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgelaySKuGN6ZxDNLjnZK-N3p32q3KEW86l5JEKxlbpD6gVUJxGRXhXlEsa-Iqj43GYufbMbLJd9W-SdeY9isMTiZCt337SQDiGxQEWOhfTPnTTWHPdIMGy-bGnv5jBmkj24vZzh6AygSJTe4Bc2IRawTKhmSDsjce0y3QOhIK104CQwIVCSSbE6Flg=s606"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--s2M4nIgf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgelaySKuGN6ZxDNLjnZK-N3p32q3KEW86l5JEKxlbpD6gVUJxGRXhXlEsa-Iqj43GYufbMbLJd9W-SdeY9isMTiZCt337SQDiGxQEWOhfTPnTTWHPdIMGy-bGnv5jBmkj24vZzh6AygSJTe4Bc2IRawTKhmSDsjce0y3QOhIK104CQwIVCSSbE6Flg%3Ds16000" width="606" height="186"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;Then we add some more styles to the nav and the header as below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiT7Y0Qvslv_Bm017GkSSVO2k1ctKCFIGfnBRp5_1ixqybT2C4H8AAzcqZogl5RngRLAqCwMnJ-4pQL059rvNjGcFeXuADml0pzsAycyQMCXpsUzPFfZTuLH9bpFVAN7EM7NDa8oN3Y_ICu0j55GKrUA4_bTtzFOUCCuA6POSWLG_euW4wveT3RRREN=s722"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Nb_YC8---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiT7Y0Qvslv_Bm017GkSSVO2k1ctKCFIGfnBRp5_1ixqybT2C4H8AAzcqZogl5RngRLAqCwMnJ-4pQL059rvNjGcFeXuADml0pzsAycyQMCXpsUzPFfZTuLH9bpFVAN7EM7NDa8oN3Y_ICu0j55GKrUA4_bTtzFOUCCuA6POSWLG_euW4wveT3RRREN%3Ds16000" width="722" height="687"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;This gives the color and styles to the nav and header.&lt;/p&gt;

&lt;h2&gt;The Final Look&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjUDsa5ykofjHcXqWicCWnHWyNURYbDs7-EaXcO0oAof4SWmzAPTOLbOQMyIOEmaJa8pcYtrPqiC6eH3V-6IazU0oyhBVRqTFQUd8GEhuv38MdlcaB-q4nkXEaf6VycLu5PO_ZW_5YpFMeqmVD-GKbqXg1VPPHufqjPvdwEV7OQhQuTwmUd1_Zb74_6=s1670"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--tZyMuzSy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjUDsa5ykofjHcXqWicCWnHWyNURYbDs7-EaXcO0oAof4SWmzAPTOLbOQMyIOEmaJa8pcYtrPqiC6eH3V-6IazU0oyhBVRqTFQUd8GEhuv38MdlcaB-q4nkXEaf6VycLu5PO_ZW_5YpFMeqmVD-GKbqXg1VPPHufqjPvdwEV7OQhQuTwmUd1_Zb74_6%3Ds16000" width="880" height="217"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;h2&gt;
  
  
  Source Code Available Here
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://codelikeadev.com/blog/simple-top-navigation-menu-html-css"&gt;Top Navigation Bar In HTML CSS Source Code&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Embed a Youtube Video Into Your HTML Website - 2 Easy Steps</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Tue, 01 Feb 2022 02:14:15 +0000</pubDate>
      <link>https://dev.to/sameer8saini/embed-a-youtube-video-into-your-html-website-2-easy-steps-27pm</link>
      <guid>https://dev.to/sameer8saini/embed-a-youtube-video-into-your-html-website-2-easy-steps-27pm</guid>
      <description>&lt;p&gt;Complete blog post here &lt;a href="https://codelikeadev.com/blog/embed-youtube-video-in-html-website"&gt;Embed a youtube video into a HTML Website&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Why Embed A Youtube Video Into Your Website?&lt;/h2&gt;

&lt;p&gt;In a successful blog post or a high converting website page, the most important thing is content. &lt;/p&gt;

&lt;p&gt;Content is what keeps the reader engaged with your website page or blog. &lt;/p&gt;

&lt;p&gt;Sometimes you may have the best content and clear instructions on your web page but there still may be some parts that could miss in writing text and screenshots.&lt;/p&gt;

&lt;p&gt;This is where videos come in handy. Not only do they provide clear and concise information, but also a good engagement with the viewer.&lt;/p&gt;

&lt;p&gt;Something as simple as adding a youtube video to your website can be the striking difference between the user staying on your website or just moving away from it.&lt;/p&gt;

&lt;p&gt;Embedding a youtube video by a link that nobody will click is useless but if the viewer can see a clear youtube video right there in your HTML Website could be amazing. &lt;/p&gt;

&lt;p&gt;This is not the easiest thing that is taught to everybody in our daily lives but in this post, we will show you how you can embed a youtube video in your website in 5 easy steps.&lt;/p&gt;

&lt;h2&gt;1. How To Get The Embed Code For Your Website&lt;/h2&gt;

&lt;p&gt;Getting the embedding code for the youtube video is very easy and youtube helps us with that. &lt;/p&gt;

&lt;p&gt;Before you get the code, you have to research what video you are going to embed. It could be a video that you own or a video on youtube that clearly shows what you are trying to say. It could also be a video that you have on your PC, you can use that video and upload it on youtube and then use that video.&lt;/p&gt;

&lt;p&gt;Once you have found the video you want to embed in your HTML Website, just open that video in your favorite browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiMUutNCKN-vBuwwWtEzSN7WBrbnw6kzdMhBKo5FJBCu0fy3EyTZb8Gh191DGyXytKTNxJ9t8PgtUqQArUC8KBfCUzOL6e1ejWNmQptViAwqZoykgNbhT4jRZAWb5JMKhFuzinS-dRCPUN_j-scJaLHfdkuB_w63r2tx47rsms2QRobb7i8uDj0NmUK=s1198"&gt;&lt;img alt="Embed Youtube Video In HTML Website" src="https://res.cloudinary.com/practicaldev/image/fetch/s--MXF7N30A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiMUutNCKN-vBuwwWtEzSN7WBrbnw6kzdMhBKo5FJBCu0fy3EyTZb8Gh191DGyXytKTNxJ9t8PgtUqQArUC8KBfCUzOL6e1ejWNmQptViAwqZoykgNbhT4jRZAWb5JMKhFuzinS-dRCPUN_j-scJaLHfdkuB_w63r2tx47rsms2QRobb7i8uDj0NmUK%3Ds16000" width="880" height="643"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next thing is to click on the "Share" button that you see below the video&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgdxMhGyQaZZCNbSYF-MDGdzX2EaAYRb_dMdLxknxAlyf7FU2ixDmVBMtke-7Ouifn1lD9R4tVtFxLuT0KuyQQ0jYLOwkoMvpBHhpqsXwJAkbguFxZbf09FXD-oSHloXdQxsA88Y0vX-zt6cROJbafVakoKK0qk5yzLVQjP1NmdmugZZf9tFeSluTdN=s453"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--wU4JxmI0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgdxMhGyQaZZCNbSYF-MDGdzX2EaAYRb_dMdLxknxAlyf7FU2ixDmVBMtke-7Ouifn1lD9R4tVtFxLuT0KuyQQ0jYLOwkoMvpBHhpqsXwJAkbguFxZbf09FXD-oSHloXdQxsA88Y0vX-zt6cROJbafVakoKK0qk5yzLVQjP1NmdmugZZf9tFeSluTdN%3Ds16000" width="453" height="166"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on the "Share" button and that should open a window that will have all the options you can use to share this video.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgp0kBv1h6eNrz73ExwZOUhkb2WGEaMgFOuqHZqO1-I_KdKVRo8hqEEibPFze4UMp0-5DkUrvB8RW25lBqjlckLyUGmvvFf2BC7wIG2W9JwCcC9QTU1XeIViOLi_JG5OZpglgLxtm8DHbbOgHjVXmB7Vv_TKRJqX1KIHrdLw7k5edM6P0Y5LbJ2VnSB=s651"&gt;&lt;img alt="Youtube embed options" src="https://res.cloudinary.com/practicaldev/image/fetch/s--NPXNq4t1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgp0kBv1h6eNrz73ExwZOUhkb2WGEaMgFOuqHZqO1-I_KdKVRo8hqEEibPFze4UMp0-5DkUrvB8RW25lBqjlckLyUGmvvFf2BC7wIG2W9JwCcC9QTU1XeIViOLi_JG5OZpglgLxtm8DHbbOgHjVXmB7Vv_TKRJqX1KIHrdLw7k5edM6P0Y5LbJ2VnSB%3Ds16000" width="651" height="597"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on the "Embed" button and that should give you some HTML code like in the image below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEj4KtgJK5T_2PZp_WhJvdGKiHS2ay_Q4X3eYbJdXmHXtMLQjjGPVUVny8KnoGGfIHSsv0oLUUeZuj9DvwXlhAh9YNqBa7VWWiYwBg4tXIDvKva-as7KmNhrca_G06Eyt0yNLUso-275t4WoCvWYkENtxc18gS6QQmwA2AuEMlAbt13sp4j0jqZImILz=s1607"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--RZXrP58W--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEj4KtgJK5T_2PZp_WhJvdGKiHS2ay_Q4X3eYbJdXmHXtMLQjjGPVUVny8KnoGGfIHSsv0oLUUeZuj9DvwXlhAh9YNqBa7VWWiYwBg4tXIDvKva-as7KmNhrca_G06Eyt0yNLUso-275t4WoCvWYkENtxc18gS6QQmwA2AuEMlAbt13sp4j0jqZImILz%3Ds16000" width="880" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select and copy the embed code&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjDqNXhySbbfaf1MQGsIQaepQIwF4CYSunR7H4H8WAAZ6uK83txRYo4C3XsIR9RgBxhZXmXh1CLPCQ6NG_HOFUiOgBWjV2oHfjb0qm3P_vOXBJN9L_4DyZ29BI7XFFz2SIxl3UI5kcicWHGqnmt3FbiVHhMXsqrPo-q2-EI8tdNSupxv0vOprr6Tkqo=s538"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--16_TYhKU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjDqNXhySbbfaf1MQGsIQaepQIwF4CYSunR7H4H8WAAZ6uK83txRYo4C3XsIR9RgBxhZXmXh1CLPCQ6NG_HOFUiOgBWjV2oHfjb0qm3P_vOXBJN9L_4DyZ29BI7XFFz2SIxl3UI5kcicWHGqnmt3FbiVHhMXsqrPo-q2-EI8tdNSupxv0vOprr6Tkqo%3Ds16000" width="538" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;2. Adding The Youtube Embed Code To Your HTML Website&lt;/h2&gt;

&lt;p&gt;Now that we have the youtube embed code ready, it's now time to copy this to the HTML file of your website.&lt;/p&gt;

&lt;p&gt;Open the HTML or website page you want to add the video to and then paste the copied code into the HTML. &lt;/p&gt;

&lt;p&gt;Although it's fairly simple, If you have limited knowledge about website development, you may need a web developer who can do this for you. Understanding where is your HTML file is located could be a tough one to find but somebody who knows a bit of web stuff could be your best buddy.&lt;/p&gt;

&lt;p&gt;Paste the code in your HTML and publish the changes. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEh0HZQhzo6J4fb-wnnym3RqUI7ocEG-3G0uZJmjepBO-FKTAneq_b4TaiddeOGeVtk-B0-oGQNEbX1eHqybTrZ1heDWxQe_7mAPcL9UpkkwqalcLsDtpW-SNd9f73O_UVFkDZAsqs7J1JAFGh62z6obdMB9sjvwLfiFnO_iWWMC6WZMbxh5wkbhqw_N=s1522"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--mU5Z6QSa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEh0HZQhzo6J4fb-wnnym3RqUI7ocEG-3G0uZJmjepBO-FKTAneq_b4TaiddeOGeVtk-B0-oGQNEbX1eHqybTrZ1heDWxQe_7mAPcL9UpkkwqalcLsDtpW-SNd9f73O_UVFkDZAsqs7J1JAFGh62z6obdMB9sjvwLfiFnO_iWWMC6WZMbxh5wkbhqw_N%3Ds16000" width="880" height="88"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;The Result Looks Something Like This - An Embedded Youtube Video In Your Website&lt;/h2&gt;


&lt;p&gt;&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/w7xKZ5PWizs"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Host a static website for free with Google Firebase</title>
      <dc:creator>sameer8saini</dc:creator>
      <pubDate>Sun, 30 Jan 2022 21:35:49 +0000</pubDate>
      <link>https://dev.to/sameer8saini/host-a-static-website-for-free-with-google-firebase-566o</link>
      <guid>https://dev.to/sameer8saini/host-a-static-website-for-free-with-google-firebase-566o</guid>
      <description>&lt;p&gt;Also located on my &lt;strong&gt;New Blog&lt;/strong&gt;: &lt;a href="https://codelikeadev.com/blog/host-website-using-google-firebase-tutorial"&gt;Host A Website For Free On Google Firebase&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this post, we will learn how to host a static website for absolutely free and one of the best website hosting platforms i.e. Google Firebase.&lt;/p&gt;

&lt;p&gt;A Static website is a website that does not have any dynamic rendering and does not have service side rendering. It can still talk to APIs.&lt;/p&gt;

&lt;p&gt;We will use Google Firebase Hosting as our hosting provider. Google Firebase provides free web hosting for 1GB of data and 10GB of data transfer limit for a month.&lt;/p&gt;

&lt;p&gt;Let's navigate to &lt;a href="https://firebase.google.com"&gt;&lt;/a&gt;&lt;a href="https://firebase.google.com"&gt;https://firebase.google.com&lt;/a&gt; and log in via your Google account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiz1-ewlTKjJv2Ps3WIFu2dmgAiVcFGQ8Jf6orUDFPatryaa4I1Rjpb-aPtnCyT6qfwE_mXSByOlgLnLa02CzCKcaWqxgzv7lzsukVDDzbmt-ADWJ_YlRpBFiJXVFZRnEOLcp6BJwZGqHLemCHj4iYHS8Qi9R6Nb07C9Cd8RRJnRMR1KaEaJ5LSM4BC=s1565"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--kLirXg2W--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiz1-ewlTKjJv2Ps3WIFu2dmgAiVcFGQ8Jf6orUDFPatryaa4I1Rjpb-aPtnCyT6qfwE_mXSByOlgLnLa02CzCKcaWqxgzv7lzsukVDDzbmt-ADWJ_YlRpBFiJXVFZRnEOLcp6BJwZGqHLemCHj4iYHS8Qi9R6Nb07C9Cd8RRJnRMR1KaEaJ5LSM4BC%3Ds16000" width="880" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The "Spark Plan" of Google Firebase offers 1GB of website hosting and 10GB per month of data transfer and is the free plan that Google Firebase offers.&lt;/p&gt;

&lt;p&gt;We will click on the "Start Now" button&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgls8lgd9hJD2XEZvyEMsnQvBHSmDf5DhaVRYC6kvHrgsSujwCxZVocCK_qaEO-SBGlyp60S6bChhOf6HUtqGDJrMkgPMwK7rO2W76mR59aAAazpNTU04oc-GsVXQcm810fMM0EjJonW3cXrdFS9XYz53Ba819r_4fL9SiPA5aMU9aFTHohNC_qfSEH=s1241"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--WxaZgTKG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgls8lgd9hJD2XEZvyEMsnQvBHSmDf5DhaVRYC6kvHrgsSujwCxZVocCK_qaEO-SBGlyp60S6bChhOf6HUtqGDJrMkgPMwK7rO2W76mR59aAAazpNTU04oc-GsVXQcm810fMM0EjJonW3cXrdFS9XYz53Ba819r_4fL9SiPA5aMU9aFTHohNC_qfSEH%3Ds16000" width="880" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When in &lt;a href="http://console.firebase.google.com"&gt;console.firebase.google.com&lt;/a&gt; click on the "Create A Project" button&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEj2aOIyzRz6Q7Y8xWeHC3gUBaKBmNgpZhbecaR5NXq3ghWWCMEVVmyKFYBAHTmZHM9zVq_hXecUSvbv8Cz3wckCB6J_OF67yYtySij1t1YtbWL0-SG1Sb05kXVofiJy0m0iDQrgTdPycwKQrIZ07KTfDQLUFRRrijrk7phVFBhIF4hoIQiABsJJIg0f=s1020"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--zh-aNJgj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEj2aOIyzRz6Q7Y8xWeHC3gUBaKBmNgpZhbecaR5NXq3ghWWCMEVVmyKFYBAHTmZHM9zVq_hXecUSvbv8Cz3wckCB6J_OF67yYtySij1t1YtbWL0-SG1Sb05kXVofiJy0m0iDQrgTdPycwKQrIZ07KTfDQLUFRRrijrk7phVFBhIF4hoIQiABsJJIg0f%3Ds16000" width="880" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Give a name for the project, for example, "FreeWebsiteHostingDemo"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEh6TVnyeOaTnbfeclTzVdOmwA_8LKS65OwJ7kMJ-qR8YZKNPnh72Eucp5wn3Y3feAw88r4pKwbBlOFumSnO9spuOFdUCCk7j3qSUBmSLC3Wty0un5SPKbT-YIQI1P0EX56xO0gSIRKKPE44Hw8LLsjgI4AY0IcBNXRP29xzhpLs-6Loxs9cdxrC7e2x=s986"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--2a5KpFZi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEh6TVnyeOaTnbfeclTzVdOmwA_8LKS65OwJ7kMJ-qR8YZKNPnh72Eucp5wn3Y3feAw88r4pKwbBlOFumSnO9spuOFdUCCk7j3qSUBmSLC3Wty0un5SPKbT-YIQI1P0EX56xO0gSIRKKPE44Hw8LLsjgI4AY0IcBNXRP29xzhpLs-6Loxs9cdxrC7e2x%3Ds16000" width="880" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on "Continue"&lt;br&gt;
Accept the "Terms" from the next screen and click on "Continue"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjambt8sQq1l5l__7ZGY0D4goPtkcHYyPBiF9qzf9nS93eEHryc7sEsyClfefYYFIUbTjF47IjrdHsAlRe2OkhAYQWHjXKcxz5KnnfObV7VEzo3-SOPx38desmHaR6JYoSkVARXLa2ZOVaqRFNf7r14-Ctg8dijXIoNpVG57xnd5TAcEDAYTF0hpL-0=s977"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--68zlh0K3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjambt8sQq1l5l__7ZGY0D4goPtkcHYyPBiF9qzf9nS93eEHryc7sEsyClfefYYFIUbTjF47IjrdHsAlRe2OkhAYQWHjXKcxz5KnnfObV7VEzo3-SOPx38desmHaR6JYoSkVARXLa2ZOVaqRFNf7r14-Ctg8dijXIoNpVG57xnd5TAcEDAYTF0hpL-0%3Ds16000" width="880" height="632"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then Click on "Create Project" to create a project on Google Firebase.&lt;br&gt;&lt;br&gt;Now that Google Firebase has created us a project and we are in that project, we will start by creating an application for that project. So we will select a "Web project" &lt;br&gt;
Google Firebase then asks us to Add Firebase to your web app.&lt;br&gt;
Give a name to the web application you want to register with your project.&lt;br&gt;
Example "OurFirstWebsite"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEinLA9s9d2POtX-Hn8DqV6Yjc9n5TD5_GU1BaCBEwBSb2MPTq78g-Z1QZgBX7L3Vqsg4yS-KVPPKiNTb2mU3gN8TjBvUxsUJ2EdRGd6ICZIMW5191riNva6uQLKE7j1_1tjTBz08Y8UuvlBhKe4oue8h_giUqZMAYviyQPTkXV5NSGPgbctuDnk8iKp=s677"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--trGe6Ke3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEinLA9s9d2POtX-Hn8DqV6Yjc9n5TD5_GU1BaCBEwBSb2MPTq78g-Z1QZgBX7L3Vqsg4yS-KVPPKiNTb2mU3gN8TjBvUxsUJ2EdRGd6ICZIMW5191riNva6uQLKE7j1_1tjTBz08Y8UuvlBhKe4oue8h_giUqZMAYviyQPTkXV5NSGPgbctuDnk8iKp%3Ds16000" width="677" height="547"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then, it asks us to add Firebase SDK , which you can ignore for this demo.&lt;br&gt;
From the side navigation, select "Hosting"&lt;br&gt;
Click on "Get Started"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEh844eozqg-TXTjyscWV8EQm_MGANpl0aIkLLJsD6HftD25MKyRjYYoJMDWuz_ep3Dd-K3t9iwihON5FZgk88TEi9YqsBDzFNhVaNRhX5sd62yllhjfAoHj_POizZEVQiLjoj021xxkXKH77myZQrk45Tb2yqH6JWmjMO5vNjQj3K74x3bDHtJf5TKd=s933"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--lqLtKkOB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEh844eozqg-TXTjyscWV8EQm_MGANpl0aIkLLJsD6HftD25MKyRjYYoJMDWuz_ep3Dd-K3t9iwihON5FZgk88TEi9YqsBDzFNhVaNRhX5sd62yllhjfAoHj_POizZEVQiLjoj021xxkXKH77myZQrk45Tb2yqH6JWmjMO5vNjQj3K74x3bDHtJf5TKd%3Ds16000" width="880" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
&lt;br&gt;Install Firebase CLI&lt;/h2&gt;

&lt;p&gt;To host your website with Google Firebase Hosting, you need the Firebase CLI. Run the following npm command to install the CLI or update to the latest version of the CLI.&lt;br&gt;
But before using the command, we have to make sure we have node installed in our machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEhcrqlWOtXV434-513wY-qzsEmHqlWRR4zZkON-K6-0k-nKbjoiQSqD_iptMaQfSJlvgicJdPmyB4zh9o8lonmdvlbBDs5VkA5CsCicEThI4gOwh-ZpISsjl7qC210d23xR6FhgIncq3LnkcPNH4s0TIGLvJ02jdLbIThCi2IH23BON73EbpLjw_vpI=s576"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--h6oNJkBK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEhcrqlWOtXV434-513wY-qzsEmHqlWRR4zZkON-K6-0k-nKbjoiQSqD_iptMaQfSJlvgicJdPmyB4zh9o8lonmdvlbBDs5VkA5CsCicEThI4gOwh-ZpISsjl7qC210d23xR6FhgIncq3LnkcPNH4s0TIGLvJ02jdLbIThCi2IH23BON73EbpLjw_vpI%3Ds16000" width="576" height="137"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Use the below command to install Google Firebase CLI&lt;br&gt;&lt;/p&gt;

&lt;h4&gt;npm install -g firebase-tools&lt;/h4&gt;

&lt;h2&gt;Login To Firebase Using The CLI&lt;/h2&gt;

&lt;p&gt;The next step is to login to the Firebase CLI using the below command. So use the command prompt window or a terminal and paste the below in it.&lt;/p&gt;

&lt;h4&gt;firebase login&lt;/h4&gt;

&lt;p&gt;It will ask you the following question: "Allow Firebase to collect CLI usage and error reporting information?" - type "Y" and press enter.&lt;br&gt;
It opens a browser window and asks you to login to Google via your Google account.&lt;br&gt;
After logging in, the command prompt or terminal tells you that you have successfully logged in to the account.&lt;/p&gt;

&lt;h2&gt;Hosting Your Website&lt;/h2&gt;

&lt;p&gt;Using command prompt or terminal, browse to the location where you have your website hosted.&lt;/p&gt;

&lt;p&gt;For example, my website is physically located under this folder structure&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiyoA169-QL8XHQ2dJN_u3zS-4Xu-23rex7JLeUw3Dudl2y4gnqFP7A-5kR6gSBOfS6eC36weyUPc_63OG6UySr4wuphpmrjc0V8Eh0U7ECCr51Pq7eW5PIfHLkmERNeerXxItTgMqPe47QZMnr60g27YaZQsleJvZK1CpwhllgNFVECrsr4nmIpQvi=s847"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--NPUiQxn6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiyoA169-QL8XHQ2dJN_u3zS-4Xu-23rex7JLeUw3Dudl2y4gnqFP7A-5kR6gSBOfS6eC36weyUPc_63OG6UySr4wuphpmrjc0V8Eh0U7ECCr51Pq7eW5PIfHLkmERNeerXxItTgMqPe47QZMnr60g27YaZQsleJvZK1CpwhllgNFVECrsr4nmIpQvi%3Ds16000" width="847" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will use a command prompt or terminal and I will browse to the below location&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEjW-v299OqGozwIwhtv80becSUMPME8ANqglEqOWYnn9FQi3CB8_EyiKwZ09w00tFoXYYfgkEcRrRWjMHRwSnnSLfAQfJ7Tcfl8E0mTRPqzaMGOAMuBhOLGnanpMOzHYR8brcsvGvULH293ayiCbeayrWvxaISU6p_IzNtw1HUnKxg0ZTMR7heYYl_Y=s632"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--OExVdYp---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEjW-v299OqGozwIwhtv80becSUMPME8ANqglEqOWYnn9FQi3CB8_EyiKwZ09w00tFoXYYfgkEcRrRWjMHRwSnnSLfAQfJ7Tcfl8E0mTRPqzaMGOAMuBhOLGnanpMOzHYR8brcsvGvULH293ayiCbeayrWvxaISU6p_IzNtw1HUnKxg0ZTMR7heYYl_Y%3Ds16000" width="632" height="246"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then I will use the command "firebase init" (without quotes) and will press enter as below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgqPhTpnQ1TqQDNEMnN0pT5YjqklEi4BGvukFfKIV8XzWR-KbO8ND72bD_VScdEgyERqt21aRjrOJ7P-JpvR_GUdkFDs-1eYlgDwwOC9T0o41QkfuipI1J9IbdpTqlhbQ4uRZ8bifaG-Uo6qFQcFFbS2pZr5vZ8BQO30JkzL_SHY88-AgBB_K-28f8K=s641"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--6uJ0qXXv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgqPhTpnQ1TqQDNEMnN0pT5YjqklEi4BGvukFfKIV8XzWR-KbO8ND72bD_VScdEgyERqt21aRjrOJ7P-JpvR_GUdkFDs-1eYlgDwwOC9T0o41QkfuipI1J9IbdpTqlhbQ4uRZ8bifaG-Uo6qFQcFFbS2pZr5vZ8BQO30JkzL_SHY88-AgBB_K-28f8K%3Ds16000" width="641" height="253"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When it asks "Are you ready to proceed?" type "Y" and press Enter&lt;/p&gt;

&lt;p&gt;Then it asks which service do you want to use? Use the arrow keys to come down to hosting and press space to select. Then press "Enter" to continue.&lt;/p&gt;

&lt;p&gt;It then asks us if we want to "Use an existing project?"&lt;/p&gt;

&lt;p&gt;Type "Y" (without quotes) and press Enter and choose the project that you created for this website.&lt;/p&gt;

&lt;p&gt;Then it will ask us where are the files that you want to use for hosting. By default Google will look at a public folder inside your website and go inside the folder and copy all the files to Google.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEgPTbOjCX02Fs7m-Aaog-S4m_a3F1LMoj4Uh5j-VTmyCfViOob7drTd5oBgr6ytVrve4inQqe_4-6FQ0GB2ya6JPkmew1QmXnUzquaPnBLez7hgqwY4YjdyAmyRHmtGr_w52suMSSbFQd9ety-Np8wFk4k4d15wBN3xF-R859LRrzycHCd8w_KNVvmP=s775"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--iL3o0JrC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEgPTbOjCX02Fs7m-Aaog-S4m_a3F1LMoj4Uh5j-VTmyCfViOob7drTd5oBgr6ytVrve4inQqe_4-6FQ0GB2ya6JPkmew1QmXnUzquaPnBLez7hgqwY4YjdyAmyRHmtGr_w52suMSSbFQd9ety-Np8wFk4k4d15wBN3xF-R859LRrzycHCd8w_KNVvmP%3Ds16000" width="775" height="286"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a "Public" folder in your directory and copy all the files needed by the website into this "Public" folder.&lt;/p&gt;

&lt;p&gt;Select "N" if it is not a single page application.&lt;/p&gt;

&lt;p&gt;Then it asks that it has found a index.html file, do you want to override it?&lt;/p&gt;

&lt;p&gt;We will press "N"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEiey2rMmMHlvGQ4kKmoW8ceVfd9tgjcKrMcptKaKPR2-Xlra7vDkz7yMsG8ofoKwV7yhRfbVby0gbIt72qBYKHiaB_pnzLGwjKRXwqcgDnnUh5qLe10ml9RDUtPIvbmo5cVzN2R2oHdhtF7aQ2Oatw8yrkzn_986kz6vB9fhu4HfDg3ljgT7Ga2vWc5=s607"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--qBnHbC2J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEiey2rMmMHlvGQ4kKmoW8ceVfd9tgjcKrMcptKaKPR2-Xlra7vDkz7yMsG8ofoKwV7yhRfbVby0gbIt72qBYKHiaB_pnzLGwjKRXwqcgDnnUh5qLe10ml9RDUtPIvbmo5cVzN2R2oHdhtF7aQ2Oatw8yrkzn_986kz6vB9fhu4HfDg3ljgT7Ga2vWc5%3Ds16000" width="607" height="117"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Deploy Website To Google Firebase&lt;/h2&gt;

&lt;p&gt;After all the setup is done, the final step is to deploy the files.&lt;/p&gt;

&lt;p&gt;In your command prompt or terminal window, type the below command and press enter.&lt;/p&gt;

&lt;h3&gt;firebase deploy&lt;/h3&gt;

&lt;p&gt;After this we have successfully deployed our website to Google Firebase. In the command prompt, it tells us the URL that Google Firebase has given us so copy that and paste that in your browser. &lt;/p&gt;

&lt;p&gt;Your website is now hosted successfully on Google Firebase.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blogger.googleusercontent.com/img/a/AVvXsEj6womiKLxotjBvPW3RxQbnMIhhw5Z9ixsnQguG0jAqaTWFQCCbFHYfYz_dxRj0SoiykNqY86NPUxyGPAIy9MijHJFuiLrvY9aZ4jd8HtUAho4AoiENRIZwKuAOrh3HzdOtzHcUHnkOQkHNCIRTsj4MjMF---uj2MAA7jGY2ILXkS5QQCvp29tCP9Y2=s877"&gt;&lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--_qXzJ1w8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://blogger.googleusercontent.com/img/a/AVvXsEj6womiKLxotjBvPW3RxQbnMIhhw5Z9ixsnQguG0jAqaTWFQCCbFHYfYz_dxRj0SoiykNqY86NPUxyGPAIy9MijHJFuiLrvY9aZ4jd8HtUAho4AoiENRIZwKuAOrh3HzdOtzHcUHnkOQkHNCIRTsj4MjMF---uj2MAA7jGY2ILXkS5QQCvp29tCP9Y2%3Ds16000" width="877" height="393"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Video Tutorial To Host Your Website On Google Firebase For Free&lt;/h2&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/w7xKZ5PWizs"&gt;
&lt;/iframe&gt;
&lt;/p&gt;



</description>
      <category>firebase</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>googlecloud</category>
    </item>
  </channel>
</rss>
