<?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: Code with Ayan</title>
    <description>The latest articles on DEV Community by Code with Ayan (@codewithayan).</description>
    <link>https://dev.to/codewithayan</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%2F893509%2F9031774e-6696-4c83-8e2c-c5acd608f921.jpeg</url>
      <title>DEV Community: Code with Ayan</title>
      <link>https://dev.to/codewithayan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codewithayan"/>
    <language>en</language>
    <item>
      <title>Amazing Social Icons Hover Effect in CSS</title>
      <dc:creator>Code with Ayan</dc:creator>
      <pubDate>Fri, 22 Jul 2022 22:56:00 +0000</pubDate>
      <link>https://dev.to/codewithayan/amazing-social-icons-hover-effect-in-css-2f5a</link>
      <guid>https://dev.to/codewithayan/amazing-social-icons-hover-effect-in-css-2f5a</guid>
      <description>&lt;p&gt;Hello Devs, Today in this post, we’ll learn How to Create an &lt;a href="https://codewithayan.com/social-media-icons-with-hover-effect-using-css/"&gt;Amazing Social Icons Hover Effect in CSS&lt;/a&gt; using HTML and CSS. To create it we are going to use simple CSS &amp;amp; Font Awesome. Hope you enjoy our blog.&lt;/p&gt;

&lt;p&gt;Social icons are a very important part of our website. They allow users to quickly share our content across social media sites, expanding users in seconds with just a click. &lt;/p&gt;

&lt;p&gt;Even it is a small feature to be implemented; you can be creative with it and make the social icons interactive in a way that adds a unique experience for your users.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://codewithayan.com/social-media-icons-with-hover-effect-using-css/"&gt;Click &lt;/a&gt;to watch demo!&lt;/p&gt;

&lt;p&gt;To create Social Icons Hover Effect in CSS we have used Font Awesome to make icons. Hence,  you will need a Font Awesome link in your &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag. It’s very simple, all you need to do is to log into Font Awesome site and they will provide you with the Kit’s Code. &lt;/p&gt;

&lt;h2&gt;
  
  
  Social Icons Hover Effect in CSS &amp;amp; HTML (source code)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;HTML 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;title&amp;gt;Making Animations&amp;lt;/title&amp;gt;
        &amp;lt;link rel="stylesheet" href="Animations.css"&amp;gt;
        &amp;lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-                     awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous"/&amp;gt;
    &amp;lt;/head&amp;gt;

    &amp;lt;body&amp;gt; 

        &amp;lt;div class="wrapper"&amp;gt;
            &amp;lt;div class="button"&amp;gt;
                &amp;lt;div class="icon"&amp;gt;
                    &amp;lt;a class="fab fa-facebook-f"&amp;gt;&amp;lt;/a&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;span&amp;gt;Facebook&amp;lt;/span&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="button"&amp;gt;
                &amp;lt;div class="icon"&amp;gt;
                    &amp;lt;a class="fab fa-instagram"&amp;gt;&amp;lt;/a&amp;gt;   
                &amp;lt;/div&amp;gt;
                &amp;lt;span&amp;gt;Instagram&amp;lt;/span&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div class="button"&amp;gt;
                &amp;lt;div class="icon"&amp;gt;
                    &amp;lt;a class="fab fa-twitter"&amp;gt;&amp;lt;/a&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;span&amp;gt;Twitter&amp;lt;/span&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div class="button"&amp;gt;
                &amp;lt;div class="icon"&amp;gt;
                    &amp;lt;a class="fab fa-youtube"&amp;gt;&amp;lt;/a&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;span&amp;gt;Youtube&amp;lt;/span&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&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;CSS 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;*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html,body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(315deg, #fff 0%, rgb(245, 245, 245) 74%);
}
.button{
    height: 60px;
    width: 60px;
    background-color: #fff;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 10px 10px rgb(94, 91, 91);
    float: left;
    overflow: hidden;
    transition: all 1s ease-in-out;
}
.button:hover{
    width: 220px;
}

.button:nth-child(1):hover .icon { background: #4267B2;}
.button:nth-child(2):hover .icon { background: #E1306C;}
.button:nth-child(3):hover .icon { background: #1DA1F2;}
.button:nth-child(4):hover .icon { background: #FF0000;}

.button:nth-child(1) span { color: #4267B2;}
.button:nth-child(2) span { color: #E1306C;}
.button:nth-child(3) span { color: #1DA1F2;}
.button:nth-child(4) span { color: #FF0000;}

.button span{
    font-size: 20px;
    font-weight: 500;
    line-height: 60px;
    margin-left: 10px;
}
.button, .icon{
    display: inline-block;
    height: 60px;
    width: 60px;
    text-align: center;
    border-radius: 50px;
}
.button, .icon a{
    font-size: 25px;
    line-height: 60px;
}
.icon{
    float: left;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Congratulations! We have now successfully created our &lt;a href="https://codewithayan.com/social-media-icons-with-hover-effect-using-css/"&gt;Social icons &lt;/a&gt;with Hover Effect using CSS.&lt;/p&gt;

&lt;p&gt;Don't forget to check out my other amazing CSS and Javascript tutorials:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/footer-design-in-html/"&gt;Responsive footer design in HTML and CSS &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/random-password-generator-app-in-javascript-source-code/"&gt; Random Password Generator app in Javascript Source code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/glassmorphism-login-form-css-2022/"&gt; Glassmorphism Login Form using HTML and CSS&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

</description>
      <category>css</category>
      <category>web</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Simple Login form using HTML and CSS</title>
      <dc:creator>Code with Ayan</dc:creator>
      <pubDate>Thu, 21 Jul 2022 22:26:02 +0000</pubDate>
      <link>https://dev.to/codewithayan/simple-login-form-using-html-and-css-3g14</link>
      <guid>https://dev.to/codewithayan/simple-login-form-using-html-and-css-3g14</guid>
      <description>&lt;p&gt;Hello guys, Today in this post we’ll learn How to Create a &lt;a href="https://codewithayan.com/simple-login-page-in-html-and-css-source-code/"&gt;Simple Login Form&lt;/a&gt; using HTML and CSS. Hope you enjoy this post.&lt;/p&gt;

&lt;p&gt;A login form is one of the most important component of a website or app that allows authorized users to access an entire site or a part of a website. You would have already seen them when visiting a website. Let's head to create it&lt;/p&gt;

&lt;p&gt;Whether it’s a signup form or login form, it should be catchy, user-friendly and easy to use. These types of Forms lead to increased sales, lead generation, and customer growth.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://codewithayan.com/simple-login-page-in-html-and-css-source-code/"&gt;Click &lt;/a&gt;to watch demo!&lt;/p&gt;

&lt;h2&gt;
  
  
  Simple Login form using HTML CSS (source code)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;HTML 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;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"&amp;gt;
  &amp;lt;link rel="stylesheet" href="styledfer.css"&amp;gt;
  &amp;lt;/head&amp;gt;

  &amp;lt;body&amp;gt;
   &amp;lt;div id="login-form-wrap"&amp;gt;
    &amp;lt;h2&amp;gt;Login&amp;lt;/h2&amp;gt;
    &amp;lt;form id="login-form"&amp;gt;
      &amp;lt;p&amp;gt;
      &amp;lt;input type="email" id="email" name="email" placeholder="Email " required&amp;gt;&amp;lt;i class="validation"&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;
      &amp;lt;/p&amp;gt;
      &amp;lt;p&amp;gt;
      &amp;lt;input type="password" id="password" name="password" placeholder="Password" required&amp;gt;&amp;lt;i class="validation"&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;
      &amp;lt;/p&amp;gt;
      &amp;lt;p&amp;gt;
      &amp;lt;input type="submit" id="login" value="Login"&amp;gt;
      &amp;lt;/p&amp;gt;

      &amp;lt;/form&amp;gt;
    &amp;lt;div id="create-account-wrap"&amp;gt;
      &amp;lt;p&amp;gt;Don't have an accout? &amp;lt;a href="#"&amp;gt;Create One&amp;lt;/a&amp;gt;&amp;lt;p&amp;gt;
    &amp;lt;/div&amp;gt;
   &amp;lt;/div&amp;gt;

  &amp;lt;script src='https://code.jquery.com/jquery-2.2.4.min.js'&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.15.0/jquery.validate.min.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;&lt;strong&gt;CSS 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;body {
  background-color: #020202;
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
  color: #2b3e51;
}
h2 {
  font-weight: 300;
  text-align: center;
}
p {
  position: relative;
}
a,
a:link,
a:visited,
a:active {
  color: #ff9100;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
a:focus, a:hover,
a:link:focus,
a:link:hover,
a:visited:focus,
a:visited:hover,
a:active:focus,
a:active:hover {
  color: #ff9f22;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#login-form-wrap {
  background-color: #fff;
  width: 16em;
  margin: 30px auto;
  text-align: center;
  padding: 20px 0 0 0;
  border-radius: 4px;
  box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
}
#login-form {
  padding: 0 60px;
}
input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  height: 60px;
  line-height: 60px;
  border-radius: 4px;
}
#email,
#password {
  width: 100%;
  padding: 0 0 0 10px;
  margin: 0;
  color: #8a8b8e;
  border: 1px solid #c2c0ca;
  font-style: normal;
  font-size: 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  display: inline-block;
  background: none;
}
#email:focus,
#password:focus {
  border-color: #3ca9e2;
}
#email:focus:invalid,
#password:focus:invalid {
  color: #cc1e2b;
  border-color: #cc1e2b;
}
#email:valid ~ .validation,
#password:valid ~ .validation 
{
  display: block;
  border-color: #0C0;
}
#email:valid ~ .validation span,
#password:valid ~ .validation span{
  background: #0C0;
  position: absolute;
  border-radius: 6px;
}
#email:valid ~ .validation span:first-child,
#password:valid ~ .validation span:first-child{
  top: 30px;
  left: 14px;
  width: 20px;
  height: 3px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
#email:valid ~ .validation span:last-child
#password:valid ~ .validation span:last-child
{
  top: 35px;
  left: 8px;
  width: 11px;
  height: 3px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.validation {
  display: none;
  position: absolute;
  content: " ";
  height: 60px;
  width: 30px;
  right: 15px;
  top: 0px;
}
input[type="submit"] {
  border: none;
  display: block;
  background-color: #ff9100;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  font-size: 18px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}
input[type="submit"]:hover {
  background-color: #ff9b17;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#create-account-wrap {
  background-color: #eeedf1;
  color: #8a8b8e;
  font-size: 14px;
  width: 100%;
  padding: 10px 0;
  border-radius: 0 0 4px 4px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Congratulations! You have now successfully created our Simple Login Form using HTML and CSS.&lt;/p&gt;

&lt;p&gt;Wait, Take a look at my other amazing CSS and Javascript tutorials:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://codewithayan.com/random-password-generator-app-in-javascript-source-code/"&gt;Random Password Generator using Javascript&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/footer-design-in-html/"&gt;Responsive footer design in HTML and CSS &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/feedback-form-using-html-css-and-javascript/"&gt;Simple Feedback Form using Html, CSS and Javascript&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Random Password Generator with Javascript | Source Code</title>
      <dc:creator>Code with Ayan</dc:creator>
      <pubDate>Wed, 20 Jul 2022 14:08:46 +0000</pubDate>
      <link>https://dev.to/codewithayan/random-password-generator-with-javascript-source-code-2ch0</link>
      <guid>https://dev.to/codewithayan/random-password-generator-with-javascript-source-code-2ch0</guid>
      <description>&lt;p&gt;Hey Devs, Today we’ll learn How to Create a &lt;a href="https://dev.tourl"&gt;Random Password Generator with Javascript&lt;/a&gt;. I hope you enjoy this post.&lt;/p&gt;

&lt;p&gt;Javascript Random Password Generator is nowadays much used by many popular and different websites. You could have already seen them when creating an account on a platform. The password created using this app is going to be a very strong password, since it includes keyword combinations like numbers, symbols, uppercase, and lowercase alphabets. &lt;/p&gt;

&lt;p&gt;The password is going to be random and unique so it will not be an easy to guess. Here, I have used JavaScript's Math.floor and Math.random method to create the app. When generate button will be clicked. The different types of loops will create different passwords each time.&lt;/p&gt;

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

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

&lt;p&gt;Random Password Generator with Javascript | source code&lt;br&gt;
&lt;strong&gt;HTML&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 name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
    &amp;lt;link rel="stylesheet" href="style.css" /&amp;gt;
  &amp;lt;/head&amp;gt;

  &amp;lt;body&amp;gt;
    &amp;lt;div class="box"&amp;gt;
      &amp;lt;h2&amp;gt;Random Password Generater&amp;lt;/h2&amp;gt;
      &amp;lt;input type="text" name="" placeholder="Password" id="password" readonly&amp;gt;

      &amp;lt;table&amp;gt;
        &amp;lt;th&amp;gt;&amp;lt;div id="button" class="btn1"onclick="genPassword()"&amp;gt;Generate&amp;lt;/div&amp;gt;&amp;lt;/th&amp;gt;
        &amp;lt;th&amp;gt;&amp;lt;a  id="button" class="btn2" onclick="copyPassword()"&amp;gt;Copy&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/div&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;&lt;strong&gt;CSS Code&lt;/strong&gt;&lt;br&gt;
Lets add some styling using CSS.&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;
    user-select: none; /*important*/
    box-sizing: border-box;
}
body {
    background-color: #FF8C00 ;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.box{
  background-color: white;
  padding-top: 30px;
  padding: 30px;
  margin-bottom: 12em;
}
.box h2{
  margin-bottom: 40px;
  text-align: center;
  font-size: 26px;
  color: rgb(219, 99, 0);
  font-family: sans-serif;
}
input {
  padding: 20px;
    user-select: none;
    height: 50px;
    width: 400px;
    border-radius: 6px;
    border: none;
    border: 2px solid #ff9411;
    outline: none;
    font-size: 22px;
}
input::placeholder{
  font-size: 23px;
} 
#button {
    font-family: sans-serif;
    font-size: 15px;

    margin-top: 40px;
    border: 2px solid #ff9411 ;
    width: 155px;
    height: 50px;
    text-align: center;
    background-color: #eb8a13;
    display: flex;
    color: rgb(255, 255, 255);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 7px;
}
.btn2{
   margin-left: 85px
 }
#button:hover {
    color: white;
    background-color: #db7900
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;JavaScript Code&lt;/strong&gt;&lt;br&gt;
JavaScript will generate the code when generate button is clicked. In varchars, I have added different numbers, numbers, symbols, etc. &lt;/p&gt;

&lt;p&gt;These symbols and numbers associated with each other will create random passwords. Math.random()  will help here. The password will show in the input box. Copy button is directly connected to the input. It will copy written text in input box.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript 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;function genPassword() {
        var chars = "0123456789abcdefghijklmnopqrstuvwxyz!@#$%^&amp;amp;*()ABCDEFGHIJKLMNOPQRSTUVWXYZ";
        var passwordLength = 12;
        var password = "";
        for (var i = 0; i &amp;lt;= passwordLength; i++) {
            var randomNumber = Math.floor(Math.random() * chars.length);
            password += chars.substring(randomNumber, randomNumber +1);
        }
        document.getElementById("password").value = password;
    }
    function copyPassword() {
      var copyText = document.getElementById("password");
      copyText.select();
      copyText.setSelectionRange(0, 999);
      document.execCommand("copy");
      alert("copied to clipboard")
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Congratulations! You have now successfully created our Random Password Generator app in Javascript&lt;/p&gt;

&lt;p&gt;Take a look at my other amazing CSS and Javascript tutorials:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/footer-design-in-html/"&gt;Responsive footer design in HTML and CSS &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://codewithayan.com/dark-mode-toggle-button-in-javascript-code-with-ayan/"&gt;Dark Mode Toggle Button using JavaScript&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/change-background-colour-using-javascript/"&gt;Change background colour using Javascript&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;My Website: &lt;a href="https://codewithayan.com/"&gt;codewithayan&lt;/a&gt;, see this to checkout all of my amazing Tutorials.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>programming</category>
    </item>
    <item>
      <title>Awesome animated search bar with icon in HTML &amp; CSS</title>
      <dc:creator>Code with Ayan</dc:creator>
      <pubDate>Tue, 19 Jul 2022 20:59:44 +0000</pubDate>
      <link>https://dev.to/codewithayan/awesome-animated-search-bar-with-icon-in-html-css-1eep</link>
      <guid>https://dev.to/codewithayan/awesome-animated-search-bar-with-icon-in-html-css-1eep</guid>
      <description>&lt;p&gt;Hello Devs, Today we’ll create an Awesome animated search bar with icon using HTML and CSS . To create it you will need a &lt;a href="https://fontawesome.com/"&gt;Font awesome&lt;/a&gt; kit. Hope you enjoy this post.&lt;/p&gt;

&lt;p&gt;A search bar is a very important component of our website. They allow users to easily search for articles available on your blog and help them find out what they are looking for easily, which increases the friendliness of the website to users.&lt;/p&gt;

&lt;p&gt;Extending the search box to Hover is an idea that modern websites use nowadays, with placing it in the top navbar of the website to see it easily. Even if it is a small feature to be implemented; you can be creative with it and make the Search bar interactive in a way that adds a good experience for the users.&lt;/p&gt;

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

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/lZcPqGmELjo"&gt;
&lt;/iframe&gt;
&lt;br&gt;
Now, as we have seen the demo so let’s head to create this with CSS &amp;amp; HTML. To create animated search bar we have used Font Awesome. Hence, you will need a &lt;a href="https://fontawesome.com/"&gt;Font Awesome&lt;/a&gt; link in your &lt;/p&gt; tag. It’s very simple, all you need to do is to log into Font Awesome site and they will provide you with the Kit’s Code. 

&lt;p&gt;Awesome Animated search bar with icon HTML CSS (source 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;title&amp;gt;Animated Search Bar&amp;lt;/title&amp;gt;
        &amp;lt;link rel="icon" href="animated.jpg"&amp;gt;
        &amp;lt;link rel="stylesheet" href="SearchBar.css"&amp;gt;
        &amp;lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous"/&amp;gt;
    &amp;lt;/head&amp;gt;

    &amp;lt;body&amp;gt;
        &amp;lt;br&amp;gt;
        &amp;lt;form action="" id="s"&amp;gt;
            &amp;lt;input type="search"&amp;gt;
            &amp;lt;i class="fa fa-search"&amp;gt;&amp;lt;/i&amp;gt;
        &amp;lt;/form&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;CSS 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;body{
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100%;
    background: #07051a;
}

form{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: all 1s;a
    width: 50px;
    height: 50px;
    background: white; 
    box-sizing: border-box;
    border-radius: 25px;
    border: 4px solid white;
    padding: 5px;
}
input{
    position: absolute;
    width: 100%;
    height: 42.5px;
    line-height: 30px;
    display: none;
    font-size: 1em;
    border-radius: 20px;
    padding: 0 20px;
    top: 0;
    left: 0;
    outline: 0;
    border: 0;
}
.fa{
    box-sizing: border-box;
    padding: 10px;
    width: 42.5px;
    height: 42.5px;
    position: absolute;
    border-radius: 50%;
    color: #07051a;
    text-align: center;
    font-size: 1.2em;
    transition: all 1s;
    top: 0;
    right: 0;
}
form:hover {
    width: 200px;
    cursor: pointer;
}
form:hover input {
    display: block;
}

form:hover .fa {
    background: #07051a;
    color: white;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Congratulations! You have now successfully created our Animated search bar with icon.&lt;/p&gt;

&lt;p&gt;Make sure to check out my other amazing CSS and Javascript tutorials:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/footer-design-in-html/"&gt;Responsive footer design in HTML and CSS &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/random-password-generator-app-in-javascript-source-code/"&gt; Random Password Generator app in Javascript Source code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/glassmorphism-login-form-css-2022/"&gt; Glassmorphism Login Form using HTML and CSS&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;My Website: &lt;a href="https://codewithayan.com/"&gt;codewithayan&lt;/a&gt;, see this to checkout all of my amazing Tutorials.&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Glassmorphism login page in HTML and CSS</title>
      <dc:creator>Code with Ayan</dc:creator>
      <pubDate>Sun, 17 Jul 2022 21:49:00 +0000</pubDate>
      <link>https://dev.to/codewithayan/glassmorphism-login-page-in-html-and-css-1ejh</link>
      <guid>https://dev.to/codewithayan/glassmorphism-login-page-in-html-and-css-1ejh</guid>
      <description>&lt;p&gt;Hey Devs, Today in this post you’ll learn How to Create a &lt;a href="https://codewithayan.com/glassmorphism-login-form-css-2022/"&gt;Glassmorphism Login Page in HTML and CSS&lt;/a&gt;. Hope you enjoy this post.  &lt;/p&gt;

&lt;p&gt;Glassmorphism in CSS has been gaining much popularity as a result of its appearance. As the name Glassmorphism itself suggests, its background looks like a glass. It is similar to Login Form but differs in its transparent design. Nowadays, many websites and applications like Apple and Microsoft use this type of design.&lt;/p&gt;

&lt;p&gt;These types of classy-interface UI make User Experience better and lead to increased sales, lead generation, and customer growth. You should also use shape psychology to represent your brand as trustworthy and build users' trust in your brand.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://codewithayan.com/glassmorphism-login-form-css-2022/"&gt;Click &lt;/a&gt;to watch demo!&lt;/p&gt;

&lt;h2&gt;
  
  
  Glassmorphism Login page using CSS (Source Code)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;HTML 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;Design - codewithayan&amp;lt;/title&amp;gt;
    &amp;lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous"/&amp;gt;
    &amp;lt;link rel="stylesheet" href="Style.css"&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;div class="container"&amp;gt;
        &amp;lt;div class="circle"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="circle"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;

    &amp;lt;form&amp;gt;
        &amp;lt;h2 id="heading"&amp;gt;Login&amp;lt;/h3&amp;gt;

        &amp;lt;input type="text" placeholder="Email or Phone" id="username"&amp;gt;
        &amp;lt;input type="password" placeholder="Password" id="password"&amp;gt;

        &amp;lt;button id="btn"&amp;gt;Log In&amp;lt;/button&amp;gt;

        &amp;lt;div class="social"&amp;gt;
            &amp;lt;div class="Google"&amp;gt;&amp;lt;i class="fab fa-google"&amp;gt;&amp;lt;/i&amp;gt;  Google&amp;lt;/div&amp;gt;
            &amp;lt;div class="github"&amp;gt;&amp;lt;i class="fab fa-github"&amp;gt;&amp;lt;/i&amp;gt;  Github&amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/form&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;CSS 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;*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #000000;
}
.container{
    width: 400px;
    height: 500px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
}
.circle{
    height: 174px;
    width: 175px;
    position: absolute;
    border-radius: 50%;
}
.circle:first-child{
    background: linear-gradient(
        #13e000,
        #78ff1e);
    left: -60px;
    top: -80px;
}
.circle:last-child{
    background: linear-gradient(
        to right,
        #ff00b3,
        #ff1fff);
    right: -20px;
    bottom: -80px;
}
form{
    height: 500px;
    width: 370px;
    background-color: rgba(255,255,255,0.13);
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
}
form *{
    font-family: 'Poppins',sans-serif;
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}
#heading{
    font-size: 40px;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
}
input{
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.07);
    border-radius: 3px;
    padding: 0 10px;
    font-size: 18px;
    margin-top: 40px;
    border: none;
    outline: none;
}
input::placeholder{
    color: #e5e5e5;
}
#btn{
    margin-top: 40px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.social{
    margin-top: 28px;
    display: flex;
  }
  .social div{
    width: 150px;
    border-radius: 3px;
    padding: 7px 10px 10px 7px;
    background-color: rgba(255,255,255,0.27);
    color: #eaf0fb;
    text-align: center;
  }
  .social div:hover{
    background-color: rgba(255,255,255,0.47);
  }
.github{
    margin-left: 25px;
  }
  .social i{
    margin-right: 4px;
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Congratulations! You have now successfully created our &lt;a href="https://codewithayan.com/glassmorphism-login-form-css-2022/"&gt;login page using HTML and CSS.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don't forget to check out my other amazing CSS and Javascript tutorials:&lt;br&gt;
&lt;a href="https://codewithayan.com/dark-mode-toggle-button-in-javascript-code-with-ayan/"&gt;1. Dark Mode Toggle Button in JavaScript (Updated)&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/footer-design-in-html/"&gt;Responsive footer design in HTML and CSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codewithayan.com/feedback-form-using-html-css-and-javascript/"&gt;Simple Feedback Form using Html CSS and Javascript&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;My Website: &lt;a href="https://codewithayan.com/"&gt;codewithayan&lt;/a&gt;, see this to checkout all of my amazing Tutorials.&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
