<?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: Manohar Anand</title>
    <description>The latest articles on DEV Community by Manohar Anand (@manoarya).</description>
    <link>https://dev.to/manoarya</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%2F809832%2Fc1e47dcc-2203-44f0-b506-e55a820853bc.png</url>
      <title>DEV Community: Manohar Anand</title>
      <link>https://dev.to/manoarya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manoarya"/>
    <language>en</language>
    <item>
      <title>How to make Sidebar with multiple Pages? Using HTML, CSS and Javascript</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Sun, 11 Jun 2023 15:37:41 +0000</pubDate>
      <link>https://dev.to/manoarya/how-to-make-sidebar-with-multiple-pages-using-html-css-and-javascript-3k40</link>
      <guid>https://dev.to/manoarya/how-to-make-sidebar-with-multiple-pages-using-html-css-and-javascript-3k40</guid>
      <description>&lt;p&gt;Hi folks, what's up, how is it going?&lt;br&gt;&lt;br&gt;
This is your boy Manohar Anand from the house of Manoarya.&lt;/p&gt;

&lt;p&gt;And are you guys ready to make this awesome Sidebar with multiple Pages. Look at the demo bro.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Demo/Navigation.html"&gt;Live Demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it's amazing. right!&lt;/p&gt;

&lt;p&gt;So first of all I want to show the all step covered in this project so that you can jumb from there directly.&lt;/p&gt;
&lt;h2&gt;
  
  
  Project Files Structure
&lt;/h2&gt;

&lt;p&gt;So guys first of all open your code editor (vs code , sublime...etc ) and make three files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. HTML File | 2. CSS File | 3. JS File&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can name it whatever you want. In this particular project I am giving name like following&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML File Name :&lt;/strong&gt; Navigation.html | &lt;strong&gt;CSS File Name :&lt;/strong&gt; Navigation.css | &lt;strong&gt;JS File Name :&lt;/strong&gt; Navigation.js&lt;/p&gt;
&lt;h2&gt;
  
  
  Working On Html File.
&lt;/h2&gt;

&lt;p&gt;Now open your html file I am opening my Navigation. html file inside of visual studio code. and press &lt;strong&gt;ctrl + !&lt;/strong&gt; to add html starter code.&lt;br&gt;&lt;br&gt;
You can Learn about HTML starter code hare 👇&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Manoarya%20All%20Post/Html-basic-explanation-by-manoarya.html#starter"&gt;Learn Now&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now link you css file with html document to apply style on it. for that you can use this code snippet 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            &amp;lt;link rel="stylesheet" href="css file name" /&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;And of course we are using some beautiful fonts. we use fontawesome for beautiful fonts you can go to fontawesome and create your account and start using beautiful fonts for free. 👇&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fontawesome.com/"&gt;Fontawesome&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Now add Basic CSS
&lt;/h2&gt;

&lt;p&gt;Go to your css file and write your universal style using following code snippet&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial;
            background: #f1f1f1;
            }


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

&lt;/div&gt;



&lt;p&gt;* is know as universal identifier. means inside of this we have margin , padding, box-sizing font-family and background all properties applied on the whole document.&lt;/p&gt;

&lt;p&gt;In this main time our page looks like a blank page with some transparent gray background.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Top navbar
&lt;/h2&gt;

&lt;p&gt;For creating top navbar we need to add a nav tag and inside of that we put Fontawesome bars icon and a logo image.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
              &amp;lt;!--Navigation bar (header)--&amp;gt;
  &amp;lt;nav&amp;gt;
    &amp;lt;i class="fas fa-bars" onclick="nav_opener()" id="bars"&amp;gt;&amp;lt;/i&amp;gt;
    &amp;lt;img src="https://manoarya.com/Manoarya%20All%20Post/ManoaryaLogo.png" alt="Logo" /&amp;gt;
  &amp;lt;/nav&amp;gt;



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

&lt;/div&gt;



&lt;p&gt;Hare we have a bars icon which id is bars and also applied onclick event on it which we can used for opening and closing the sidebar using javascript.&lt;/p&gt;

&lt;p&gt;Now apply style on it. for that we use following properties on nav tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            nav {
            height: 50px;
            width: 100%;
            background: white;
            box-shadow: 0 0 1px 1px gray;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            }


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

&lt;/div&gt;



&lt;p&gt;Height 50px because I want to the total size of navbar is 50px. width 100% to cover whole width for both desktop and mobile and even on the tablet. background color white you can choose whatever color you like. box-shadow because it's look amazing and show up to the main page and display flex for horizontal alignment, justify-content space-between for align two items inside of nav tag which is bars icon and logo image. align-items center for vertically center the items and last position sticky so that navbar sick on the top of the page.&lt;/p&gt;

&lt;p&gt;Style bars icons and logo img&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Style for bars Icon&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            nav i {
            padding: 10px 20px;
            color: #2b2b2b;
            font-size: 20px;
            margin-left: 10px;
            }
            nav i:active {
            background: #0000002b;
            border-radius: 10px;
            }


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

&lt;/div&gt;



&lt;p&gt;We use padding for vertical and horizontal spared and font-size for show little bit bigger and margin-left for little bit left from the left side.&lt;/p&gt;

&lt;p&gt;Active class for clicking effect. when click on bars quickly change background and border-radius.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Style for logo image&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            nav img {
            height: 35px;
            width: 35px;
            background: #57bdf2;
            margin-right: 10px;
            border-radius: 100px;
            }


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

&lt;/div&gt;



&lt;p&gt;We add nav before img because I want to style only that image which is present inside of nav tag. Image that exists outside of the nav tag then these properties aren't applied.&lt;/p&gt;

&lt;p&gt;We use height and width same for square shapes and background because if image is not load than show that background and margin-right for little bit right alignment and border-radius 100px for round shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Sidebar
&lt;/h2&gt;

&lt;p&gt;For creating the sidebar which present in the left side we are used below code snippet.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
              &amp;lt;!--Navigation menu container--&amp;gt;
  &amp;lt;div id="nav_container"&amp;gt;
    &amp;lt;div class="nav_content"&amp;gt;
      &amp;lt;button onclick="page1()"&amp;gt;Page 01&amp;lt;/button&amp;gt;
      &amp;lt;button onclick="page2()"&amp;gt;Page 02&amp;lt;/button&amp;gt;
      &amp;lt;button onclick="page3()"&amp;gt;Page 03&amp;lt;/button&amp;gt;
      &amp;lt;button onclick="page4()"&amp;gt;Page 04&amp;lt;/button&amp;gt;
      &amp;lt;button onclick="page5()"&amp;gt;Page 05&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="nav_closer" onclick="nav_closer()"&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
  


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

&lt;/div&gt;



&lt;p&gt;Hare we have a container which id is nav_container and inside of that we have another container which class is nav_container and nav closer respectively.&lt;/p&gt;

&lt;p&gt;nav_container div contains the all buttons which is present is the left side and button works is to open different pages. that's why on the button tag we used onclick to change pages according to button types using javascript.&lt;/p&gt;

&lt;p&gt;nav_ closer div is present in right side of the page which works to close the Sidebar. using onclick events using js.&lt;/p&gt;

&lt;p&gt;Now time to style this elements. For that we used following code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Style for main Container 👇&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            #nav_container {
            height: 100vh;
            width: 100%;
            background: none;
            position: fixed;
            top: 0;
            z-index: 123;
            display: flex;
            transition: .2s ease-out;
            left: -100%;
            }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;For style nav container 👇&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            .nav_content {
            height: 100vh;
            width: 70%;
            background: white;
            box-shadow: 0 0 10px 1px gray;
            display: flex;
            flex-direction: column;
            }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;For style buttons which is present inside of nav_content 👇&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            .nav_content button {
            padding: 20px 20px;
            transform: scale(0.9);
            background: linear-gradient(120deg, #0d90d4,#0db2b4);
            color: white;
            border: none;
            border-radius: 10px;
            outline: none;
            font-weight: bold;
            font-size: 20px;
            }
            .nav_content button:active {
            background: linear-gradient(120deg,#0db2b4,#0d90d4);
            transform: scale(0.88);
            }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;For style nav closer 👇&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            .nav_closer {
            height: 100vh;
            width: 30%;
            background: #00000000;
            transition: .2s ease-in;
            }


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Create multiple Pages
&lt;/h2&gt;

&lt;p&gt;Now time to create pages structure for that we have a container known as a page container.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
              &amp;lt;!--All Pages container--&amp;gt;
  &amp;lt;div id="page_container"&amp;gt;
  &amp;lt;/div&amp;gt;


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Javascript implication
&lt;/h2&gt;

&lt;p&gt;Now switch to javascript file and inside of that we are going to write following script.&lt;/p&gt;

&lt;p&gt;For functionality like when anyone click on the bars icon then open sidebar, when click in front of the sidebar then close sidebar and when click on the buttons then change pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access all necessary things from html file and stored it inside a variable. 👇&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            //All variable declaration
            const nav_container = document.getElementById('nav_container');
            const page_container = document.getElementById('page_container');
            const x = window.matchMedia("(max-width: 700px)")


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Script for open sidebar when click on the bars icon.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            //open navigation or sidebar
            function nav_opener() {
            nav_container.style.left = '0%';
            }

            //close navigation or sidebar
            function nav_closer() {
            nav_container.style.left = '-100%';
            }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Script for responsive design for both desktop and mobile.&lt;/strong&gt; Basically hide the side bar in mobile screens and show sidebar in desktop screens&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            //media query script
            function myFunction(x) {
            if(x.matches) {
            nav_container.style.left = '-100%';
            }
            else{
            nav_container.style.left = '0';
            }
            }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Script to change pages when click on buttons&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            //page controller
            function page1() {
            page_container.style.backgroundColor = "#00b5b5";
            page_container.innerHTML = "Page 01";

            myFunction(x);

            }
            function page2() {
            page_container.style.backgroundColor = "#29c29d";
            page_container.innerHTML = "Page 02";
            myFunction(x);
            }
            function page3() {
            page_container.style.backgroundColor = "#db3391";
            page_container.innerHTML = "Page 03";
            myFunction(x);

            }
            function page4() {
            page_container.style.backgroundColor = "#e79d45";
            page_container.innerHTML = "Page 04";
            myFunction(x);
            }
            function page5() {
            page_container.style.backgroundColor = "#1b4ad8";
            page_container.innerHTML = "Page 05";
            myFunction(x);

            }
            page1();



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

&lt;/div&gt;



&lt;p&gt;All buttons or we say all pages connect in single div called page_container using innerHTML we implement data inside of page_container div.&lt;/p&gt;

&lt;p&gt;page1() for called without button clicked for show default page. also we changed the background color of the page so that we see difference between pages.&lt;/p&gt;

&lt;p&gt;I hope you like this project please subscribe and comment your thoughts and suggestions.&lt;/p&gt;

&lt;p&gt;That's all for today. &lt;strong&gt;Thanks for reading&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Happy Coding and love you 3000, By&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>javascript</category>
      <category>css</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to make Paytm UI Clone using html and css?</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:18:57 +0000</pubDate>
      <link>https://dev.to/manoarya/how-to-make-paytm-ui-clone-using-html-and-css-15c0</link>
      <guid>https://dev.to/manoarya/how-to-make-paytm-ui-clone-using-html-and-css-15c0</guid>
      <description>&lt;p&gt;Hi! What's up this is your boy Manohar Anand From the house of Manoarya.&lt;/p&gt;

&lt;p&gt;In this article we are going to assist you with How to make Paytm UI Clone using html and css? for free.&lt;/p&gt;

&lt;p&gt;Are you Guys exited? Let me know in the comment. Ask Questions and give suggestions.&lt;/p&gt;

&lt;p&gt;Let's Started.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Demo/Paytm_ui_clone.html"&gt;See Demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fist of all you need to create a file and name it whatever you want.&lt;/p&gt;

&lt;p&gt;Now Copy the following codes&lt;/p&gt;

&lt;h2&gt;
  
  
  Add HTML Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
          &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&amp;gt;
  &amp;lt;meta name="viewport"
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"&amp;gt;
  &amp;lt;title&amp;gt;Paytm UI clone by manoa&amp;lt;/title&amp;gt;
  &amp;lt;!--font awesome  for icons--&amp;gt;
  &amp;lt;script src="https://kit.fontawesome.com/9e0ab445c3.js" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;!--style sheet--&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;!--top navigation--&amp;gt;
  &amp;lt;nav&amp;gt;
    &amp;lt;div class="nav_left"&amp;gt;
      &amp;lt;i class="fas fa-align-justify"&amp;gt;&amp;lt;/i&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="nav_center"&amp;gt;
      &amp;lt;img src="https://assetscdn1.paytm.com/commonmweb/cc3bba88.svg" alt="Paytm Logo" /&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="nav_right"&amp;gt;
      &amp;lt;i class="fas fa-search"&amp;gt;&amp;lt;/i&amp;gt;
      &amp;lt;i class="far fa-comment-alt"&amp;gt;&amp;lt;/i&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/nav&amp;gt;
  &amp;lt;!--poster--&amp;gt;
  &amp;lt;div class="poster_container"&amp;gt;
    &amp;lt;img src="https://assetscdn1.paytm.com/commonmweb/59341da8.svg" alt="Poster" /&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;!--main_container--&amp;gt;
  &amp;lt;div class="main_container"&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;!--qr code --&amp;gt;
  &amp;lt;div id="QRCode"&amp;gt;
    &amp;lt;div id="QRCodeBox"&amp;gt;
      &amp;lt;img src="https://i.ibb.co/CHLyKwV/qr-6834147-1280-removebg-preview.png" /&amp;gt;
      &amp;lt;b&amp;gt;Scan Any QR&amp;lt;/b&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add CSS Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    nav {
      height: 50px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 129993;
      position: sticky;
      top: 0;
    }
    .nav_left {
      width: 100px;
      padding: 10px 20px;
    }
    .nav_center {
      padding: 10px 20px;
    }
    .nav_center img {
      height: 100%;
      width: 100%;
    }
    .nav_right {
      width: 100px;
      padding: 10px 20px;
    }
    .nav_right i {
      margin-left: 10px;
    }
    i:active {
      transform: scale(0.9);
    }
    .poster_container {
      height: 100%;
      width: 100%;
      margin-top: -50px;
      position: sticky;
      top: 0;
    }
    .poster_container img {
      height: 100%;
      width: 100%;
    }
    .main_container {
      height: 700px;
      width: 100%;
      position: sticky;
      top: 60px;
      background: white;
      border-radius: 15px;
      z-index: 1234;
      border-top: 1px solid gray;
    }
    #QRCode {
      height: 50px;
      width: 100%;
      position: fixed;
      bottom: -100px;
      z-index: 12345;
      display: flex;
      justify-content: center;
      transition: .2s ease-in;
    }
    #QRCodeBox {
      height: 50px;
      width: 150px;
      background: #2a96e6;
      border-radius: 100px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    #QRCodeBox img {
      height: 30px;
      width: 30px;
      border-radius: 4px;
    }
    #QRCodeBox b {
      font-family: Sans-Serif;
      color: white;
    }



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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add javascript Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    //hide and show qr code btn using onscroll event
    var prevScrollpos = window.pageYOffset;
    window.onscroll = function() {
      var currentScrollPos = window.pageYOffset;
      if (prevScrollpos &amp;gt; currentScrollPos) {
        document.getElementById("QRCode").style.bottom = "-100%";
      } else {
        document.getElementById("QRCode").style.bottom = "10px";
      }

      prevScrollpos = currentScrollPos;
    }


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

&lt;/div&gt;



&lt;p&gt;That all for this post. I hope you love this project. please share your thoughts and suggestions in comment below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thank you For Visiting. By see You soon.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to make snap scrolling effects using html and css.</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:17:39 +0000</pubDate>
      <link>https://dev.to/manoarya/how-to-make-snap-scrolling-effects-using-html-and-css-4lb7</link>
      <guid>https://dev.to/manoarya/how-to-make-snap-scrolling-effects-using-html-and-css-4lb7</guid>
      <description>&lt;p&gt;Hi! What's up this is your boy Manohar Anand From the house of Manoarya.&lt;/p&gt;

&lt;p&gt;In this article we are going to assist you with How to make snap scrolling effects using html and css. for free.&lt;/p&gt;

&lt;p&gt;Are you Guys exited? Let me know in the comment. Ask Questions and give suggestions.&lt;/p&gt;

&lt;p&gt;Let's Started.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Demo/Snap_Scrolling.html"&gt;See Demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fist of all you need to create a file and name it whatever you want.&lt;/p&gt;

&lt;p&gt;Now Copy the following codes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add HTML Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&amp;gt;
  &amp;lt;meta name="viewport"
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"&amp;gt;
  &amp;lt;title&amp;gt;Snap scrolling Effect&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;div class="container"&amp;gt;
    &amp;lt;div class="snaps"&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="snaps"&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="snaps"&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="snaps"&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="snaps"&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;



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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add CSS Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-snap-type: y mandatory;
    }
    .container {
      height: 100%;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      background: #d3d3d3;
    }
    .snaps {
      height: 600px;
      width: 100%;
      background: #ffffff;
      transform: scale(0.9);
      border-radius: 10px;
      scroll-snap-align: center;
    }


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

&lt;/div&gt;



&lt;p&gt;That all for this post. I hope you love this project. please share your thoughts and suggestions in comment below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thank you For Visiting. By see You soon.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to make search bar and suggestion using only html.</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:16:03 +0000</pubDate>
      <link>https://dev.to/manoarya/how-to-make-search-bar-and-suggestion-using-only-html-2he7</link>
      <guid>https://dev.to/manoarya/how-to-make-search-bar-and-suggestion-using-only-html-2he7</guid>
      <description>&lt;p&gt;Hi! What's up this is your boy Manohar Anand From the house of Manoarya.&lt;/p&gt;

&lt;p&gt;In this article we are going to assist you with How to make search bar and suggestion using only html for free.&lt;/p&gt;

&lt;p&gt;Are you Guys exited? Let me know in the comment. Ask Questions and give suggestions.&lt;/p&gt;

&lt;p&gt;Let's Started.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Demo/Search_Input.html"&gt;See Demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fist of all you need to create a file and name it whatever you want.&lt;/p&gt;

&lt;p&gt;Now Copy the following codes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add HTML Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&amp;gt;
  &amp;lt;meta name="viewport"
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"&amp;gt;
  &amp;lt;title&amp;gt;Snap scrolling Effect&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;div class="container"&amp;gt;
    &amp;lt;input type="text" list="suggestions" placeholder="Search course" /&amp;gt;
    &amp;lt;datalist id="suggestions"&amp;gt;
      &amp;lt;option&amp;gt;Manoarya&amp;lt;/option&amp;gt;
      &amp;lt;option&amp;gt;React native course&amp;lt;/option&amp;gt;
      &amp;lt;option&amp;gt;React course&amp;lt;/option&amp;gt;
      &amp;lt;option&amp;gt;Javascript course&amp;lt;/option&amp;gt;
      &amp;lt;option&amp;gt;CSS course&amp;lt;/option&amp;gt;
      &amp;lt;option&amp;gt;HTML course&amp;lt;/option&amp;gt;
    &amp;lt;/optgroup&amp;gt;
  &amp;lt;/datalist&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add CSS Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    .container {
      height: 100vh;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      background: #d3d3d3;
    }
    .container input {
      padding: 10px 20px;
      background: white;
      border: none;
      outline: none;
      border-radius: 5px;
    }


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

&lt;/div&gt;



&lt;p&gt;That all for this post. I hope you love this project. please share your thoughts and suggestions in comment below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thank you For Visiting. By see You soon.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>How to create details opener and closer using only html.html **Category :** HTM</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:14:32 +0000</pubDate>
      <link>https://dev.to/manoarya/how-to-create-details-opener-and-closer-using-only-htmlhtmlcategory-htm-4dho</link>
      <guid>https://dev.to/manoarya/how-to-create-details-opener-and-closer-using-only-htmlhtmlcategory-htm-4dho</guid>
      <description>&lt;p&gt;Hi! What's up this is your boy Manohar Anand From the house of Manoarya.&lt;/p&gt;

&lt;p&gt;In this article we are going to assist you with How to create details opener and closer using only html. for free.&lt;/p&gt;

&lt;p&gt;Are you Guys exited? Let me know in the comment. Ask Questions and give suggestions.&lt;/p&gt;

&lt;p&gt;Let's Started.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Demo/Details_tag.html"&gt;See Demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fist of all you need to create a file and name it whatever you want.&lt;/p&gt;

&lt;p&gt;Now Copy the following codes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add HTML Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&amp;gt;
  &amp;lt;meta name="viewport"
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"&amp;gt;
  &amp;lt;title&amp;gt;Snap scrolling Effect&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;div class="container"&amp;gt;
    &amp;lt;details &amp;gt; &amp;lt;br&amp;gt; 
    &amp;lt;summary&amp;gt;
      About us 
    &amp;lt;/summary&amp;gt;
      The HTML element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content.
    &amp;lt;/details&amp;gt;
    &amp;lt;details &amp;gt; &amp;lt;br&amp;gt; 
    &amp;lt;summary&amp;gt;
      About us 
    &amp;lt;/summary&amp;gt;
      The HTML element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content.
    &amp;lt;/details&amp;gt;
    &amp;lt;details &amp;gt; &amp;lt;br&amp;gt; 
    &amp;lt;summary&amp;gt;
      About us 
    &amp;lt;/summary&amp;gt;
      The HTML element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content.
    &amp;lt;/details&amp;gt;
    &amp;lt;details &amp;gt; &amp;lt;br&amp;gt; 
    &amp;lt;summary&amp;gt;
      About us 
    &amp;lt;/summary&amp;gt;
      The HTML element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content.
    &amp;lt;/details&amp;gt;
    &amp;lt;details &amp;gt; &amp;lt;br&amp;gt; 
    &amp;lt;summary&amp;gt;
      About us 
    &amp;lt;/summary&amp;gt;
      The HTML element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content.
    &amp;lt;/details&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;



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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add CSS Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    .container{
      height: 100vh;
      width: 100%;
      background: #d3d3d3;
    }
    .container details {
      padding: 10px 20px;
      background: white;
    }


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

&lt;/div&gt;



&lt;p&gt;That all for this post. I hope you love this project. please share your thoughts and suggestions in comment below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thank you For Visiting. By see You soon.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>How to make Html search bar with suggestions using html,css and javascript.</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:12:44 +0000</pubDate>
      <link>https://dev.to/manoarya/how-to-make-html-search-bar-with-suggestions-using-htmlcss-and-javascript-cg</link>
      <guid>https://dev.to/manoarya/how-to-make-html-search-bar-with-suggestions-using-htmlcss-and-javascript-cg</guid>
      <description>&lt;p&gt;Hi folks! I am so excited to build this amazing search bar with suggestions using simple HTML, CSS and Javascript.&lt;/p&gt;

&lt;p&gt;I hope you are excited. So friends Let's get started.&lt;/p&gt;

&lt;p&gt;First thing First let's see the demo.&lt;/p&gt;

&lt;p&gt;I write this post step by step So don't worry. After doing this project you got lots of things to know.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1 : Design Using HTML &amp;amp; CSS.
&lt;/h2&gt;

&lt;p&gt;The first step is about how to build a ui for the html search and suggestions page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(i) Add html starter code.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
      &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;Learn More about html starter template &lt;a href="https://manoarya.com/Manoarya%20All%20Post/HTML%20Complete%20Cheat%20Sheet%20By%20Manoaya.html#HTML%20Starter%20Code"&gt;hare&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(ii) Attached CSS file.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using the below code to attached your CSS file so that our html page looks attractive and beautiful.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
      &amp;lt;link rel="stylesheet" href="SearchBar.css" type="text/css" media="all" /&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Make sure you change the href="{with your css file name without curly bracket.}"&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(iii) Implement Input tag.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Input tag is html inbuild tag that helps us to inter any data.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
      &amp;lt;div id="main_container"&amp;gt;
    &amp;lt;input type="search" id="search_input" autofocus="autofocus" placeholder="Search" onkeyup="SearchNow()"/&amp;gt;
&amp;lt;/div&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;Before adding the input tag we take a div with id of main_container and wrap the input tag inside this container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input attribute Explain&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We take a search type of input and give it a placeholder for showing text inside of the input tag after that we take another attribute onkeyup.&lt;/p&gt;

&lt;p&gt;Actually onkeyup is an event that triggerd when someone press any keyboard key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(iv) Add the suggestions area&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
      &amp;lt;div id="suggestions_container"&amp;gt;
      &amp;lt;ul id="ultag"&amp;gt;
      &amp;lt;/ul&amp;gt;
    &amp;lt;/div&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;I take a div as a suggestions container and inside of it i also take a ul tag with id ultag and inside of this ul tag i pulled li and a tags diyanamically using javascript so wait for it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now our final HTML code looks like following code&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
        &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8" /&amp;gt;
    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
    &amp;lt;title&amp;gt;Search bar with suggestions&amp;lt;/title&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body onclick="hide_sugg()"&amp;gt;
    &amp;lt;div id="main_container"&amp;gt;
      &amp;lt;input
        type="search"
        id="search_input"
        autofocus="autofocus"
        placeholder="Search"
        onkeyup="SearchNow()"
      /&amp;gt;
      &amp;lt;div id="suggestions_container"&amp;gt;
        &amp;lt;ul id="ultag"&amp;gt;&amp;lt;/ul&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;script src="SearchBar.js" type="text/javascript" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Add the CSS to look more clean&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Create a css file and Implement following style. make sure you attached this file with html file using link tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
          *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Sans-Serif;
          }
          #main_container{
            height: 100%;
            width: 100%;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: column;
          }
          #search_input{
            padding: 10px 20px;
            border-radius: 5px;
            width: 90%;
            height: 50px;
            outline: none;
            font-size: 20px;
            transition: .2s ease-out;
            position: sticky;
            top: 5px;
            z-index: 123;
          }
          #search_input:hover{
            border: 2px solid dodgerblue;
          }
          #suggestions_container{
            width:100%;
            height: 300px;
            border-radius: 10px;
            border-bottom: 2px solid gray;
            position: fixed;
            top: -100%;
            background: white;
            overflow: scroll;
            transition:.2s ease-out;
          }
          ul{
            list-style-type: none;
          }
          ul li a{
            font-size: 20px;
            text-decoration: none;
            color: black;
            text-transform: capitalize;
            display: flex;
            padding: 10px 20px;
            cursor: default;

          }



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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2 : Add Functionality (Javascript).
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
        function SearchNow() {
          document.getElementById('suggestions_container').style.top = "60px";
         // Declare variables
       var input, filter, ul, li, a, i, txtValue;
       input = document.getElementById('search_input');
       filter = input.value.toUpperCase();
       ul = document.getElementById("ultag");
       li = ul.getElementsByTagName('li');

       for (i = 0; i &amp;lt; li.length; i++) {
         a = li[i].getElementsByTagName("a")[0];
         txtValue = a.textContent || a.innerText;
         if (txtValue.toUpperCase().indexOf(filter) &amp;gt; -1) {
           li[i].style.display = "";
         } else {
           li[i].style.display = "none";
         }
       }
     }

     //pull data into ultag container
     const suggestions = [
       'how to make a slidebar', 
       'how to make this website',
       'html explore ', 
       'css explore',
       'dom explore',
       'more items add hare that you want to suggest',
        'how to make a slidebar', 
       'how to make this website',
       'html explore ', 
       'css explore',
       'dom explore',
       'more items add hare that you want to suggest',
      'how to make a slidebar', 
       'how to make this website',
       'html explore ', 
       'css explore',
       'dom explore',
       'more items add hare that you want to suggest'
       ]

       //loop upper array
       for (var i = 0; i &amp;lt; suggestions.length; i++) {
         const ultag = document.getElementById('ultag');
         ultag.insertAdjacentHTML('afterbegin', `
         &amp;lt;li&amp;gt;&amp;lt;a href='#'&amp;gt;${suggestions[i]}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
         `);
       }


       //hide suggestions 
       function hide_sugg() {
         document.getElementById('suggestions_container').style.top = "-100%";
       }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Thanks You&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Amazon UI clone created by Manoarya using html css and js.</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:10:01 +0000</pubDate>
      <link>https://dev.to/manoarya/amazon-ui-clone-created-by-manoarya-using-html-css-and-js-4ji5</link>
      <guid>https://dev.to/manoarya/amazon-ui-clone-created-by-manoarya-using-html-css-and-js-4ji5</guid>
      <description>&lt;p&gt;Hi folks ! In this post i am going to build the Amazon UI clone using HTML, CSS and simple Java-script. So folks are you ready to build this clone with me. let’s go.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. File Structure
&lt;/h2&gt;

&lt;p&gt;In this section we gonna creating some useful file that helps us to keep build much cleaner. So right click on the desktop and create a folder named as Amazon UI clone.&lt;/p&gt;

&lt;p&gt;Now open this folder into the vs code or whatever code editor you used like sublime text or other. Source : If you don’t have vs code just go to this link &lt;a href="https://code.visualstudio.com/"&gt;https://code.visualstudio.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now create the following files inside this folder. Named as index.html, style.css and script.js&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Linking the files
&lt;/h2&gt;

&lt;p&gt;In this section we gonna see how to link CSS and JS file with HTML file and also create the boiler template or starting template of this clone.&lt;/p&gt;

&lt;p&gt;Now click on the index.html file and press Shift + ! and hit enter.&lt;/p&gt;

&lt;p&gt;Now you have html starting template.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.1. Link the CSS file&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s add the CSS file (style.css) using following code snippet.&lt;/p&gt;

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

&lt;p&gt;Upper snippet used only inside of the head tag.&lt;/p&gt;

&lt;p&gt;Ones you done this now you can style the html elements using the style property that we gonna see very very soon in the CSS part.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.2. Link the Java-script file&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now let’s add the Java-script file, for that just go to the top of the close body tag and add following code snippet.&lt;/p&gt;

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

&lt;p&gt;Ones you add the upper code snippet now you can give the functionality to the HTML elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.3. Link the font awesome&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now for the beautiful icon we gonna used the Font Awesome fonts. Go to &lt;a href="https://fontawesome.com/"&gt;https://fontawesome.com/&lt;/a&gt; and create a free account and grab the kit link and past it into the head tag.&lt;/p&gt;

&lt;p&gt;kit links looks something like this ( don’t use my kit link )&lt;/p&gt;

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

&lt;h2&gt;
  
  
  3. HTML Part
&lt;/h2&gt;

&lt;p&gt;Add the following code into the into the body tag&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
          &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;

&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Amazon clone by manoarya using html, css and js.&amp;lt;/title&amp;gt;
    &amp;lt;link rel="stylesheet" href="style.css"&amp;gt;
    &amp;lt;script src="https://kit.fontawesome.com/9e0ab445c3.js" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

    &amp;lt;!-- header --&amp;gt;
    &amp;lt;div class="header"&amp;gt;
        &amp;lt;!-- left header components --&amp;gt;
        &amp;lt;div class="left_header"&amp;gt;
            &amp;lt;!-- logo --&amp;gt;
            &amp;lt;div class="logo_container"&amp;gt;
                &amp;lt;img src="https://bizmonthly.com/wp-content/uploads/2020/04/Amazon-logo-black-template.png"
                    alt="Amazon Logo"&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;!-- address selector --&amp;gt;
            &amp;lt;i class="fas fa-map-marker-alt" style="margin-right: 10px;"&amp;gt;&amp;lt;/i&amp;gt;
            &amp;lt;span&amp;gt;Hello &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;Select your address&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;!-- center header components --&amp;gt;
        &amp;lt;div class="center_header"&amp;gt;
            &amp;lt;!-- All  --&amp;gt;
            &amp;lt;select name="All" class="center_header_all"&amp;gt;
                &amp;lt;option&amp;gt;All&amp;lt;/option&amp;gt;
                &amp;lt;option&amp;gt;Alex Skills&amp;lt;/option&amp;gt;
                &amp;lt;option&amp;gt;Amazon Alex&amp;lt;/option&amp;gt;
                &amp;lt;option&amp;gt;Amazon Fashion&amp;lt;/option&amp;gt;
            &amp;lt;/select&amp;gt;
            &amp;lt;!-- input --&amp;gt;
            &amp;lt;input type="text"&amp;gt;
            &amp;lt;!-- search button --&amp;gt;
            &amp;lt;button class="center_header_search_btn"&amp;gt;&amp;lt;i class="fas fa-search"&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/button&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;!-- right header components --&amp;gt;
        &amp;lt;div class="right_header"&amp;gt;
            &amp;lt;!-- sign in and login --&amp;gt;
            &amp;lt;span&amp;gt;Hello, sign in &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;Account &amp;amp; Lists&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;
            &amp;lt;!-- orders --&amp;gt;
            &amp;lt;span&amp;gt;Returns &amp;lt;br&amp;gt;&amp;lt;b&amp;gt;&amp;amp; Orders&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;
            &amp;lt;!-- cart --&amp;gt;
            &amp;lt;span&amp;gt;&amp;lt;i class="fas fa-shopping-cart" style="font-size: 30px;"&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;b
                    style="margin-left:10px;"&amp;gt;Cart&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;

    &amp;lt;!-- slider --&amp;gt;
    &amp;lt;div class="slider_container"&amp;gt;
        &amp;lt;!-- slider btn --&amp;gt;
        &amp;lt;button id="left"&amp;gt;&amp;lt;i class="fas fa-chevron-left" style="font-size: 30px;"&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/button&amp;gt;
        &amp;lt;!-- slider main box --&amp;gt;
        &amp;lt;div class="slider_main_box"&amp;gt;

            &amp;lt;!-- slider boxes --&amp;gt;
            &amp;lt;div class="slider_box"&amp;gt;
                &amp;lt;img src="https://m.media-amazon.com/images/I/41FBwjCnS2L._SX1500_.jpg" alt="img1"&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="slider_box"&amp;gt;
                &amp;lt;img src="https://m.media-amazon.com/images/I/61UrRx+3LLL._SX3000_.jpg" alt="img1"&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="slider_box"&amp;gt;
                &amp;lt;img src="https://m.media-amazon.com/images/I/61SQdbfLDgL._SX3000_.jpg" alt="img1"&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="slider_box"&amp;gt;
                &amp;lt;img src="https://m.media-amazon.com/images/I/71cQMXCLSvL._SX3000_.jpg" alt="img1"&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="slider_box"&amp;gt;
                &amp;lt;img src="https://m.media-amazon.com/images/I/8160RuRhSUL._SX3000_.jpg" alt="img1"&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;button id="right"&amp;gt;&amp;lt;i class="fas fa-chevron-right" style="font-size: 30px;"&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;

    &amp;lt;!-- products --&amp;gt;
    &amp;lt;div class="product_container"&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="product_box"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;!-- footer --&amp;gt;
    &amp;lt;footer&amp;gt;
        &amp;lt;h2&amp;gt;Footer&amp;lt;/h2&amp;gt;
    &amp;lt;/footer&amp;gt;

    &amp;lt;script src="script.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;If your html basic concept is not clear then go to &lt;a href="https://manoarya.com/Manoarya%20All%20Post/Html-basic-explanation-by-manoarya.html"&gt;https://manoarya.com/Manoarya All Post/Html-basic-explanation-by-manoarya.html&lt;/a&gt; this a page and learn.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. CSS Part
&lt;/h2&gt;

&lt;p&gt;Now open the style.css file and add following code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            * {
              margin: 0;
              padding: 0;
              box-sizing: border-box;
              font-family: sans-serif;
              scroll-behavior: smooth;
            }
            /* header style */
            .header {
              height: 50px;
              min-width: 1200px;
              background-color: #090505;
              display: flex;
              justify-content: space-between;
              align-items: center;
              color: white;
              position: sticky;
              top: 0;
              z-index: 12345;
            }
            .left_header {
              height: 50px;
              width: 25%;
              display: flex;
              place-items: center;
              cursor: pointer;
            }
            .logo_container {
              height: 50px;
              width: auto;
            }
            .logo_container img {
              height: 50px;
              width: auto;
              transform: scale(0.9);
            }
            .center_header {
              height: 50px;
              width: 50%;
              display: flex;
              justify-content: center;
              align-items: center;
              transform: scale(0.95);
            }
            .center_header_all {
              height: 40px;
              width: 50px;
              font-weight: bold;
              border-radius: 10;
              border: none;
              outline: none;
              border-top-left-radius: 5px;
              border-bottom-left-radius: 5px;
              padding: 5px;
            }
            .center_header input {
              height: 40px;
              width: auto;
              font-weight: bold;
              border-radius: 10;
              border: none;
              outline: none;
              font-size: large;
              padding: 10px 20px;
              width: 500px;
            }
            .center_header button {
              height: 40px;
              width: 50px;
              font-weight: bold;
              background: #eab553;
              color: #1e1e1e;
              border: none;
              border-top-right-radius: 5px;
              border-bottom-right-radius: 5px;
              transition: 0.1s ease-in;
            }
            .center_header button:hover {
              cursor: pointer;
              background: #d39f40;
            }
            .right_header {
              height: 50px;
              width: 25%;
              display: flex;
              justify-content: space-between;
              align-items: center;
              transform: scale(0.95);
              cursor: pointer;
            }

            /* slider style */
            .slider_container {
              height: 100%;
              width: auto;
              display: flex;
              justify-content: center;
              align-items: center;
            }
            .slider_container button {
              color: #9a9a9a;
              transition: 0.2s ease;
            }
            .slider_container button:hover {
              color: #1a1919;
              cursor: pointer;
            }
            #left {
              width: 5%;
              left: 0;
              z-index: 123;
              height: 10%;
              padding: 10px 20px;
              background: transparent;
              border: none;
              outline: none;
              position: absolute;
              top: 150px;
            }
            #right {
              width: 5%;
              right: 0;
              z-index: 123;
              padding: 10px 20px;
              background: transparent;
              border: none;
              outline: none;
              background-color: transparent;
              position: absolute;
              top: 150px;
            }
            .slider_main_box button:hover {
              color: #1e1e1e;
              cursor: pointer;
            }
            .slider_main_box::-webkit-scrollbar {
              display: none;
            }
            .slider_main_box {
              -ms-overflow-style: none;
              scrollbar-width: none;
            }

            .slider_main_box {
              height: 100%;
              width: 100%;
              display: flex;
              overflow-x: scroll;
              display: flex;
            }
            .slider_box {
                height: 100%;
              min-width: 100%;
            }
            .slider_box img {
              height: 100%;
              width: 100%;
            }

            /* products */
            .product_container{
              height: 100%;
              width: 100%;
              background: linear-gradient( transparent, rgb(182, 182, 182),rgb(197, 197, 197) );
              transform: scale(1);
              margin-top: -300px;
              display: flex;
              justify-content: center;
              align-items: center;
              flex-wrap: wrap;
            }
            .product_box{
              height: 300px;
              width: 25%;
              background: white;
              transform: scale(0.95);
            }

            /* footer */
            footer {
              height: 500px;
              background: #222121;
              display: grid;
              place-items: center;
              color: gray;
            }


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Java-script Part
&lt;/h2&gt;

&lt;p&gt;Now last open the script.js and add the following code snippet.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

            // Access the element form the html DOM and store into the const variable.
            const slider = document.querySelector(".slider_main_box");
            const left_btn = document.getElementById('left');
            const right_btn = document.getElementById('right')

            // Get the slider component width so that we can slide the element into the full page.
            const slider_width = slider.clientWidth;

            // Scroll the slider or img when left button clicked
            left_btn.addEventListener("click" , () =&amp;gt; {
                slider.scrollBy(-slider_width,0);
            })

            // Scroll the slider or img when right button clicked
            right_btn.addEventListener("click" , () =&amp;gt; {
                slider.scrollBy(slider_width,0);
            })


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Happy coding !&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks for visiting&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>CSS Cheat Sheet 2023</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Wed, 07 Jun 2023 02:06:32 +0000</pubDate>
      <link>https://dev.to/manoarya/css-cheat-sheet-2023-372l</link>
      <guid>https://dev.to/manoarya/css-cheat-sheet-2023-372l</guid>
      <description>&lt;h2&gt;
  
  
  Here is a basic CSS cheat sheet that you can use as a reference:
&lt;/h2&gt;

&lt;p&gt;1. CSS stands for Cascading Style Sheets&lt;/p&gt;

&lt;p&gt;2. CSS is used to style and layout web pages&lt;/p&gt;

&lt;p&gt;3. CSS styles are applied to HTML elements&lt;/p&gt;

&lt;p&gt;4. CSS styles are specified in rules, which consist of a selector and a declaration block&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Manoarya%20All%20Post/CSS_Cheat_Sheet.html"&gt;Read More&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Selectors are used to specify which elements a set of styles should be applied to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There are several different types of selectors:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Type selectors:&lt;/strong&gt; Select elements based on the element type (e.g., p for paragraphs)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Class selectors:&lt;/strong&gt; Select elements with a specific class attribute (e.g., .my-class)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ID selectors:&lt;/strong&gt; Select elements with a specific ID attribute (e.g., #my-id)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attribute selectors:&lt;/strong&gt; Select elements with a specific attribute or attribute value (e.g., [href] or [type="button"])&lt;/p&gt;

&lt;h2&gt;
  
  
  Declaration block
&lt;/h2&gt;

&lt;p&gt;A declaration block consists of a set of declarations, each of which has a property and a value. The property is the styling attribute that you want to set (e.g., color, font-size), and the value is the style that you want to apply (e.g., red, 16px).&lt;/p&gt;

&lt;p&gt;Declarations are separated by semicolons and written inside curly braces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                        selector {
                            property: value;
                            property: value;
                          }


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

&lt;/div&gt;



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

&lt;p&gt;You can add comments to your CSS code to explain what the code does or to make it easier to read. Comments are ignored by the browser and start with /* and end with */.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                        /* This is a comment */


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

&lt;/div&gt;



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

&lt;p&gt;In CSS, inheritance refers to the way in which styles are passed from parent elements to child elements. If a parent element has a certain style applied to it, that style will be inherited by its child elements unless it is overridden by a more specific rule.&lt;/p&gt;

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

&lt;p&gt;Specificity refers to the weight of a CSS rule. If multiple rules could apply to an element, the browser will use the one with the highest specificity. Specificity is calculated based on the number of each type of selector in the rule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Box model
&lt;/h2&gt;

&lt;p&gt;In CSS, every element is considered a box, and the box model is used to specify the layout and size of these boxes. The box model consists of the following elements:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Margin:&lt;/strong&gt; The space outside of the border&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Border:&lt;/strong&gt; The line around the edge of the element&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Padding:&lt;/strong&gt; The space inside the border&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Content:&lt;/strong&gt; The actual content of the element&lt;/p&gt;

&lt;p&gt;The width and height of an element can be set using the &lt;strong&gt;width&lt;/strong&gt; and &lt;strong&gt;height&lt;/strong&gt; properties. By default, the width and height of an element are determined by the content inside it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Units of measurement
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;CSS supports several different units of measurement, including:&lt;/strong&gt; &lt;strong&gt;px:&lt;/strong&gt; Pixels (fixed-size units)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;em:&lt;/strong&gt; Ems (relative to the font-size of the element)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;%:&lt;/strong&gt; Percent (relative to the size of the parent element)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;rem:&lt;/strong&gt; Root ems (relative to the font-size of the root element)&lt;/p&gt;

&lt;h2&gt;
  
  
  Some Commonly used CSS properties
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;font-size:&lt;/strong&gt; Sets the size of the font.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;font-family:&lt;/strong&gt; Sets the font family.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;color:&lt;/strong&gt; Sets the color of the text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;background-color:&lt;/strong&gt; Sets the background color of an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;text-align:&lt;/strong&gt; Aligns the text within an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;line-height:&lt;/strong&gt; Sets the space between lines of text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;margin:&lt;/strong&gt; Sets the space around an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;padding:&lt;/strong&gt; Sets the space within an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;width:&lt;/strong&gt; Sets the width of an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;height:&lt;/strong&gt; Sets the height of an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;border:&lt;/strong&gt; Sets the border around an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;border-radius:&lt;/strong&gt; Rounds the corners of the border around an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;box-shadow:&lt;/strong&gt; Adds a shadow effect to an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;opacity:&lt;/strong&gt; Sets the transparency of an element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;overflow:&lt;/strong&gt; Controls how overflow is handled when the content of an element is too large to fit within its boundaries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;position:&lt;/strong&gt; Controls the position of an element relative to its parent element or the viewport.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;float:&lt;/strong&gt; Floats an element to the left or right of its parent element, allowing other elements to wrap around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;clear:&lt;/strong&gt; Clears floated elements, forcing an element to start below any floated elements that precede it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Here are some sources you can use to learn CSS:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.w3schools.com/css/"&gt;W3Schools:&lt;/a&gt; A popular online tutorial and reference site that provides a wide range of CSS tutorials and examples.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS"&gt;MDN Web Docs:&lt;/a&gt; The official documentation for web technologies, including CSS. This is a comprehensive resource that covers all aspects of CSS in detail.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://css-tricks.com/"&gt;CSS Tricks:&lt;/a&gt; A blog and reference site that provides tips, tricks, and tutorials on all aspects of CSS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.codecademy.com/learn/learn-css"&gt;Codecademy:&lt;/a&gt; An online platform that offers interactive courses on a variety of topics, including CSS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.udemy.com/courses/development/css/"&gt;Udemy:&lt;/a&gt; An online platform that offers a wide range of paid and free courses on a variety of topics, including CSS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.freecodecamp.org/learn/responsive-web-design/css/"&gt;FreeCodeCamp:&lt;/a&gt; A non-profit organization that provides a comprehensive curriculum of interactive coding challenges and projects, including lessons on CSS.&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>cheetsheet</category>
    </item>
    <item>
      <title>HTML basic explanation by Manoarya.</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Tue, 06 Jun 2023 17:52:06 +0000</pubDate>
      <link>https://dev.to/manoarya/html-basic-explanation-by-manoarya-4peg</link>
      <guid>https://dev.to/manoarya/html-basic-explanation-by-manoarya-4peg</guid>
      <description>&lt;p&gt;Hi, what's up how is going in this Manoarya explanation article we are going to discover some basic html which you use almost every html website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We discover following topics in this post.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Html starter code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
  &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;!-- Write your code hare --&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/strong&gt; is the first line of any html document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DOCTYPE&lt;/strong&gt; gives ideas to web browsers that which type of document used to create this document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/strong&gt; means the whole document we write is type of html.&lt;/p&gt;

&lt;p&gt;By the way &lt;strong&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/strong&gt; is the latest version of html which is called &lt;strong&gt;Html 5&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;previous version of html look like following code. that type we don't use &lt;strong&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;See version 4.01 called HTML 4.01 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
              &amp;lt;DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;See version 1.1 called XHTML 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            &amp;lt;DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&amp;gt;


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/strong&gt; is not case sensitive so we can write with any case like &lt;strong&gt;&amp;lt;!doctype html&amp;gt;&lt;/strong&gt; &lt;strong&gt;&amp;lt;!DoCtYpe Html&amp;gt;&lt;/strong&gt; it is not affect on the final result. but I suggest you to write like this*&lt;em&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/em&gt;* because it's look nicer .&lt;/p&gt;

&lt;p&gt;All the information related to document includes inside of head tag.&lt;/p&gt;

&lt;p&gt;All the following tags put inside of head tag.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;&lt;br&gt;&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Almost we are ignore this line of code in early coding stage.&lt;/p&gt;

&lt;p&gt;but now we need to know what is the work of this line of code in html document.&lt;/p&gt;

&lt;p&gt;So in this code line we have first attribute &lt;strong&gt;http-equiv.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Which response https information or values according to what gives inside of content attribute.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Http-equiv attribute values&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Content-security-policy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Works :&lt;/strong&gt; Show All the content policies of document.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;2. Content type&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Work :&lt;/strong&gt; Content type attribute value show which types of character encoding for the document.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://en.m.wikipedia.org/wiki/UTF-8"&gt;Learn More about UTF-8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Default Style&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Works :&lt;/strong&gt; Used when you want to use preferred stylesheet.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Focus :&lt;/strong&gt; The value of content attribute is match with stylesheet title.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Refresh&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Work:&lt;/strong&gt; auto refresh documents with given time interval. you can give interval time as a content attribute value.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Focus :&lt;/strong&gt; Refresh value used carefully because it affects guidelines of&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.w3.org/WAI/standards-guidelines/wcag/"&gt;https://www.w3.org/WAI/...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The value of name attribute which is viewport is show how documents look.&lt;/p&gt;

&lt;p&gt;It is responsible for responsive design that's the reason why we called it responsive meta tags. it's important Mata tag of any html document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code snippet&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you don't want to zoom document then used this Code snippet&lt;/p&gt;



&lt;p&gt;Or, if you want to user zoom the page then use it&lt;/p&gt;



&lt;p&gt;&amp;lt;!--comment--&amp;gt; this line of code know as a &lt;strong&gt;Comment&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Comment helps developers to read and understand what code say.&lt;/p&gt;

&lt;p&gt;So you want to write bug free and beautiful code then you must use comment in your code.&lt;/p&gt;

&lt;p&gt;&amp;lt; Link Tage basically attached your external css files for applying beautiful styles on the current document.&lt;/p&gt;

&lt;p&gt;Link Tage have following attributes&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;rel :&lt;/strong&gt; which value is stylesheet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;href :&lt;/strong&gt; which value is your css file name.&lt;/p&gt;

&lt;p&gt;For example I have a css file name as manoarya.css and I want to use this to my Manoarya.html document.&lt;/p&gt;

&lt;p&gt;Then my link Tage look like this&lt;/p&gt;



&lt;p&gt;Now my css file code applied on this document.&lt;/p&gt;

&lt;p&gt;The title Tage is very important of any html document because it is highly important for SEO prescriptive.&lt;/p&gt;

&lt;p&gt;The title Tag is helps browsers as well as users to understand what types of information provides by this page.&lt;/p&gt;

&lt;p&gt;Title show on the top of the browsers window as well as on Google search result. see 👇&lt;/p&gt;

&lt;p&gt;The Meta description is the very important Tag for defining what information contained to this document.&lt;/p&gt;

&lt;p&gt;It is a short information of whole document.&lt;/p&gt;

&lt;p&gt;Description also helps to ranks on google.&lt;/p&gt;

&lt;p&gt;Body Tage is most important part of the html document.&lt;/p&gt;

&lt;p&gt;Without Body tag nothing show on the browser.&lt;/p&gt;

&lt;p&gt;Whatever things you see on the browser Coded inside of body tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
            &amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&amp;gt;
  &amp;lt;meta name="viewport"
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"&amp;gt;
  &amp;lt;!--your css file links--&amp;gt;
  &amp;lt;link rel="stylesheet" href="your file name.css" /&amp;gt;
  &amp;lt;!--title of your website--&amp;gt;
  &amp;lt;title&amp;gt;Add your title&amp;lt;/title&amp;gt;
  &amp;lt;!--description of your website--&amp;gt;
  &amp;lt;meta name="description" content="Add your description."&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;!--your javascript file attached--&amp;gt;
  &amp;lt;script src="your javascript file name.js" type="text/javascript" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt; 


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

&lt;/div&gt;



&lt;p&gt;That's all for this article. I hope you like and enjoy this post.&lt;/p&gt;

&lt;p&gt;Please share you suggestions and give some advice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thank you show much.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>code</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Javascript Cheat Sheet 2023.</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Tue, 06 Jun 2023 17:48:09 +0000</pubDate>
      <link>https://dev.to/manoarya/javascript-cheat-sheet-2023-491c</link>
      <guid>https://dev.to/manoarya/javascript-cheat-sheet-2023-491c</guid>
      <description>&lt;h2&gt;
  
  
  Here is a basic JavaScript cheat sheet that you can use as a reference:
&lt;/h2&gt;

&lt;p&gt;1. JavaScript is a programming language that is commonly used to add interactivity to web pages&lt;/p&gt;

&lt;p&gt;2. JavaScript code is written in plain text and executed by a web browser.&lt;/p&gt;

&lt;p&gt;3. JavaScript is often used in conjunction with HTML and CSS to create dynamic and interactive websites.&lt;/p&gt;

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

&lt;p&gt;Variables are used to store values in JavaScript. You can declare a variable using the &lt;strong&gt;'var'&lt;/strong&gt; keyword, like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                        var myVariable; 
                        // You can also assign a value to a variable when you declare it:
                        var myVariable = 'hello';


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

&lt;/div&gt;



&lt;p&gt;In modern JavaScript, you can also use the &lt;strong&gt;let&lt;/strong&gt; and &lt;strong&gt;const&lt;/strong&gt; keywords to declare variables.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;let&lt;/strong&gt; is similar to &lt;strong&gt;var&lt;/strong&gt;, but the variable's value can be re-assigned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;const&lt;/strong&gt; is used to declare variables whose values cannot be re-assigned.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data types
&lt;/h2&gt;

&lt;p&gt;JavaScript has several different &lt;strong&gt;data types&lt;/strong&gt;, including:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;String:&lt;/strong&gt; A sequence of characters, written with single or double quotes (e.g., 'hello' or "world")&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Number:&lt;/strong&gt; A numerical value (e.g., 42 or 3.14)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Boolean:&lt;/strong&gt; A value that is either true or false&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;null:&lt;/strong&gt; A value that represents the absence of a value&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;undefined:&lt;/strong&gt; A value that indicates that a variable has not been assigned a value&lt;/p&gt;

&lt;p&gt;You can use the typeof operator to determine the data type of a value:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
console.log(typeof 'hello'); // Output string
console.log(typeof 42); // Outputs: 'number'
console.log(typeof true); // Outputs: 'boolean'


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

&lt;/div&gt;



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

&lt;p&gt;An array is a collection of values that are stored in a single variable. You can create an array by enclosing a comma-separated list of values in square brackets:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                    var myArray = [1, 2, 3];

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

&lt;/div&gt;



&lt;p&gt;You can access the elements of an array using their index, which is the position of the element in the array. Array indexes start at 0, so the first element of an array is at index 0, the second element is at index 1, and so on.&lt;/p&gt;

&lt;p&gt;You can use the &lt;strong&gt;length&lt;/strong&gt; property to determine the number of elements in an array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                    console.log(myArray.length); // Outputs: 3

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

&lt;/div&gt;



&lt;p&gt;You can also use array methods to manipulate the elements of an array. Some common array methods include &lt;strong&gt;push&lt;/strong&gt; (to add an element to the end of an array), &lt;strong&gt;pop&lt;/strong&gt; (to remove the last element of an array), and &lt;strong&gt;splice&lt;/strong&gt; (to remove or add elements to an array at a specific index).&lt;/p&gt;

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

&lt;p&gt;An object is a collection of key-value pairs that can be used to store data. You can create an object by enclosing a comma-separated list of key-value pairs in curly braces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
var myObject = {
key1: 'value1',
key2: 'value2'
};


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

&lt;/div&gt;



&lt;p&gt;You can access the values of an object using dot notation or bracket notation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                    console.log(myObject.key1); // Outputs:

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

&lt;/div&gt;



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

&lt;p&gt;Functions are blocks of code that can be defined and then called by name. You can define a function by using the function keyword, followed by the function name, a list of parameters in parentheses, and the function body in curly braces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
function myFunction(param1, param2) {
// Function body
}


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

&lt;/div&gt;



&lt;p&gt;You can call a function by using its name followed by a list of arguments in parentheses:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                myFunction(arg1, arg2);

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

&lt;/div&gt;



&lt;p&gt;Functions can also return a value using the &lt;strong&gt;return&lt;/strong&gt; keyword:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                    function myFunction(param) {
                        return param + 1;
                      }

                      console.log(myFunction(1)); // Outputs: 2


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Control structures
&lt;/h2&gt;

&lt;p&gt;JavaScript has several control structures that you can use to execute code conditionally or repeatedly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If&lt;/strong&gt; statements are used to execute code if a certain condition is true:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                    if (condition) {
                        // Code to execute
                        }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;for&lt;/strong&gt; loops are used to repeat a block of code a certain number of times:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                    for (var i = 0; i &amp;lt; 10; i++) {
                        // Code to execute
                      }


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;while&lt;/strong&gt; loops are used to repeat a block of code as long as a certain condition is true:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                    while (condition) {
                        // Code to execute
                      }


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

&lt;/div&gt;



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

&lt;p&gt;JavaScript can respond to events that occur on a web page, such as a user clicking a button or a page loading. You can use event listeners to specify code that should be executed in response to an event:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
                    element.addEventListener('event', function() {
                        // Code to execute
                      });


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

&lt;/div&gt;



&lt;p&gt;Some common events include &lt;strong&gt;click&lt;/strong&gt;, &lt;strong&gt;click&lt;/strong&gt;, and &lt;strong&gt;load&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  DOM manipulation
&lt;/h2&gt;

&lt;p&gt;The Document Object Model (DOM) is a tree-like representation of a web page, and JavaScript can be used to manipulate the DOM to change the content, layout, and appearance of a web page.&lt;/p&gt;

&lt;p&gt;You can use DOM methods and properties to select elements, modify their attributes, and change their content:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
var element = document.getElementById('my-element');
element.innerHTML = 'Hello';
element.style.color = 'red';


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

&lt;/div&gt;



&lt;p&gt;You can also use DOM events to respond to changes in the DOM and update the page accordingly.&lt;/p&gt;

&lt;h2&gt;
  
  
  ES6 features
&lt;/h2&gt;

&lt;p&gt;ECMAScript 6 (also known as ES6 or ECMAScript 2015) is the latest version of the ECMAScript standard, which is the standard that defines the syntax and semantics of JavaScript. ES6 introduces several new features that can make your code more concise and easier to read, including:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Arrow functions :&lt;/strong&gt; A shorter syntax for defining functions, using the &lt;strong&gt;=&amp;gt;&lt;/strong&gt; operator:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
// ES5
var add = function(x, y) {
  return x + y;
};

// ES6
const add = (x, y) =&amp;gt; x + y;


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Template strings :&lt;/strong&gt; A way to create strings that can include variables and expressions, using &lt;strong&gt;backticks (&lt;code&gt;\&lt;/code&gt;)&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
const name = 'John';
console.log(`Hello, ${name}`); // Outputs: 'Hello, John'


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Destructuring :&lt;/strong&gt; A way to extract values from arrays and objects into variables, using a shorthand syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
const arr = [1, 2, 3];
const [x, y, z] = arr;
console.log(x); // Outputs: 1

const obj = {a: 1, b: 2, c: 3};
const {a, b, c} = obj;
console.log(a); // Outputs: 1


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Spread operator :&lt;/strong&gt; A way to expand an array or object into a list of values or key-value pairs, using the &lt;strong&gt;'...'&lt;/strong&gt; operator:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
const arr1 = [1, 2, 3];
const arr2 = [4, 5, 6];
const arr3 = [...arr1, ...arr2];
console.log(arr3); // Outputs: [1, 2, 3, 4, 5, 6]

const obj1 = {a: 1, b: 2};
const obj2 = {c: 3, d: 4};
const obj3 = {...obj1, ...obj2};
console.log(obj3); // Outputs: {a: 1, b: 2, c: 3, d: 4}


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Promises :&lt;/strong&gt; A way to handle asynchronous operations, using a pattern that makes it easier to chain together multiple asynchronous actions:&lt;br&gt;
&lt;/p&gt;

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


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Additional resources
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Here are some additional resources that you might find useful when learning JavaScript:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide"&gt;MDN JavaScript Guide :&lt;/a&gt; A comprehensive guide to JavaScript, covering all of the core concepts and features of the language&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.javascript.com/"&gt;JavaScript.com :&lt;/a&gt; A beginner-friendly website that provides tutorials and interactive exercises to help you learn JavaScript&lt;/p&gt;

&lt;p&gt;&lt;a href="https://eloquentjavascript.net/"&gt;Eloquent JavaScript:&lt;/a&gt; A free online book that covers the basics of JavaScript, as well as more advanced topics such as functional programming and asynchronous programming&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Building Intelligent Chatbots with Chat-GPT: A Game Changer for Software Engineers</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Tue, 06 Jun 2023 17:41:41 +0000</pubDate>
      <link>https://dev.to/manoarya/building-intelligent-chatbots-with-chat-gpt-a-game-changer-for-software-engineers-4kme</link>
      <guid>https://dev.to/manoarya/building-intelligent-chatbots-with-chat-gpt-a-game-changer-for-software-engineers-4kme</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;The field of software engineering is constantly evolving, with new technologies and tools emerging to streamline development processes and enhance user experiences. One such groundbreaking advancement is the use of intelligent chatbots powered by Chat-GPT. These chatbots are revolutionizing the way software engineers interact with users, automate tasks, and provide support. In this article, we will delve into the world of building intelligent chatbots with Chat-GPT and explore how it is transforming the landscape of software engineering.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manoarya.com/Manoarya%20All%20Post/Building_Intelligent_Chatbots_with_Chat-GPT_A_Game_Changer_for_Software_Engineers.html"&gt;Read More&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Building Intelligent Chatbots with Chat-GPT: A Game Changer for Software Engineers
&lt;/h2&gt;

&lt;p&gt;Building intelligent chatbots with Chat-GPT offers a myriad of benefits for software engineers. Let's delve into some of the key advantages this technology brings to the table.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Enhanced User Engagement
&lt;/h2&gt;

&lt;p&gt;Integrating Chat-GPT into chatbots enables software engineers to create highly engaging conversational experiences. By leveraging the natural language processing capabilities of Chat-GPT, these chatbots can understand and respond to user queries in a conversational manner, mimicking human-like interactions. This fosters a seamless user experience, keeping users engaged and satisfied.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Automation of Repetitive Tasks
&lt;/h2&gt;

&lt;p&gt;Software engineers often find themselves spending a significant amount of time on repetitive tasks, such as answering frequently asked questions or providing basic support. With Chat-GPT-powered chatbots, these tasks can be automated. The chatbot can handle common queries and tasks, freeing up valuable time for software engineers to focus on more complex and critical aspects of their work.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. 24/7 Support and Scalability
&lt;/h2&gt;

&lt;p&gt;Chatbots built with Chat-GPT can provide round-the-clock support to users, eliminating the need for human intervention during non-business hours. This ensures that users receive timely assistance, regardless of the time of day. Additionally, these chatbots offer scalability, as they can handle multiple user interactions simultaneously without compromising performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Personalized Experiences
&lt;/h2&gt;

&lt;p&gt;By leveraging user data and machine learning algorithms, Chat-GPT-powered chatbots can deliver personalized experiences to users. These chatbots can analyze user preferences, behaviors, and historical interactions to tailor responses and recommendations accordingly. This level of personalization enhances user satisfaction and builds a stronger connection between the user and the software application.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Improved Efficiency and Productivity
&lt;/h2&gt;

&lt;p&gt;The implementation of intelligent chatbots streamlines various software engineering processes, resulting in improved efficiency and productivity. Chatbots can assist with code review, provide documentation and API references, and even suggest code snippets based on specific requirements. This automation accelerates development cycles and reduces the time and effort required for mundane tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Seamless Integration
&lt;/h2&gt;

&lt;p&gt;Chat-GPT can be seamlessly integrated into existing software applications and platforms, making it accessible for software engineers across different domains. Whether it's a web application, mobile app, or desktop software, the chatbot powered by Chat-GPT can be easily incorporated, enhancing the overall functionality and usability of the software.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQs about Building Intelligent Chatbots with Chat-GPT: A Game Changer for Software Engineers
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Q: What is Chat-GPT?
&lt;/h3&gt;

&lt;p&gt;A: Chat-GPT is a language model developed by OpenAI, designed to generate human-like text responses in a conversational manner.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q: How does Chat-GPT enable intelligent chatbot development?
&lt;/h3&gt;

&lt;p&gt;A: Chat-GPT provides natural language processing capabilities, allowing chatbots to understand and respond to user queries in a conversational manner.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q: Can Chat-GPT handle complex user interactions?
&lt;/h3&gt;

&lt;p&gt;A: Yes, Chat-GPT can handle complex user interactions by leveraging its deep learning capabilities and understanding context.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q: Is Chat-GPT customizable for specific industries or domains?
&lt;/h3&gt;

&lt;p&gt;A: Yes, software engineers can fine-tune Chat-GPT for specific industries or domains by training it on domain-specific data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q: What programming languages or frameworks can be used with Chat-GPT?
&lt;/h3&gt;

&lt;p&gt;A: Chat-GPT can be integrated with various programming languages and frameworks, allowing software engineers to leverage its capabilities regardless of their preferred technology stack.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q: Is building chatbots with Chat-GPT time-consuming?
&lt;/h3&gt;

&lt;p&gt;A: Building chatbots with Chat-GPT can be relatively quick and efficient, thanks to its user-friendly APIs and extensive documentation.&lt;/p&gt;

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

&lt;p&gt;Building intelligent chatbots with Chat-GPT is undeniably a game changer for software engineers. The ability to enhance user engagement, automate repetitive tasks, provide 24/7 support, deliver personalized experiences, improve efficiency, and seamlessly integrate into existing software applications makes Chat-GPT an invaluable tool in the software engineering arsenal. As this technology continues to advance, we can expect even more innovative applications and benefits for software engineers worldwide.&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Chat-GPT: Revolutionizing Conversational AI for Software Engineers</title>
      <dc:creator>Manohar Anand</dc:creator>
      <pubDate>Tue, 06 Jun 2023 17:33:57 +0000</pubDate>
      <link>https://dev.to/manoarya/chat-gpt-revolutionizing-conversational-ai-for-software-engineers-29ah</link>
      <guid>https://dev.to/manoarya/chat-gpt-revolutionizing-conversational-ai-for-software-engineers-29ah</guid>
      <description>&lt;h2&gt;
  
  
  Introduction:
&lt;/h2&gt;

&lt;p&gt;In today's fast-paced technological landscape, software engineers constantly seek innovative solutions to enhance their productivity and streamline their workflows. The advent of Conversational AI has paved the way for unprecedented advancements in communication and collaboration within the software development community. One such groundbreaking technology, Chat-GPT, is at the forefront of this revolution. This article delves into the remarkable capabilities of Chat-GPT and how it is revolutionizing Conversational AI for Software Engineers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Chat-GPT: Revolutionizing Conversational AI for Software Engineers
&lt;/h2&gt;

&lt;p&gt;Chat-GPT, an advanced language model developed by OpenAI, represents a significant breakthrough in the field of Conversational AI. Powered by deep learning algorithms, Chat-GPT leverages natural language processing to engage in human-like conversations. With its remarkable ability to understand context, provide accurate responses, and generate coherent dialogue, Chat-GPT has become an invaluable tool for software engineers worldwide.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Enhancing Collaboration in Development Teams
&lt;/h3&gt;

&lt;p&gt;Software engineers often collaborate on complex projects with team members spread across different time zones and locations. Chat-GPT proves to be a game-changer by enabling seamless communication among team members. Whether it's brainstorming ideas, sharing code snippets, or discussing project requirements, Chat-GPT provides a platform for real-time collaboration, allowing engineers to work together efficiently.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Streamlining Technical Documentation
&lt;/h3&gt;

&lt;p&gt;Creating and maintaining technical documentation is a crucial aspect of software development. Chat-GPT simplifies this process by generating accurate and coherent documentation based on the provided inputs. Software engineers can now save valuable time and effort by leveraging Chat-GPT to automate the creation of code documentation, API references, and user manuals.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Assisting in Troubleshooting and Debugging
&lt;/h3&gt;

&lt;p&gt;Software engineers often encounter complex bugs and issues during the development process. Chat-GPT proves to be an invaluable companion by offering assistance in troubleshooting and debugging. By providing relevant suggestions, error analysis, and step-by-step guidance, Chat-GPT helps engineers overcome challenges efficiently and accelerates the debugging process.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Simplifying Natural Language Interfaces
&lt;/h3&gt;

&lt;p&gt;As the demand for intuitive and user-friendly interfaces grows, software engineers are increasingly exploring natural language interfaces. Chat-GPT plays a vital role in this area by simplifying the development of conversational interfaces. With its ability to understand and respond to natural language inputs, engineers can create interactive chatbots, voice assistants, and virtual agents more easily.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Enabling Intelligent Code Completion
&lt;/h3&gt;

&lt;p&gt;Writing clean and error-free code is crucial for software engineers. Chat-GPT revolutionizes code development by offering intelligent code completion capabilities. By analyzing code context and understanding programming languages, Chat-GPT suggests code snippets, identifies potential errors, and enhances overall code quality.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Enhancing Technical Interviews and Assessments
&lt;/h3&gt;

&lt;p&gt;Conducting technical interviews and assessments is an integral part of the hiring process for software engineers. Chat-GPT simplifies this process by providing a platform for automated interviews and coding challenges. It evaluates candidates' technical skills, offers feedback, and helps identify top talent efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQs: Answers to Your Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Q1: How does Chat-GPT understand the context of conversations?
&lt;/h3&gt;

&lt;p&gt;Chat-GPT employs a deep learning architecture called transformer models, which excel at understanding and modeling language patterns. Through extensive training on vast amounts of text data, Chat-GPT learns to capture context, semantics, and generate appropriate responses.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q2: Can Chat-GPT be integrated into existing software development tools?
&lt;/h3&gt;

&lt;p&gt;Absolutely! Chat-GPT offers APIs and SDKs that enable seamless integration into various software development tools and platforms. It can be utilized within IDEs, collaboration platforms, and chat applications to enhance productivity and facilitate collaboration.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q3: Is Chat-GPT only limited to English language support?
&lt;/h3&gt;

&lt;p&gt;No, Chat-GPT supports multiple languages. OpenAI continues to expand its language capabilities, ensuring accessibility for software engineers worldwide.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q4: How secure is Chat-GPT in terms of data privacy and confidentiality?
&lt;/h3&gt;

&lt;p&gt;OpenAI prioritizes data privacy and takes security measures seriously. Chat-GPT interactions are monitored to ensure compliance with privacy regulations and prevent unauthorized use of sensitive information.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q5: Can Chat-GPT assist in writing technical blog posts and articles?
&lt;/h3&gt;

&lt;p&gt;Certainly! Chat-GPT can aid software engineers in generating well-structured and informative technical blog posts and articles. It assists with content generation, grammar checks, and offers suggestions to enhance the overall quality of the written material.&lt;/p&gt;

&lt;h3&gt;
  
  
  Q6: What is the future potential of Chat-GPT in the software engineering domain?
&lt;/h3&gt;

&lt;p&gt;The future potential of Chat-GPT is vast. As the technology evolves, we can expect even more sophisticated conversational AI capabilities, enabling engineers to tackle complex challenges with greater efficiency and revolutionizing the way they collaborate, code, and innovate.&lt;/p&gt;

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

&lt;p&gt;Chat-GPT has undoubtedly revolutionized Conversational AI for Software Engineers, empowering them with a tool that enhances collaboration, streamlines documentation, simplifies troubleshooting, and augments overall productivity. As this technology continues to advance, we can expect more transformative applications and groundbreaking possibilities for software engineers worldwide.&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>softwareengineering</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
