<?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: Codeflix</title>
    <description>The latest articles on DEV Community by Codeflix (@codeflix).</description>
    <link>https://dev.to/codeflix</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%2F735018%2F5237f9ab-7eab-4f4d-aad9-5ca491b55653.jpg</url>
      <title>DEV Community: Codeflix</title>
      <link>https://dev.to/codeflix</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codeflix"/>
    <language>en</language>
    <item>
      <title>My website </title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Tue, 11 Jan 2022 06:10:12 +0000</pubDate>
      <link>https://dev.to/codeflix/my-website-50n4</link>
      <guid>https://dev.to/codeflix/my-website-50n4</guid>
      <description>&lt;p&gt;&lt;a href="https://chessplayer339.wixsite.com/codeflix"&gt;My website &lt;/a&gt;&lt;br&gt;
Join my website!!! &lt;/p&gt;

&lt;p&gt;Host:-Chessplayer339 (owner of gameplay)&lt;/p&gt;

</description>
      <category>we</category>
    </item>
    <item>
      <title>11 Useful HTML Attributes You Must Know</title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Wed, 29 Dec 2021 15:24:33 +0000</pubDate>
      <link>https://dev.to/codeflix/11-html-tags-you-must-know-58gc</link>
      <guid>https://dev.to/codeflix/11-html-tags-you-must-know-58gc</guid>
      <description>&lt;p&gt;Hello, Readers, sorry I was busy in some work so it got late. &lt;/p&gt;

&lt;h2&gt;
  
  
  Let's Get Started
&lt;/h2&gt;

&lt;p&gt;HTML attributes allow you to perform a lot more complex tasks directly on your HTML files. Here are some of the most useful ones to know!&lt;/p&gt;

&lt;p&gt;HTML is the building block of the web. Knowing some less-known, but useful parts of this markup language can make your life a lot easier. HTML attributes provide several features that can help you to get the most out of HTML. It defines additional characteristics or properties of an HTML element.&lt;/p&gt;

&lt;p&gt;In this article, you'll learn about 11 HTML attributes that you probably haven’t heard of yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Multiple
&lt;/h2&gt;

&lt;p&gt;This attribute allows users to enter multiple values. You can use the multiple attribute with  tags and  tags. This boolean attribute is valid only for email or file input types.&lt;/p&gt;

&lt;h4&gt;
  
  
  Using multiple Attribute With  Tag
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;label for="language"&amp;gt;Select languages:&amp;lt;/label&amp;gt;
&amp;lt;select name="language" id="language" multiple&amp;gt;
&amp;lt;option value="C++"&amp;gt;C++&amp;lt;/option&amp;gt;
&amp;lt;option value="Python"&amp;gt;Python&amp;lt;/option&amp;gt;
&amp;lt;option value="JavaScript"&amp;gt;JavaScript&amp;lt;/option&amp;gt;
&amp;lt;option value="Java"&amp;gt;Java&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Using multiple Attribute for File Input
&lt;/h4&gt;

&lt;p&gt;By using the multiple attribute for file input, you can select multiple files (by holding the Shift or Ctrl keys).&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;input type="file" multiple&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Using multiple Attribute for Email Input
&lt;/h4&gt;

&lt;p&gt;By using the multiple attribute for email input, you can enter a list of comma-separated email addresses. All the white spaces will be removed from each address in the list.&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;input type="email" multiple&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2.Contenteditable
&lt;/h2&gt;

&lt;p&gt;You can make the HTML content editable on a web page using the contenteditable attribute. This is a global attribute, i.e, it's common to all HTML elements.&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;p contenteditable="true"&amp;gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3.Spellcheck
&lt;/h2&gt;

&lt;p&gt;The spellcheck attribute specifies whether the element may be checked for spelling errors or not. You can spellcheck text in the  elements, text in the editable elements, or text in the input elements(except passwords).&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;p contenteditable="true" spellcheck="true"&amp;gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4.Dowmload
&lt;/h2&gt;

&lt;p&gt;You can download a resource using the download attribute. The download attribute tells the browser to download the specified URL instead of navigating to it. You can use the download attribute with &lt;a&gt; tag and  tag.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note: The download attribute only works with same-origin URLs. It follows the rules of the &lt;a href="https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy"&gt;same-origin&lt;/a&gt; policy.&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;a href="xyz.png" download="myImage"&amp;gt;Download&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5.Accept
&lt;/h2&gt;

&lt;p&gt;The accept attribute of the  tag specifies the type of files a user can upload. You can specify a comma-separated list of one or more file types as its value.&lt;/p&gt;

&lt;h4&gt;
  
  
  Accepting an Audio File
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="file" id="audioFile" accept="audio/*"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Accepting a video file
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="file" id="videoFile" accept="video/*"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Accepting an Image File
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;input type="file" id="imageFile" accept="image/*"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Accepting a Microsoft Word File
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="file" id="docpicker"
accept=".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"&amp;gt;

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

&lt;/div&gt;



&lt;h4&gt;
  
  
  Accepting PNG or JPEG Files
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="file" id="imageFile" accept=".png, .jpg, .jpeg"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Accepting a PDF File
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="file" id="pdfFile" accept&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  6. translate
&lt;/h2&gt;

&lt;p&gt;The translate attribute tells the browser that the element should be translated or not when the page is localized. It can have 2 values: "yes" or "no".&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;p translate="no"&amp;gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  7. poster
&lt;/h2&gt;

&lt;p&gt;The poster attribute is used to show an image while the video is downloading or until the user plays the video.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you don't specify anything, nothing is displayed until the first frame is available. When the first frame is available, it's shown as the poster frame.&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;video controls
src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4"
poster="posterImage.png"&amp;gt;
&amp;lt;/video&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  8. inputmode
&lt;/h2&gt;

&lt;p&gt;The inputmode attribute indicates the browser which keyboard to display when a user has selected any input or textarea element. This attribute accepts various values:&lt;/p&gt;

&lt;h4&gt;
  
  
  None
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="none" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Numeric
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="numeric" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Tel
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="tel" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Decimal
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="decimal" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Email
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="email" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  URL
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="url" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Search
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" inputmode="search&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  9. pattern
&lt;/h2&gt;

&lt;p&gt;The pattern attribute of the &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; element allows you to specify a regular expression for which the element's value will be validated against. You can use the pattern attribute with several input types like text, date, search, URL, tel, email, and password.&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;form&amp;gt;
&amp;lt;input name="username" id="username" pattern="[A-Za-z0-9]+"&amp;gt; 
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  10. autocomplete
&lt;/h2&gt;

&lt;p&gt;The autocomplete attribute specifies whether the browser should automatically complete the input based on user inputs or not. You can use the autocomplete attribute with several input types like text, search, URL, tel, email, password, date pickers, range, and color. You can use this attribute with the  elements or &lt;/p&gt; elements.&lt;br&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;form&amp;gt;
&amp;lt;input name="username" id="username" pattern="[A-Za-z0-9]+"&amp;gt; 
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;


&lt;h2&gt;
  
  
  11. autofocus
&lt;/h2&gt;

&lt;p&gt;The autofocus attribute is a boolean attribute indicating that an element should be focused on page load. You can use this attribute with , , , , or  elements.&lt;/p&gt;

&lt;h4&gt;
  
  
  Using autofocus Attribute With input Element
&lt;/h4&gt;



&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input type="text" autofocus&amp;gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;h4&gt;
  
  
  Using autofocus Attribute With select Element
&lt;/h4&gt;



&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;select name="languages" id="languages"&amp;gt;
&amp;lt;option value="C++"&amp;gt;
C++
&amp;lt;/option&amp;gt;
&amp;lt;option value="Python"&amp;gt;
Python
&amp;lt;/option&amp;gt;
&amp;lt;option value="JavaScript"&amp;gt;
JavaScript
&amp;lt;/option&amp;gt;
&amp;lt;option value="Java"&amp;gt;
Java
&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;
Using autofocus Attribute With textarea Element
&amp;lt;textarea autofocus&amp;gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
&amp;lt;/textarea&amp;gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;h1&gt;
  
  
  THE END
&lt;/h1&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to make a working login  form with Html and Css(Transparent ,UI) (Part-1)</title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Wed, 24 Nov 2021 17:36:24 +0000</pubDate>
      <link>https://dev.to/codeflix/how-to-make-a-working-login-and-sign-up-form-with-html-and-csstransparent-ui-3866</link>
      <guid>https://dev.to/codeflix/how-to-make-a-working-login-and-sign-up-form-with-html-and-csstransparent-ui-3866</guid>
      <description>&lt;p&gt;Hello, Readers and welcome to my new blog and today I am going to tell you How to make a working login and sign up form with Html, CSS.As you have seen many types of login and sign up form but this one is transparent . As you know that a login form is used to enter authentication credentials to access a restricted page or form. The login form contains a field for the username and another for the password. When the login form is submitted its underlying code checks that the credentials are authentic, giving the user can access the restricted page.&lt;/p&gt;

&lt;p&gt;As you know that sign-up forms are an integral part of any website. Depending on the nature of your business, sign-up forms can be used for generating leads, collecting emails for your newsletter, and acquiring new customers. ... A sign-up form is essential in growing a list of permission-based, engaged subscribers.&lt;/p&gt;

&lt;p&gt;If you want the code behind making this login and sign up form , you can read this whole blog and watch the preview of the login and sign up form  using the link given below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Video preview
&lt;/h2&gt;

&lt;h4&gt;
  
  
  The video preview will be available soon.
&lt;/h4&gt;

&lt;p&gt;You can also subscribe to my channel To get latest updates.&lt;br&gt;
🔗 Link- &lt;a href="https://youtube.com/channel/UCe0Ltm1Op6fp5Xrsre8PeFA"&gt;Codeflix&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please subscribe my friend's channel- Relaxing sounds and music&lt;br&gt;
&lt;a href="//youtu.be/hfTdpYzzegA"&gt; My second channel Relaxing sounds and music&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Html
&lt;/h2&gt;

&lt;p&gt;As you know The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.&lt;/p&gt;

&lt;p&gt;Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.&lt;/p&gt;

&lt;p&gt;HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such asand directly introduce content into the page. Other tags such as&lt;/p&gt;

&lt;p&gt;surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page.&lt;/p&gt;
&lt;h2&gt;
  
  
  Source Code
&lt;/h2&gt;
&lt;h4&gt;
  
  
  Now let's not waste anymore time and get started.
&lt;/h4&gt;
&lt;h3&gt;
  
  
  Caution! - Read everything carefully typing mistakes can generate wrong results.
&lt;/h3&gt;
&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;p&gt;Make a file named index.html and write the following code.&lt;br&gt;
Basic code with link to css.&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;!-- Created By Codeflix --&amp;gt;
&amp;lt;html lang="en" dir="ltr"&amp;gt;
   &amp;lt;head&amp;gt;
      &amp;lt;meta charset="utf-8"&amp;gt;
      &amp;lt;title&amp;gt;Transparent Login Form HTML CSS&amp;lt;/title&amp;gt;
      &amp;lt;link rel="stylesheet" href="style.css"&amp;gt;
      &amp;lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/&amp;gt;
   &amp;lt;/head&amp;gt;
   &amp;lt;body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;p&gt;Here we are adding a background image. I will send the image download 🔗 link in my video preview.&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 class="bg-img"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;p&gt;This code is for the Log-In form.&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 class="content"&amp;gt;
        &amp;lt;header&amp;gt;Login Form&amp;lt;/header&amp;gt;
        &amp;lt;form action="#"&amp;gt;
          &amp;lt;div class="field"&amp;gt;
            &amp;lt;span class="fa fa-user"&amp;gt;&amp;lt;/span&amp;gt;
            &amp;lt;input type="text" required placeholder="Email or Phone"&amp;gt;
          &amp;lt;/div&amp;gt;
          &amp;lt;div class="field space"&amp;gt;
            &amp;lt;span class="fa fa-lock"&amp;gt;&amp;lt;/span&amp;gt;
            &amp;lt;input type="password" class="pass-key" required placeholder="Password"&amp;gt;
            &amp;lt;span class="show"&amp;gt;SHOW&amp;lt;/span&amp;gt;
          &amp;lt;/div&amp;gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4
&lt;/h2&gt;

&lt;p&gt;We will make reset password later in the blog.&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 class="pass"&amp;gt;
            &amp;lt;a href="index 2.html"&amp;gt;Forgot Password?&amp;lt;/a&amp;gt;
          &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5
&lt;/h2&gt;

&lt;p&gt;This code is for the Login button.&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 class="field"&amp;gt;
&amp;lt;input type="submit"value="LOGIN"&amp;gt;
          &amp;lt;/div&amp;gt;
        &amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 6
&lt;/h2&gt;

&lt;p&gt;This Code Is For The Next (Or Login With)Section.&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 class="login"&amp;gt;Or login with&amp;lt;/div&amp;gt;
        &amp;lt;div class="links"&amp;gt;
          &amp;lt;div class="google"&amp;gt;
            &amp;lt;i class="fab fa-google"&amp;gt;&amp;lt;span&amp;gt;Google&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;
          &amp;lt;/div&amp;gt;
          &amp;lt;div class="facebook"&amp;gt;
            &amp;lt;i class="fab fa-facebook-f"&amp;gt;&amp;lt;span&amp;gt;Facebook&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;
          &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 7
&lt;/h2&gt;

&lt;p&gt;We will make Sign Up page later in this blog.&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 class="signup"&amp;gt;Don't have account? 
&amp;lt;a href="index{signup}.html"&amp;gt;Signup Now&amp;lt;/a&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Javascript
&lt;/h1&gt;

&lt;p&gt;JavaScript , often abbreviated as JS, is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation and first-class functions.&lt;/p&gt;

&lt;p&gt;Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. Over 97% of websites use it client-side for web page behavior, often incorporating third-party libraries.Most web browsers have a dedicated JavaScript engine to execute the code on the user's device.&lt;/p&gt;

&lt;p&gt;As a multi-paradigm language, JavaScript supports event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).&lt;/p&gt;

&lt;p&gt;The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O. JavaScript engines were originally used only in web browsers, but they are now core components of other software systems, most notably servers and a variety of applications.&lt;/p&gt;

&lt;p&gt;Although there are similarities between JavaScript and Java, including language name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in&lt;br&gt;
design.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scripts Source Code
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Instructions ( Read Carefully)
&lt;/h2&gt;

&lt;p&gt;We will write the script in index.html using the &lt;/p&gt;

&lt;p&gt;tag . You can also make a script.js file if you want, and write the codes in it and don't forget to 🔗 link it. &lt;/p&gt;
&lt;h2&gt;
  
  
  Source Code
&lt;/h2&gt;
&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;p&gt;This Code for the show and hide options in the password field, style... &lt;br&gt;
This Also Contains the end tags for index.html,Read Instructions To Know More. ( Situated Above).&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  const pass_field = document.querySelector('.pass-key');
  const showBtn = document.querySelector('.show');
  showBtn.addEventListener('click', function(){
   if(pass_field.type === "password"){
     pass_field.type = "text";
     showBtn.textContent = "HIDE";
     showBtn.style.color = "#3498db";
   }else{
     pass_field.type = "password";
     showBtn.textContent = "SHOW";
     showBtn.style.color = "#222";
   }
  });
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


</description>
      <category>tutorial</category>
      <category>devops</category>
      <category>opensource</category>
      <category>css</category>
    </item>
    <item>
      <title>Coding Games</title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Mon, 22 Nov 2021 15:08:15 +0000</pubDate>
      <link>https://dev.to/codeflix/coding-games-3el1</link>
      <guid>https://dev.to/codeflix/coding-games-3el1</guid>
      <description>&lt;h1&gt;
  
  
  Want to play games realeted to coding?
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Well If you want to play copy and paste the 🔗 link in crome fast!!!!! 🔗 Link- &lt;a href="https://classroom.google.com/c/NDM2NTMyMjczNzM4?cjc=uyuoahg"&gt;https://classroom.google.com/c/NDM2NTMyMjczNzM4?cjc=uyuoahg&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to make a Tik Tak Toe Game (With Html, Css And Js)</title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Fri, 29 Oct 2021 08:24:54 +0000</pubDate>
      <link>https://dev.to/codeflix/how-to-make-a-tik-tak-toe-game-with-html-css-and-js-2972</link>
      <guid>https://dev.to/codeflix/how-to-make-a-tik-tak-toe-game-with-html-css-and-js-2972</guid>
      <description>&lt;p&gt;Hello, readers welcome to my new blog and today I am going to tell you how to make a Tic Tac Toe game in Html, Css and Javascript .&lt;/p&gt;

&lt;p&gt;As you know that Tic tac toe is a multiplayer game and the players of this game have to position their marks(sign) so that they can construct a continuous line of three cells or boxes vertically, horizontally, or diagonally. An opponent can stop a win by blocking the end of the opponent’s line.&lt;/p&gt;

&lt;p&gt;In our program or design [Tic Tac Toe Game], at first, on the webpage, there is a selection box with the game title and two buttons which are labeled as “Player(X)” and “Player(O)”. Users must select one option or button to continue the game. If the user selects the X then the bot will be O and if the user selects the O then the bot will be X.&lt;/p&gt;

&lt;p&gt;Once the user selects one of them, the selection box will disappear and the playboard is visible. There are the player names at the top in the playboard section and it indicates or shows whose turn is now. At the center of the webpage, there is a tic tac toe play area with nine square boxes. Once you click on the particular box then there is visible a sign or icon which you have chosen on the selection box.&lt;/p&gt;

&lt;p&gt;Once you click on any box then after a couple of seconds the bot will automatically select the box which is not selected by you or the bot before, and the opposite icon is visible there means if your icon is X then the bot will have O. Once a match is won by someone, the playboard section will be hidden and the result box appears with the winner sign or icon and a replay button.&lt;/p&gt;

&lt;p&gt;If no one wins the match and all nine-box selected then again the playboard section is hidden and the result box appears with “Match has been drawn text” and a replay button. Once you click on the replay button, the current page reloads and you can play again.&lt;/p&gt;

&lt;h3&gt;
  
  
  How To Make it A Search Box In Vanilla Javascript YouTube Preview
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://youtu.be/GnJcV6t2jTg"&gt;####Preivew&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How To Make it A Search Box In Vanilla Javascript Code On YouTube
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Now let's not waste anymore time and get started.
&lt;/h4&gt;

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

&lt;p&gt;As you know The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.&lt;/p&gt;

&lt;p&gt;Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.&lt;/p&gt;

&lt;p&gt;HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such asand directly introduce content into the page. Other tags such as&lt;/p&gt;

&lt;p&gt;surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page.&lt;/p&gt;

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

&lt;p&gt;The source code is given below please read and do it carefully any&lt;br&gt;
 mistake can generate wrong results.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;p&gt;Make a file named index.html and write the following code.&lt;br&gt;
Basic code with link to css.&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;title&amp;gt;Tic Tac Toe Game | Codeflix&amp;lt;/title&amp;gt;
    &amp;lt;link rel="stylesheet" href="style.css"&amp;gt;
    &amp;lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;p&gt;This is the front page's html.&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;!-- select box --&amp;gt;
  &amp;lt;div class="select-box"&amp;gt;
    &amp;lt;header&amp;gt;Tic Tac Toe&amp;lt;/header&amp;gt;
    &amp;lt;div class="content"&amp;gt;
      &amp;lt;div class="title"&amp;gt;Select which you want to be?&amp;lt;/div&amp;gt;
      &amp;lt;div class="options"&amp;gt;
        &amp;lt;button class="playerX"&amp;gt;Player (X)&amp;lt;/button&amp;gt;
        &amp;lt;button class="playerO"&amp;gt;Player (O)&amp;lt;/button&amp;gt;
      &amp;lt;/div&amp;gt;
      &amp;lt;div class="credit"&amp;gt;Created By &amp;lt;a href="https://dev.to/codeflix/how-to-make-a-glassorphism-calculator-dhk" target="_blank"&amp;gt;Codeflix&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt; 


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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;p&gt;Code to tell which player's chance it is.&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;!-- playboard section --&amp;gt;
  &amp;lt;div class="play-board"&amp;gt;
    &amp;lt;div class="details"&amp;gt;
      &amp;lt;div class="players"&amp;gt;
        &amp;lt;span class="Xturn"&amp;gt;X's Turn&amp;lt;/span&amp;gt;
        &amp;lt;span class="Oturn"&amp;gt;O's Turn&amp;lt;/span&amp;gt;
        &amp;lt;div class="slider"&amp;gt;&amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4
&lt;/h2&gt;

&lt;p&gt;Code for playing area.&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 class="play-area"&amp;gt;
      &amp;lt;section&amp;gt;
        &amp;lt;span class="box1"&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;span class="box2"&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;span class="box3"&amp;gt;&amp;lt;/span&amp;gt;
      &amp;lt;/section&amp;gt;
      &amp;lt;section&amp;gt;
        &amp;lt;span class="box4"&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;span class="box5"&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;span class="box6"&amp;gt;&amp;lt;/span&amp;gt;
      &amp;lt;/section&amp;gt;
      &amp;lt;section&amp;gt;
        &amp;lt;span class="box7"&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;span class="box8"&amp;gt;&amp;lt;/span&amp;gt;
        &amp;lt;span class="box9"&amp;gt;&amp;lt;/span&amp;gt;
      &amp;lt;/section&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5
&lt;/h2&gt;

&lt;p&gt;Replay button and link to javascript file.&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;!-- result box --&amp;gt;
  &amp;lt;div class="result-box"&amp;gt;
    &amp;lt;div class="won-text"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class="btn"&amp;gt;&amp;lt;button&amp;gt;Replay&amp;lt;/button&amp;gt;&amp;lt;/div&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;h2&gt;
  
  
  Css
&lt;/h2&gt;

&lt;p&gt;CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple web pages to share formatting by specifying the relevant CSS in a separate .css file which reduces complexity and repetition in the structural content as well as enabling the .css file to be cached to improve the page load speed between the pages that share the file and its formatting.&lt;/p&gt;

&lt;p&gt;Separation of formatting and content also makes it feasible to present the same markup page in different styles for different rendering methods, such as on-screen, in print, by voice (via speech-based browser or screen reader), and on Braille-based tactile devices. CSS also has rules for alternate formatting if &lt;br&gt;
the content is accessed on a mobile device.&lt;/p&gt;
&lt;h2&gt;
  
  
  Css Source Code
&lt;/h2&gt;
&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;p&gt;Make a css file named style.css&lt;br&gt;
This code represents selection, body, about box, header, title, button and player's css code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&amp;amp;display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
::selection{
  color: #fff;
  background:#56baed;
}
body{
  background:#56baed;
}
.select-box, .play-board, .result-box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}
.select-box{
  background: #fff;
  padding: 20px 25px 25px;
  border-radius: 5px;
  max-width: 400px;
  width: 100%;
}
.select-box.hide{
  opacity: 0;
  pointer-events: none;
}
.select-box header{
  font-size: 30px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid lightgrey;
}
.select-box .title{
  font-size: 22px;
  font-weight: 500;
  margin: 20px 0;
}
.select-box .options{
  display: flex;
  width: 100%;
}
.options button{
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  background: #56baed;
  border-radius: 5px;
  color: #fff;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.options button:hover,
.btn button:hover{
  transform: scale(0.96);
}
.options button.playerX{
  margin-right: 5px;
}
.options button.playerO{
  margin-left: 5px;
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;p&gt;This code represents animation, credit ,details , players , victory text.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.select-box .credit{
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
}
.select-box .credit a{
  color: #56baed;
  text-decoration: none;
}
.select-box .credit a:hover{
  text-decoration: underline;
}

.play-board{
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}
.play-board.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.play-board .details{
  padding: 7px;
  border-radius: 5px;
  background: #fff;
}
.play-board .players{
  width: 100%;
  display: flex;
  position: relative;
  justify-content: space-between;
}
.players span{
  position: relative;
  z-index: 2;
  color: #56baed;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  cursor: default;
  user-select: none;
  transition: all 0.3 ease;
}
.players.active span:first-child{
  color: #fff;
}
.players.active span:last-child{
  color: #56baed;
}
.players span:first-child{
  color: #fff;
}
.players .slider{
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #56baed;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.players.active .slider{
  left: 50%;
}
.players.active span:first-child{
  color: #56baed;
}
.players.active span:nth-child(2){
  color: #fff;
}
.players.active .slider{
  left: 50%;
}
.play-area{
  margin-top: 20px;
}
.play-area section{
  display: flex;
  margin-bottom: 1px;
}
.play-area section span{
  display: block;
  height: 90px;
  width: 90px;
  margin: 2px;
  color: #56baed;
  font-size: 40px;
  line-height: 80px;
  text-align: center;
  border-radius: 5px;
  background: #fff;
}

.result-box{
  padding: 25px 20px;
  border-radius: 5px;
  max-width: 400px;
  width: 100%;
  opacity: 0;
  text-align: center;
  background: #fff;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}
.result-box.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.result-box .won-text{
  font-size: 30px;
  font-weight: 500;
  display: flex;
  justify-content: center;
}
.result-box .won-text p{
  font-weight: 600;
  margin: 0 5px;
}
.result-box .btn{
  width: 100%;
  margin-top: 25px;
  display: flex;
  justify-content: center;
}
.btn button{
  font-size: 18px;
  font-weight: 500;
  padding: 8px 20px;
  border: none;
  background: #56baed;
  border-radius: 5px;
  color: #fff;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;JavaScript , often abbreviated as JS, is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation and first-class functions.&lt;/p&gt;

&lt;p&gt;Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. Over 97% of websites use it client-side for web page behavior, often incorporating third-party libraries.Most web browsers have a dedicated JavaScript engine to execute the code on the user's device.&lt;/p&gt;

&lt;p&gt;As a multi-paradigm language, JavaScript supports event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).&lt;/p&gt;

&lt;p&gt;The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O. JavaScript engines were originally used only in web browsers, but they are now core components of other software systems, most notably servers and a variety of applications.&lt;/p&gt;

&lt;p&gt;Although there are similarities between JavaScript and Java, including language name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in &lt;br&gt;
design.&lt;/p&gt;
&lt;h2&gt;
  
  
  JavaScript Source Code
&lt;/h2&gt;

&lt;p&gt;Firstly make a file named script.js.&lt;/p&gt;
&lt;h2&gt;
  
  
  Source Code
&lt;/h2&gt;

&lt;p&gt;I've tried to explain each JavaScript line....Hope you'll understand&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;p&gt;Code of all required elements Such as:- Player, Win-Text , Result-Box, Buttons  ect&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const selectBox = document.querySelector(".select-box"),
selectBtnX = selectBox.querySelector(".options .playerX"),
selectBtnO = selectBox.querySelector(".options .playerO"),
playBoard = document.querySelector(".play-board"),
players = document.querySelector(".players"),
allBox = document.querySelectorAll("section span"),
resultBox = document.querySelector(".result-box"),
wonText = resultBox.querySelector(".won-text"),
replayBtn = resultBox.querySelector("button");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;p&gt;This code means once window loaded and the player selected  his/her team then hide select team box and show the playboard section&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;window.onload = ()=&amp;gt;{
    for (let i = 0; i &amp;lt; allBox.length; i++) {
       allBox[i].setAttribute("onclick", "clickedBox(this)");
    }
}

selectBtnX.onclick = ()=&amp;gt;{
    selectBox.classList.add("hide"); 
    playBoard.classList.add("show");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;p&gt;The first line of code tells the computer the icon playerX&lt;br&gt;
(fas fa-times is the class named fountausome cross icon) &lt;br&gt;
and the second line represents the icon of PlayerO&lt;br&gt;
(far fa-circle is the class name fountausome circle icon)&lt;/p&gt;
&lt;h5&gt;
  
  
  let playerSign = "X";
&lt;/h5&gt;

&lt;p&gt;this is a global variable beacuse we've used this variable inside multiple functions&lt;/p&gt;
&lt;h5&gt;
  
  
  let runBot = true;
&lt;/h5&gt;

&lt;p&gt;this also a global variable with boolen value..we used this variable to stop the bot once match won by someone or drawn&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let playerXIcon = "fas fa-times";
let playerOIcon = "far fa-circle"; 
let playerSign = "X"; 
let runBot = true; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4
&lt;/h2&gt;

&lt;p&gt;This tells the computer that if player choose O then change playerSign to O in the next line we are adding circle icon tag inside user clicked element/box.&lt;br&gt;
In seventh line of code we have added active class in players.&lt;br&gt;
In tenth line of code we have are&lt;br&gt;
adding cross icon tag inside user clicked element/box.Last line of code we have added active class in player.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function clickedBox(element){
    if(players.classList.contains("player")){
        playerSign = "O"; 
        element.innerHTML = `&amp;lt;i class="${playerOIcon}"&amp;gt;&amp;lt;/i&amp;gt;`; 
        players.classList.remove("active"); 
        element.setAttribute("id", playerSign); 
    }else{
        element.innerHTML = `&amp;lt;i class="${playerXIcon}"&amp;gt;&amp;lt;/i&amp;gt;`; 
        element.setAttribute("id", playerSign); 
        players.classList.add("active"); 
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5
&lt;/h2&gt;

&lt;p&gt;The fist line of code tells the computer that once user have selected any box then that box can'be clicked again. Forth line of code tells the computer that add pointerEvents none to playboard so user can't immediately click on any other box until bot select.&lt;br&gt;
The eigth line of code tells the computer that generating random number so bot will randomly delay to select unselected box. &lt;/p&gt;

&lt;h3&gt;
  
  
  Tip- There are some comments pasting with the comments won't generate wrong results.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;selectWinner( );
    element.style.pointerEvents = "none"; 
    playBoard.style.pointerEvents = "none"; 
    let randomTimeDelay = ((Math.random() * 1000) + 200).toFixed(); 
    setTimeout(()=&amp;gt;{
        bot(runBot); 

    }, randomTimeDelay); //passing random delay value
}

// bot auto select function
function bot(){
    let array = []; //creating empty array...we'll store unclicked boxes index
    if(runBot){ //if runBot is true
        playerSign = "O"; //change the playerSign to O so if player has chosen X then bot will O
        for (let i = 0; i &amp;lt; allBox.length; i++) {
            if(allBox[i].childElementCount == 0){ //if the box/span has no children means &amp;lt;i&amp;gt; tag
                array.push(i); //inserting unclicked boxes number/index inside array
            }
        }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 6
&lt;/h2&gt;

&lt;p&gt;The firt line of code tells the computer that getting random index from array ,so bot will select random unselected box.&lt;br&gt;
The forth line of code tells the computer that if player has chosen O then bot will X. In the  fifth and sixth line we are adding cross icon tag inside bot selected element. In the line-no 21 we have added pointerEvents auto in playboard so user can again click on box.&lt;br&gt;&lt;br&gt;
        playerSign = "X"; //if player has chosen X then bot will be O right then we change the playerSign again to X so user will X because above we have changed the playerSign to O for bot.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tip-  There are some comments pasting with the comments won't generate wrong results.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; let randomBox = array[Math.floor(Math.random() * array.length)]; 
        if(array.length &amp;gt; 0){ //if array length is greater than 0
            if(players.classList.contains("player")){ 
                playerSign = "X"; 
                allBox[randomBox].innerHTML = `&amp;lt;i class="${playerXIcon}"&amp;gt;&amp;lt;/i&amp;gt;`; //adding cross icon tag inside bot selected element
                allBox[randomBox].setAttribute("id", playerSign); //set id attribute in span/box with player choosen sign
                players.classList.add("active"); //add active class in players
            }else{
                allBox[randomBox].innerHTML = `&amp;lt;i class="${playerOIcon}"&amp;gt;&amp;lt;/i&amp;gt;`; //adding circle icon tag inside bot selected element
                players.classList.remove("active"); //remove active class in players
                allBox[randomBox].setAttribute("id", playerSign); //set id attribute in span/box with player choosen sign
            }
            selectWinner(); //calling selectWinner function
        }
        allBox[randomBox].style.pointerEvents = "none"; //once bot select any box then user can't click on that box
        playBoard.style.pointerEvents = "auto"; //
    }
}

function getIdVal(classname){
    return document.querySelector(".box" + classname).id; //return id value
}
function checkIdSign(val1, val2, val3, sign){ //checking all id value is equal to sign (X or O) or not if yes then return true
    if(getIdVal(val1) == sign &amp;amp;&amp;amp; getIdVal(val2) == sign &amp;amp;&amp;amp; getIdVal(val3) == sign){
        return true;
    }
}
function selectWinner(){ //if the one of following winning combination match then select the winner
    if(checkIdSign(1,2,3,playerSign) || checkIdSign(4,5,6, playerSign) || checkIdSign(7,8,9, playerSign) || checkIdSign(1,4,7, playerSign) || checkIdSign(2,5,8, playerSign) || checkIdSign(3,6,9, playerSign) || checkIdSign(1,5,9, playerSign) || checkIdSign(3,5,7, playerSign)){
        runBot = false; //passing the false boolen value to runBot so bot won't run again
        bot(runBot); //calling bot function
        setTimeout(()=&amp;gt;{ //after match won by someone then hide the playboard and show the result box after 700ms
            resultBox.classList.add("show");
            playBoard.classList.remove("show");
        }, 700); //1s = 1000ms
        wonText.innerHTML = `Player &amp;lt;p&amp;gt;${playerSign}&amp;lt;/p&amp;gt; won the game!`; //displaying winning text with passing playerSign (X or O)
    }else{ //if all boxes/element have id value and still no one win then draw the match
        if(getIdVal(1) != "" &amp;amp;&amp;amp; getIdVal(2) != "" &amp;amp;&amp;amp; getIdVal(3) != "" &amp;amp;&amp;amp; getIdVal(4) != "" &amp;amp;&amp;amp; getIdVal(5) != "" &amp;amp;&amp;amp; getIdVal(6) != "" &amp;amp;&amp;amp; getIdVal(7) != "" &amp;amp;&amp;amp; getIdVal(8) != "" &amp;amp;&amp;amp; getIdVal(9) != ""){
            runBot = false; //passing the false boolen value to runBot so bot won't run again
            bot(runBot); //calling bot function
            setTimeout(()=&amp;gt;{ //after match drawn then hide the playboard and show the result box after 700ms
                resultBox.classList.add("show");
                playBoard.classList.remove("show");
            }, 700); //1s = 1000ms
            wonText.textContent = "Match has been drawn!"; //displaying draw match text
        }
    }
}

replayBtn.onclick = ()=&amp;gt;{
    window.location.reload(); //reload the current page on replay button click
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Hi, Everyone hope you have learnt how to make a Tic Tac Toe game in JavaScript and please support me by subscribing my channel codeflix-  &lt;a href="https://youtu.be/GnJcV6t2jTg"&gt;Codeflix&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Join my classes - Class Code-764co6g Class Link- &lt;a href="https://classroom.google.com/c/NDE5MDU2MDYzOTcw?cjc=764co6g"&gt;Join My Classes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Join my classroom</title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Thu, 28 Oct 2021 15:49:17 +0000</pubDate>
      <link>https://dev.to/codeflix/join-my-classroom-k8k</link>
      <guid>https://dev.to/codeflix/join-my-classroom-k8k</guid>
      <description>&lt;p&gt;Join my classroom to connect with me and learn every type of coding languages , answer different types of quizes and many more &lt;br&gt;
Join 🔗 link- &lt;a href="https://classroom.google.com/c/NDE5MDU2MDYzOTcw?cjc=764co6g"&gt;https://classroom.google.com/c/NDE5MDU2MDYzOTcw?cjc=764co6g&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>devops</category>
    </item>
    <item>
      <title>How to make a Calculator (Working and Animated)</title>
      <dc:creator>Codeflix</dc:creator>
      <pubDate>Tue, 26 Oct 2021 08:30:15 +0000</pubDate>
      <link>https://dev.to/codeflix/how-to-make-a-glassorphism-calculator-dhk</link>
      <guid>https://dev.to/codeflix/how-to-make-a-glassorphism-calculator-dhk</guid>
      <description>&lt;p&gt;Hello, Readers welcome to my new blog and today I am going to tell you how to Make a Calculator. This Calculator has some features that make it different from a normal calculator. Those features are-     I have added animation ,Made the calculator transparent. &lt;/p&gt;

&lt;p&gt;As you know, calculator is a machine which allows people to do math operations more easily.&lt;br&gt;
For Example - Most calculator will add, substract, multiply, divide these are the basic functions of a calculator. Scientific calculator, Special purpose calculators financial calculators etc.&lt;/p&gt;

&lt;p&gt;Some also do square roots, and more complex calculators can help with calculus and draw function graphs. &lt;/p&gt;

&lt;p&gt;This Calculator's bubble or box animation make it look even more beautiful and it is also transparent making it more ausome&lt;/p&gt;

&lt;p&gt;If you want the real animation of these small boxes and the code behind making this calculator, you can read this whole blog and watch the preview of the calculator using the link given below.&lt;/p&gt;
&lt;h2&gt;
  
  
  Tutorial of Calculator using HTML CSS &amp;amp; JavaScript
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://youtu.be/S44SDUwWHIQ"&gt; Calculator Preview&lt;/a&gt;&lt;br&gt;
And please visit my site it is under construction - &lt;a href=""&gt; Currently unavalible&lt;/a&gt;&lt;br&gt;
Please subscribe my friend's channel- Relaxing sounds and music&lt;br&gt;
&lt;a href="//youtu.be/hfTdpYzzegA"&gt; My second channel Relaxing sounds and music&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Html
&lt;/h2&gt;

&lt;p&gt;The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.&lt;/p&gt;

&lt;p&gt;Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.&lt;/p&gt;

&lt;p&gt;HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as &lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt; and  directly introduce content into the page. Other tags such as &lt;/p&gt;
&lt;p&gt; surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page.&lt;/p&gt;
&lt;h2&gt;
  
  
  Source Code
&lt;/h2&gt;

&lt;p&gt;The Source Code is given below&lt;/p&gt;
&lt;h2&gt;
  
  
  STEP 1
&lt;/h2&gt;

&lt;p&gt;Make a file named index.html and write the 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;&amp;lt;!DOCTYPE html&amp;gt;

&amp;lt;html lang="en" dir="ltr"&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
   &amp;lt;!--- &amp;lt;title&amp;gt; Glassmorphism Calculator| Codeflix &amp;lt;/title&amp;gt;---&amp;gt;
    &amp;lt;link rel="stylesheet" href="style.css"&amp;gt;
   &amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  STEP 2
&lt;/h2&gt;

&lt;p&gt;This is the animation part (Do it carefully). Each lot contains 7 bubbles.&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 class="bubbles"&amp;gt;
  &amp;lt;span class="one"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="two"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="three"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="four"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="five"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="six"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="bubbles"&amp;gt;
  &amp;lt;span class="one"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="two"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="three"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="four"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="five"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="six"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="bubbles"&amp;gt;
  &amp;lt;span class="one"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="two"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="three"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="four"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="five"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="six"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="bubbles"&amp;gt;
  &amp;lt;span class="one"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="two"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="three"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="four"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="five"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="six"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;span class="seven"&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  STEP 3
&lt;/h2&gt;

&lt;p&gt;This code will make the container of the calculator.&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 class="container"&amp;gt;
   &amp;lt;form action="#" name="forms"&amp;gt;
     &amp;lt;input type="text" name="answer"&amp;gt;
     &amp;lt;div class="buttons"&amp;gt;
       &amp;lt;input type="button" value="AC" onclick="forms.answer.value = ''"&amp;gt;
       &amp;lt;input type="button" value="DEL" onclick="forms.answer.value = forms.answer.value.substr(0 , forms.answer.value.length -1)"&amp;gt;
       &amp;lt;input type="button" value="%" onclick="forms.answer.value += '%'"&amp;gt;
       &amp;lt;input type="button" value="/" onclick="forms.answer.value += '/'"&amp;gt;
     &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  STEP 4
&lt;/h2&gt;

&lt;p&gt;This code represents how buttons should function and their size and all other content.&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 class="buttons"&amp;gt;
       &amp;lt;input type="button" value="7" onclick="forms.answer.value += '7'"&amp;gt;
       &amp;lt;input type="button" value="8" onclick="forms.answer.value += '8'"&amp;gt;
       &amp;lt;input type="button" value="9" onclick="forms.answer.value += '9'"&amp;gt;
       &amp;lt;input type="button" value="*" onclick="forms.answer.value += '*'"&amp;gt;
     &amp;lt;/div&amp;gt;
     &amp;lt;div class="buttons"&amp;gt;
       &amp;lt;input type="button" value="4" onclick="forms.answer.value += '4'"&amp;gt;
       &amp;lt;input type="button" value="5" onclick="forms.answer.value += '5'"&amp;gt;
       &amp;lt;input type="button" value="6" onclick="forms.answer.value += '6'"&amp;gt;
       &amp;lt;input type="button" value="-" onclick="forms.answer.value += '-'"&amp;gt;
     &amp;lt;/div&amp;gt;
     &amp;lt;div class="buttons"&amp;gt;
       &amp;lt;input type="button" value="1" onclick="forms.answer.value += '1'"&amp;gt;
       &amp;lt;input type="button" value="2" onclick="forms.answer.value += '2'"&amp;gt;
       &amp;lt;input type="button" value="3" onclick="forms.answer.value += '3'"&amp;gt;
       &amp;lt;input type="button" value="+" onclick="forms.answer.value += '+'"&amp;gt;
     &amp;lt;/div&amp;gt;
     &amp;lt;div class="buttons"&amp;gt;
       &amp;lt;input type="button" value="0"  onclick="forms.answer.value += '0'"&amp;gt;
       &amp;lt;input type="button" value="00" onclick="forms.answer.value += '00'"&amp;gt;
       &amp;lt;input type="button" value="." onclick="forms.answer.value += '.'"&amp;gt;
       &amp;lt;input type="button" value="=" onclick="forms.answer.value = eval(forms.answer.value)"&amp;gt;
     &amp;lt;/div&amp;gt;
   &amp;lt;/form&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;h2&gt;
  
  
  Css
&lt;/h2&gt;

&lt;p&gt;CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts.  This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple web pages to share formatting by specifying the relevant CSS in a separate .css file which reduces complexity and repetition in the structural content as well as enabling the .css file to be cached to improve the page load speed between the pages that share the file and its formatting.&lt;/p&gt;

&lt;p&gt;Separation of formatting and content also makes it feasible to present the same markup page in different styles for different rendering methods, such as on-screen, in print, by voice (via speech-based browser or screen reader), and on Braille-based tactile devices. CSS also has rules for alternate formatting if the content is accessed on a mobile device.&lt;/p&gt;

&lt;h2&gt;
  
  
  Css codes in this project
&lt;/h2&gt;

&lt;h6&gt;
  
  
  Css plays an important role in this project and Css codes are also available below.
&lt;/h6&gt;

&lt;h2&gt;
  
  
  Css codes
&lt;/h2&gt;

&lt;p&gt;Now we will make a file named style.css and write paste the following code. &lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 1
&lt;/h2&gt;

&lt;p&gt;This code represents Fonts, Container, Background Colour&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&amp;amp;display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins',sans-serif;
}
body{
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(#2196f3 , #e91e63);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  STEP 2
&lt;/h2&gt;

&lt;p&gt;This Css code is used to add animation,Colour to the bubbles. &lt;br&gt;
Each lot contains 7 bubbles.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.bubbles{
  position: absolute;
  bottom: -120px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 70px;
  width: 100%;
  justify-content: space-around;
}
.bubbles span{
  height: 60px;
  width: 60px;
  background: rgba(255, 255, 255, 0.1);
  animation: move 10s linear infinite;
  position: relative;
  overflow: hidden;
}
@keyframes move {
  100%{
    transform: translateY(-100vh);
  }
}
.bubbles span.one{
  animation-delay: 2.2s;
  transform: scale(2.15)
}
.bubbles span.two{
  animation-delay: 3.5s;
  transform: scale(1.55)
}
.bubbles span.three{
  animation-delay: 0.2s;
  transform: scale(0.35)
}
.bubbles span.four{
  animation-delay: 6s;
  transform: scale(2.15)
}
.bubbles span.five{
  animation-delay: 7s;
  transform: scale(0.5)
}
.bubbles span.six{
  animation-delay: 4s;
  transform: scale(2.5)
}
.bubbles span.seven{
  animation-delay: 3
  transform: scale(1.5)
}
.bubbles span:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 60px;
  width: 40%;
  transform: skew(45deg) translateX(150px);
  background: rgba(255, 255, 255, 0.15);
  animation: mirror 3s linear infinite;
}
@keyframes mirror {
  100%{
    transform: translateX(-450px);
  }
}
.bubbles span.one:before{
  animation-delay: 1.5s;
}
.bubbles span.two:before{
  animation-delay: 3.5s;
}
.bubbles span.three:before{
  animation-delay: 2.5s;
}
.bubbles span.four:before{
  animation-delay: 7.5s;
}
.bubbles span.five:before{
  animation-delay: 4.5s;
}
.bubbles span.six:before{
  animation-delay: 0.5s;
}
.bubbles span.seven:before{
  animation-delay: 6s;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  STEP 3
&lt;/h2&gt;

&lt;p&gt;This code represents container's colour, Text input in the container , Colour Of the buttons.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  z-index: 12;
  width: 360px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.container input[type="text"]{
  width: 100%;
  height: 100px;
  margin: 0 3px;
  outline: none;
  border: none;
  color: #fff;
  font-size: 20px;
  text-align: right;
  padding-right: 10px;
  pointer-events: none;
  background: transparent;
}
.container input[type="button"]{
  height: 65px;
  color: #fff;
  width: calc(100% / 4 - 5px);
  background: transparent;
  border-radius: 12px;
  margin-top: 15px;
  outline: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.container input[type="button"]:hover{
  background: rgba(255, 255, 255, 0.1);
}```




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

&lt;/div&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
      <category>tutorial</category>
      <category>css</category>
    </item>
  </channel>
</rss>
