<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Codewithrandom on Medium]]></title>
        <description><![CDATA[Stories by Codewithrandom on Medium]]></description>
        <link>https://medium.com/@codewithrandom2?source=rss-bd74913ace99------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*i5o4qINgoW0Yfl6yHfMdyQ.jpeg</url>
            <title>Stories by Codewithrandom on Medium</title>
            <link>https://medium.com/@codewithrandom2?source=rss-bd74913ace99------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:13:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@codewithrandom2/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Simple Footer Using HTML and CSS | Responsive Footer Html CSS]]></title>
            <link>https://medium.com/@codewithrandom2/simple-footer-using-html-and-css-responsive-footer-html-css-e3e04c313623?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3e04c313623</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Mon, 09 May 2022 17:32:04 GMT</pubDate>
            <atom:updated>2022-05-09T17:32:04.638Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.codewithrandom.com/2022/05/simple-footer-using-html-and-css.html">Simple Footer Using HTML and CSS | Responsive Footer Html Css</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*nYH38jKhAy8c22UDwc4N7A.jpeg" /></figure><p>Learners, In this article we are going to design a section of the webpage that is an interactive, and impressive project which is a Simple footer</p><p><strong>HTML SECTION</strong></p><p>Here I’m not going to add a structure of the HTML file from scratch, I will just paste the body part, it is so because the body is the main part of our designing a browser.</p><p>We have the following part in the HTML section.</p><ul><li>First, we have a footer that will enclose all other parts of the comment section.</li><li>Then we have three columns then we have an hr and below the hr, there is a copyright message and social link.</li></ul><p>Go through the below code 👇 and run it in your IDE or where you used to design just HTML without CSS styling.</p><p>&lt;!DOCTYPE html&gt;</p><p>&lt;html&gt;</p><p>&lt;head&gt;</p><p>&lt;title&gt;How to Create Responsive Footer in Html CSS and Bootstrap Create Professional Footer &lt;/title&gt;</p><p>&lt;meta name=”viewport” content=”width=device-width, initial-scale=1.0&quot;&gt;</p><p>&lt;link rel=”stylesheet” href=”https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css&quot; integrity=”sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO” crossorigin=”anonymous”&gt; <a href="https://www.codewithrandom.com/2022/05/simple-footer-using-html-and-css.html">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3e04c313623" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple weather API Project Javascript | Weather App Javascript]]></title>
            <link>https://medium.com/@codewithrandom2/simple-weather-api-project-javascript-weather-app-javascript-cfea04efdc1?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfea04efdc1</guid>
            <category><![CDATA[website]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Mon, 09 May 2022 03:31:06 GMT</pubDate>
            <atom:updated>2022-05-09T03:31:06.816Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.codewithrandom.com/2022/05/simple-weather-api-project.html">Simple weather API Project Javascript | Weather App Javascript</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*fcomrOi-snJnUV9fY9OEIg.png" /></figure><p>Learners, In this article we are going to design a very important and impressive project which is <strong>Simple weather API Project in Javascript</strong> with detailed functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*EdHhG4UEWbPfdhtj2cbnEw.jpeg" /></figure><p>HTML code:</p><pre>&lt;div class=&quot;container&quot;&gt;  <br>  &lt;div class=&quot;title&quot;&gt;  <br>   &lt;h1 id=&quot;city&quot;&gt;&lt;/h1&gt;  <br>   &lt;div id=&quot;graphic&quot; class=&quot;weather-icon&quot;&gt;&lt;/div&gt;  <br>   &lt;div id=&quot;description&quot; class=&#39;important-info text&#39;&gt;&lt;/div&gt;  <br>   &lt;div id=&quot;farenheit&quot; class=&quot;temp-info&quot;&gt;&lt;/div&gt;  <br>   &lt;div id=&quot;celsius&quot; class=&quot;temp-info&quot;&gt;&lt;/div&gt;  <br>  &lt;/div&gt;  <br> &lt;/div&gt;  <br> &lt;div class=&quot;description-container&quot;&gt;  <br>  &lt;div class=&quot;block-1&quot;&gt;  <br>   &lt;div class=&quot;text&quot;&gt;  <br>    &lt;span&gt;Max&lt;/span&gt;  <br>    &lt;span id=&quot;max&quot; class=&quot;important-info&quot;&gt; &lt;/span&gt;  <br>   &lt;/div&gt;  <br>   &lt;div class=&quot;text&quot;&gt;  <br>    &lt;span&gt;Min&lt;/span&gt;  <br>   &lt;span id=&quot;min&quot; class=&#39;important-info&#39;&gt; &lt;/span&gt;  <br>   &lt;/div&gt;  <br>  &lt;/div&gt;  <br>  &lt;div class=&quot;block-2&quot;&gt;  <br>   &lt;div id=&quot;longitude&quot; class=&quot; text important-info&quot;&gt;Lon: &lt;/div&gt;  <br>   &lt;div id=&quot;latitude&quot; class=&quot;text important-info&quot;&gt;Lat: &lt;/div&gt;  <br>  &lt;/div&gt;  <br>  &lt;div class=&quot;block-3&quot;&gt;  <br>   &lt;div id=&quot;humidity&quot; class=&quot;text important-info&quot;&gt;Humidity: &lt;/div&gt;  <br>   &lt;div id=&quot;pressure&quot; class=&quot;text important-info&quot;&gt;Pressure: &lt;/div&gt;  <br>   &lt;div id=&quot;windSpeed&quot; class=&quot;text important-info&quot;&gt;Winds: &lt;/div&gt;  <br>  &lt;/div&gt;  <br> &lt;/div&gt;  <br> &lt;div class=&quot;container-button&quot;&gt;  <br>    &lt;div class=&quot;switch-button&quot;&gt;  <br>     &lt;span class=&quot;active&quot;&gt;&lt;/span&gt;  <br>     &lt;button class=&quot;text switch-button-case left active-case&quot;&gt;Celsius&lt;/button&gt;  <br>     &lt;button class=&quot;text switch-button-case right&quot;&gt;Farenheit&lt;/button&gt;  <br>    &lt;/div&gt;  <br> &lt;/div&gt; <a href="https://www.codewithrandom.com/2022/05/simple-weather-api-project.html">read more </a></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfea04efdc1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Popup Registration Form Javascript | Create A Popup Form In Html]]></title>
            <link>https://medium.com/@codewithrandom2/popup-registration-form-javascript-create-a-popup-form-in-html-d4417d2d78ff?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4417d2d78ff</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Sun, 08 May 2022 06:40:25 GMT</pubDate>
            <atom:updated>2022-05-08T06:40:25.462Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.codewithrandom.com/2022/05/popup-registration-form-javascript.html">Popup Registration Form Javascript | Create A Popup Form In Html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*5F7AWtZkkVnjoI5WdVurBg.png" /></figure><p>In this blog, we learn how we create Popup Registration Form Javascript. We use HTML, Css, and javascript for this Popup Registration Form Javascript. I hope you enjoy our blog so let’s start with a basic HTML structure for the Popup Registration Form Javascript.</p><h3>HTML Code</h3><pre>&lt;script src=&quot;https://kit.fontawesome.com/f9275dded9.js&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;  <br> &lt;!--Trigger--&gt;  <br> &lt;a class=&quot;login-trigger&quot; href=&quot;#&quot; data-target=&quot;#login&quot; data-toggle=&quot;modal&quot;&gt;Login/Register&lt;/a&gt;  <br> &lt;div id=&quot;login&quot; class=&quot;modal fade&quot; role=&quot;dialog&quot;&gt;  <br>  &lt;div class=&quot;modal-dialog&quot;&gt;  <br>   &lt;div class=&quot;modal-content&quot;&gt;  <br>    &lt;div class=&quot;modal-body&quot;&gt;  <br>     &lt;button data-dismiss=&quot;modal&quot; class=&quot;close&quot;&gt;&amp;times;&lt;/button&gt;  <br>     &lt;div class=&quot;container&quot; id=&quot;container&quot;&gt; <a href="https://www.codewithrandom.com/2022/05/popup-registration-form-javascript.html">read more</a>   <br>                               </pre><p><a href="https://www.codewithrandom.com/2022/05/popup-registration-form-javascript.html">read full article here </a>: <a href="https://www.codewithrandom.com/2022/05/popup-registration-form-javascript.html">https://www.codewithrandom.com/2022/05/popup-registration-form-javascript.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4417d2d78ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create a Navbar | Creating Navbar using HTML, CSS & JavaScript]]></title>
            <link>https://medium.com/@codewithrandom2/how-to-create-a-navbar-creating-navbar-using-html-css-javascript-c406376f41e8?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/c406376f41e8</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Sat, 07 May 2022 13:04:04 GMT</pubDate>
            <atom:updated>2022-05-07T13:04:04.046Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.codewithrandom.com/2022/05/How-to-Create-a-Navbar.html">https://www.codewithrandom.com/2022/05/How-to-Create-a-Navbar.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7rwBg217TvaG31h68xAFdw.png" /></figure><h3>Introduction:</h3><p>Hello coders, welcome to codewithrandom. Today we’ll look how to create a <strong>Navigation Bar</strong> or <strong>Navbar</strong> with the help of HTML, CSS and JavaScript. We as a Front-End Developer has a this tool named HTML, CSS &amp; JavaScript. Through it we can make it creative and grab the attention of user interface. Before going to the code part let’s see what is Navbar.</p><h3>What is Navbar?</h3><h4>A Navigation Bar or Navbar is an element in the webpage or website. It contains links which redirect the user interface from one page to another. The &lt;nav&gt; tag wraps all the primary bars i.e., the main navigation of the website. It can be either vertical or horizontal.<br>Let us see the coding part of the Navbar.</h4><h3>HTML Code:</h3><pre>&lt;div class=&quot;navbar&quot;&gt;  <br>  &lt;div class=&quot;logo&quot;&gt;  <br>   &lt;h1&gt;Codewithrandom&lt;/h1&gt;  <br>  &lt;/div&gt;  <br>  &lt;div class=&quot;nav__links&quot;&gt;  <br>   &lt;a href=&quot;#home&quot; class=&quot;active nav__link&quot;&gt;Home&lt;/a&gt;  <br>   &lt;a href=&quot;#about&quot; class=&quot;nav__link&quot;&gt;About&lt;/a&gt;  <br>   &lt;a href=&quot;#contact&quot; class=&quot;nav__link&quot;&gt;Contact&lt;/a&gt;  <br>  &lt;/div&gt;  <br> &lt;/div&gt;  <br> &lt;div id=&quot;home&quot; class=&quot;section&quot;&gt;  <br>  &lt;h1&gt;Home&lt;/h1&gt;  <br> &lt;/div&gt;  <br> &lt;div id=&quot;about&quot; class=&quot;section&quot;&gt;  <br>  &lt;h1&gt;About&lt;/h1&gt;  <br> &lt;/div&gt;  <br> &lt;div id=&quot;contact&quot; class=&quot;section&quot;&gt;  <br>  &lt;h1&gt;Contact&lt;/h1&gt;  <br> &lt;/div&gt;  <br> &lt;script src=&quot;main.js&quot;&gt;&lt;/script&gt;</pre><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*82s_gQIxlQwMXPNQuweZCA.png" /></figure><p>In this Output we have just code the HTML part and this how it looks like and let us write the CSS for navbar to look attractive.</p><h3>CSS Code:</h3><pre>@import url(https://medium.com/&quot;https://fonts.googleapis.com/css2?family=Poppins:wght@500&amp;display=swap&quot;);  <br> * {  <br>  padding: 0;  <br>  margin: 0;  <br>  box-sizing: border-box;  <br>  font-family: &quot;Poppins&quot;, sans-serif;<br><a href="https://www.codewithrandom.com/2022/05/How-to-Create-a-Navbar.html">read more </a></pre><p>Read full article here <a href="https://www.codewithrandom.com/2022/05/How-to-Create-a-Navbar.html">https://www.codewithrandom.com/2022/05/How-to-Create-a-Navbar.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c406376f41e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dictionary App using Javascript]]></title>
            <link>https://medium.com/@codewithrandom2/dictionary-app-using-javascript-297547c64942?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/297547c64942</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Sun, 02 Jan 2022 18:47:53 GMT</pubDate>
            <atom:updated>2022-01-02T18:50:43.244Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LxFoi2nkNNthTECE1i6Zig.png" /></figure><p><a href="https://www.codewithrandom.com/2021/12/dictionary-app-using-javascript.html">Read the original article here</a> or continue below</p><p>Hey, friends today we will see how to make this super interesting dictionary app. The demo video is at the bottom of the page.</p><p>Now first let’s see the general method to use this project. When the page is loaded, you can enter any word and if it’s available, the definition will pop-up. Sometimes, an example sentence would come too.</p><p>Now let’s see the source codes:</p><p><strong>HTML Codes</strong></p><p>&lt;div class=”wrapper”&gt;</p><p>&lt;header&gt;English Dictionary&lt;/header&gt;</p><p>&lt;div class=”search”&gt;</p><p>&lt;input type=”text” placeholder=”Search a word” required spellcheck=”false”&gt;</p><p>&lt;i class=”fas fa-search”&gt;&lt;/i&gt;</p><p>&lt;span class=”material-icons”&gt;close&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;p class=”info-text”&gt;Type any existing word and press enter to get meaning, example, synonyms, etc.&lt;/p&gt;</p><p>&lt;ul&gt;</p><p>&lt;li class=”word”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;__&lt;/p&gt;</p><p>&lt;span&gt;_ _&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;i class=”fas fa-volume-up”&gt;&lt;/i&gt;</p><p>&lt;/li&gt;</p><p>&lt;div class=”content”&gt;</p><p>&lt;li class=”meaning”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;Meaning&lt;/p&gt;</p><p>&lt;span&gt;___&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;/li&gt;</p><p>&lt;li class=”example”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;Example&lt;/p&gt;</p><p>&lt;span&gt;___&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;/li&gt;</p><p>&lt;li class=”synonyms”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;Synonyms&lt;/p&gt;</p><p>&lt;div class=”list”&gt;&lt;/div&gt;</p><p>&lt;/div&gt;</p><p>&lt;/li&gt;</p><p>&lt;/div&gt;</p><p>&lt;/ul&gt;</p><p>&lt;/div&gt;</p><p><strong>The output would be:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*ANgZeI4xyg9_9vuQ2G9KoQ.png" /></figure><p><strong>CSS Codes</strong></p><p>@import url(https://medium.com/%E2%80%98https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&amp;display=swap&#39;);</p><p>*{</p><p>margin: 0;</p><p>padding: 0;</p><p>box-sizing: border-box;</p><p>font-family: ‘Poppins’, sans-serif;</p><p>}</p><p>body{</p><p>display: flex;</p><p>align-items: center;</p><p>justify-content: center;</p><p>min-height: 100vh;</p><p>background: cyan;</p><p>}</p><p>::selection{</p><p>color: #fff;</p><p>background: cyan;</p><p>}</p><p>.wrapper{</p><p>width: 420px;</p><p>border-radius: 7px;</p><p>background: #fff;</p><p>padding: 25px 28px 45px;</p><p>box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.05);</p><p>}</p><p>.wrapper header{</p><p>font-size: 28px;</p><p>font-weight: 500;</p><p>text-align: center;</p><p>}</p><p>.wrapper .search{</p><p>position: relative;</p><p>margin: 35px 0 18px;</p><p>}</p><p>.search input{</p><p>height: 53px;</p><p>width: 100%;</p><p>outline: none;</p><p>font-size: 16px;</p><p>border-radius: 5px;</p><p>padding: 0 42px;</p><p>border: 1px solid #999;</p><p>}</p><p>.search input:focus{</p><p>padding: 0 41px;</p><p>border: 2px solid cyan;</p><p>}</p><p>.search input::placeholder{</p><p>color: #B8B8B8;</p><p>}</p><p>.search :where(i, span){</p><p>position: absolute;</p><p>top: 50%;</p><p>color: #999;</p><p>transform: translateY(-50%);</p><p>}</p><p>.search i{</p><p>left: 18px;</p><p>pointer-events: none;</p><p>font-size: 16px;</p><p>}</p><p>.search input:focus ~ i{</p><p>color: cyan;</p><p>}</p><p>.search span{</p><p>right: 15px;</p><p>cursor: pointer;</p><p>font-size: 18px;</p><p>display: none;</p><p>}</p><p>.search input:valid ~ span{</p><p>display: block;</p><p>}</p><p>.wrapper .info-text{</p><p>font-size: 13px;</p><p>color: #9A9A9A;</p><p>margin: -3px 0 -10px;</p><p>}</p><p>.wrapper.active .info-text{</p><p>display: none;</p><p>}</p><p>.info-text span{</p><p>font-weight: 500;</p><p>}</p><p>.wrapper ul{</p><p>height: 0;</p><p>opacity: 0;</p><p>padding-right: 1px;</p><p>overflow-y: hidden;</p><p>transition: all 0.2s ease;</p><p>}</p><p>.wrapper.active ul{</p><p>opacity: 1;</p><p>height: 303px;</p><p>}</p><p>.wrapper ul li{</p><p>display: flex;</p><p>list-style: none;</p><p>margin-bottom: 14px;</p><p>align-items: center;</p><p>padding-bottom: 17px;</p><p>border-bottom: 1px solid #D9D9D9;</p><p>justify-content: space-between;</p><p>}</p><p>ul li:last-child{</p><p>margin-bottom: 0;</p><p>border-bottom: 0;</p><p>padding-bottom: 0;</p><p>}</p><p>ul .word p{</p><p>font-size: 22px;</p><p>font-weight: 500;</p><p>}</p><p>ul .word span{</p><p>font-size: 12px;</p><p>color: #989898;</p><p>}</p><p>ul .word i{</p><p>color: #999;</p><p>font-size: 15px;</p><p>cursor: pointer;</p><p>}</p><p>ul .content{</p><p>max-height: 215px;</p><p>overflow-y: auto;</p><p>}</p><p>ul .content::-webkit-scrollbar{</p><p>width: 0px;</p><p>}</p><p>.content li .details{</p><p>padding-left: 10px;</p><p>border-radius: 4px 0 0 4px;</p><p>border-left: 3px solid cyan;</p><p>}</p><p>.content li p{</p><p>font-size: 17px;</p><p>font-weight: 500;</p><p>}</p><p>.content li span{</p><p>font-size: 15px;</p><p>color: #7E7E7E;</p><p>}</p><p>.content .synonyms .list{</p><p>display: flex;</p><p>flex-wrap: wrap;</p><p>}</p><p>.content .synonyms span{</p><p>cursor: pointer;</p><p>margin-right: 5px;</p><p>text-decoration: underline;</p><p>}</p><p>Now we add JavaScript for functionality.</p><p><strong>JavaScript Codes</strong></p><p>const wrapper = document.querySelector(“.wrapper”),</p><p>searchInput = wrapper.querySelector(“input”),</p><p>volume = wrapper.querySelector(“.word i”),</p><p>infoText = wrapper.querySelector(“.info-text”),</p><p>synonyms = wrapper.querySelector(“.synonyms .list”),</p><p>removeIcon = wrapper.querySelector(“.search span”);</p><p>let audio;</p><p>function data(result, word){</p><p>if(result.title){</p><p>infoText.innerHTML = `Can’t find the meaning of &lt;span&gt;”${word}”&lt;/span&gt;. Please, try to search for another word.`;</p><p>}else{</p><p>wrapper.classList.add(“active”);</p><p>let definitions = result[0].meanings[0].definitions[0],</p><p>phontetics = `${result[0].meanings[0].partOfSpeech} /${result[0].phonetics[0].text}/`;</p><p>document.querySelector(“.word p”).innerText = result[0].word;</p><p>document.querySelector(“.word span”).innerText = phontetics;</p><p>document.querySelector(“.meaning span”).innerText = definitions.definition;</p><p>document.querySelector(“.example span”).innerText = definitions.example;</p><p>audio = new Audio(“https:” + result[0].phonetics[0].audio);</p><p>if(definitions.synonyms[0] == undefined){</p><p>synonyms.parentElement.style.display = “none”;</p><p>}else{</p><p>synonyms.parentElement.style.display = “block”;</p><p>synonyms.innerHTML = “”;</p><p>for (let i = 0; i &lt; 5; i++) {</p><p>let tag = `&lt;span onclick=”search(‘${definitions.synonyms[i]}’)”&gt;${definitions.synonyms[i]},&lt;/span&gt;`;</p><p>tag = i == 4 ? tag = `&lt;span onclick=”search(‘${definitions.synonyms[i]}’)”&gt;${definitions.synonyms[4]}&lt;/span&gt;` : tag;</p><p>synonyms.insertAdjacentHTML(“beforeend”, tag);</p><p>}</p><p>}</p><p>}</p><p>}</p><p>function search(word){</p><p>fetchApi(word);</p><p>searchInput.value = word;</p><p>}</p><p>function fetchApi(word){</p><p>wrapper.classList.remove(“active”);</p><p>infoText.style.color = “#000”;</p><p>infoText.innerHTML = `Searching the meaning of &lt;span&gt;”${word}”&lt;/span&gt;`;</p><p>let url = `https://api.dictionaryapi.dev/api/v2/entries/en/${word}`;</p><p>fetch(url).then(response =&gt; response.json()).then(result =&gt; data(result, word)).catch(() =&gt;{</p><p>infoText.innerHTML = `Can’t find the meaning of &lt;span&gt;”${word}”&lt;/span&gt;. Please, try to search for another word.`;</p><p>});</p><p>}</p><p>searchInput.addEventListener(“keyup”, e =&gt;{</p><p>let word = e.target.value.replace(/\s+/g, ‘ ‘);</p><p>if(e.key == “Enter” &amp;&amp; word){</p><p>fetchApi(word);</p><p>}</p><p>});</p><p>volume.addEventListener(“click”, ()=&gt;{</p><p>volume.style.color = “#4D59FB”;</p><p>audio.play();</p><p>setTimeout(() =&gt;{</p><p>volume.style.color = “#999”;</p><p>}, 800);</p><p>});</p><p>removeIcon.addEventListener(“click”, ()=&gt;{</p><p>searchInput.value = “”;</p><p>searchInput.focus();</p><p>wrapper.classList.remove(“active”);</p><p>infoText.style.color = “#9A9A9A”;</p><p>infoText.innerHTML = “Type any existing word and press enter to get meaning, example, synonyms, etc.”;</p><p>});</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*N4lSv9DryGD2FqVpxykJZA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=297547c64942" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Log In / Sign Up using css]]></title>
            <link>https://medium.com/@codewithrandom2/log-in-sign-up-using-css-a626b3f73320?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/a626b3f73320</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Sat, 01 Jan 2022 17:40:00 GMT</pubDate>
            <atom:updated>2022-01-01T17:40:00.311Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLUe2Vdvo2ZrlkFlNVeT6w.png" /></figure><p><a href="https://www.codewithrandom.com/2021/12/log-in-sign-up-using-css-sign-up-login.html">Read the original article from here </a>or continue below</p><p>Welcome to Code With Random blog. In this blog, we are going to learn that how to create a login / Sign Up. We are going to use HTML &amp; CSS for Log In / Sign Up. Hope you will enjoy our blog so let’s start with a basic HTML structure for the login / Sign Up.</p><h3>HTML code</h3><pre>&lt;!DOCTYPE html&gt;  <br> &lt;html lang=&quot;en&quot;&gt;  <br>  &lt;head&gt;  <br>   &lt;meta charset=&quot;UTF-8&quot; /&gt;  <br>   &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot; /&gt;  <br>   &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot; /&gt;  <br>   &lt;title&gt;Log In / Sign Up &lt;/title&gt;  <br>   &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot;&gt;  <br>  &lt;/head&gt;  <br>  &lt;body&gt;  <br>   &lt;div class=&quot;section&quot;&gt;  <br>    &lt;div class=&quot;container&quot;&gt;  <br>     &lt;div class=&quot;row full-height justify-content-center&quot;&gt;  <br>      &lt;div class=&quot;col-12 text-center align-self-center py-5&quot;&gt;  <br>       &lt;div class=&quot;section pb-5 pt-5 pt-sm-2 text-center&quot;&gt;  <br>        &lt;h6 class=&quot;mb-0 pb-3&quot;&gt;&lt;span&gt;Log In &lt;/span&gt;&lt;span&gt;Sign Up&lt;/span&gt;&lt;/h6&gt;  <br>           &lt;input class=&quot;checkbox&quot; type=&quot;checkbox&quot; id=&quot;reg-log&quot; name=&quot;reg-log&quot;/&gt;  <br>           &lt;label for=&quot;reg-log&quot;&gt;&lt;/label&gt;  <br>        &lt;div class=&quot;card-3d-wrap mx-auto&quot;&gt;  <br>         &lt;div class=&quot;card-3d-wrapper&quot;&gt;  <br>          &lt;div class=&quot;card-front&quot;&gt;  <br>           &lt;div class=&quot;center-wrap&quot;&gt;  <br>            &lt;div class=&quot;section text-center&quot;&gt;  <br>             &lt;h4 class=&quot;mb-4 pb-3&quot;&gt;Log In&lt;/h4&gt;  <br>             &lt;div class=&quot;form-group&quot;&gt;  <br>              &lt;input type=&quot;email&quot; name=&quot;logemail&quot; class=&quot;form-style&quot; placeholder=&quot;Your Email&quot; id=&quot;logemail&quot; autocomplete=&quot;off&quot;&gt;  <br>              &lt;i class=&quot;input-icon uil uil-at&quot;&gt;&lt;/i&gt;  <br>             &lt;/div&gt;       <br>             &lt;div class=&quot;form-group mt-2&quot;&gt;  <br>              &lt;input type=&quot;password&quot; name=&quot;logpass&quot; class=&quot;form-style&quot; placeholder=&quot;Your Password&quot; id=&quot;logpass&quot; autocomplete=&quot;off&quot;&gt;  <br>              &lt;i class=&quot;input-icon uil uil-lock-alt&quot;&gt;&lt;/i&gt;  <br>             &lt;/div&gt;  <br>             &lt;a href=&quot;#&quot; class=&quot;btn mt-4&quot;&gt;submit&lt;/a&gt;  <br>                    &lt;p class=&quot;mb-0 mt-4 text-center&quot;&gt;&lt;a href=&quot;#0&quot; class=&quot;link&quot;&gt;Forgot your password?&lt;/a&gt;&lt;/p&gt;  <br>              &lt;/div&gt;  <br>             &lt;/div&gt;  <br>            &lt;/div&gt;  <br>          &lt;div class=&quot;card-back&quot;&gt;  <br>           &lt;div class=&quot;center-wrap&quot;&gt;  <br>            &lt;div class=&quot;section text-center&quot;&gt;  <br>             &lt;h4 class=&quot;mb-4 pb-3&quot;&gt;Sign Up&lt;/h4&gt;  <br>             &lt;div class=&quot;form-group&quot;&gt;  <br>              &lt;input type=&quot;text&quot; name=&quot;logname&quot; class=&quot;form-style&quot; placeholder=&quot;Your Full Name&quot; id=&quot;logname&quot; autocomplete=&quot;off&quot;&gt;  <br>              &lt;i class=&quot;input-icon uil uil-user&quot;&gt;&lt;/i&gt;  <br>             &lt;/div&gt;       <br>             &lt;div class=&quot;form-group mt-2&quot;&gt;  <br>              &lt;input type=&quot;email&quot; name=&quot;logemail&quot; class=&quot;form-style&quot; placeholder=&quot;Your Email&quot; id=&quot;logemail&quot; autocomplete=&quot;off&quot;&gt;  <br>              &lt;i class=&quot;input-icon uil uil-at&quot;&gt;&lt;/i&gt;  <br>             &lt;/div&gt;       <br>             &lt;div class=&quot;form-group mt-2&quot;&gt;  <br>              &lt;input type=&quot;password&quot; name=&quot;logpass&quot; class=&quot;form-style&quot; placeholder=&quot;Your Password&quot; id=&quot;logpass&quot; autocomplete=&quot;off&quot;&gt;  <br>              &lt;i class=&quot;input-icon uil uil-lock-alt&quot;&gt;&lt;/i&gt;  <br>             &lt;/div&gt;  <br>             &lt;a href=&quot;#&quot; class=&quot;btn mt-4&quot;&gt;submit&lt;/a&gt;  <br>              &lt;/div&gt;  <br>             &lt;/div&gt;  <br>            &lt;/div&gt;  <br>           &lt;/div&gt;  <br>          &lt;/div&gt;  <br>         &lt;/div&gt;  <br>        &lt;/div&gt;  <br>       &lt;/div&gt;  <br>     &lt;/div&gt;  <br>   &lt;/div&gt;  <br>  &lt;/body&gt;  <br> &lt;/html&gt;</pre><p>There is all HTML code for the profile card. Now, you can see output without CSS, then we write CSS for the profile card.</p><p>Output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*ziUqOZ2_qb0svEy1I1AFiw.png" /></figure><h3>CSS code</h3><pre>@import url(https://medium.com/&#39;https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&#39;);  <br> @import url(https://medium.com/&#39;https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css&#39;);  <br> @import url(https://medium.com/&#39;https://unicons.iconscout.com/release/v2.1.9/css/unicons.css&#39;);  <br> body{  <br>      font-family: &#39;Poppins&#39;, sans-serif;  <br>      font-weight: 300;  <br>      font-size: 15px;  <br>      line-height: 1.7;  <br>      color: #c4c3ca;  <br>      background-color: #1f2029;  <br>      overflow-x: hidden;  <br> }  <br> a {  <br>      cursor: pointer;  <br>  transition: all 200ms linear;  <br> }  <br> a:hover {  <br>      text-decoration: none;  <br> }  <br> .link {  <br>  color: #c4c3ca;  <br> }  <br> .link:hover {  <br>  color: #ffeba7;  <br> }  <br> p {  <br>  font-weight: 500;  <br>  font-size: 14px;  <br>  line-height: 1.7;  <br> }  <br> h4 {  <br>  font-weight: 600;  <br> }  <br> h6 span{  <br>  padding: 0 20px;  <br>  text-transform: uppercase;  <br>  font-weight: 700;  <br> }  <br> .section{  <br>  position: relative;  <br>  width: 100%;  <br>  display: block;  <br> }  <br> .full-height{  <br>  min-height: 100vh;  <br> }  <br> [type=&quot;checkbox&quot;]:checked,  <br> [type=&quot;checkbox&quot;]:not(:checked){  <br>  position: absolute;  <br>  left: -9999px;  <br> }  <br> .checkbox:checked + label,  <br> .checkbox:not(:checked) + label{  <br>  position: relative;  <br>  display: block;  <br>  text-align: center;  <br>  width: 60px;  <br>  height: 16px;  <br>  border-radius: 8px;  <br>  padding: 0;  <br>  margin: 10px auto;  <br>  cursor: pointer;  <br>  background-color: #ffeba7;  <br> }  <br> .checkbox:checked + label:before,  <br> .checkbox:not(:checked) + label:before{  <br>  position: absolute;  <br>  display: block;  <br>  width: 36px;  <br>  height: 36px;  <br>  border-radius: 50%;  <br>  color: #ffeba7;  <br>  background-color: #102770;  <br>  font-family: &#39;unicons&#39;;  <br>  content: &#39;\eb4f&#39;;  <br>  z-index: 20;  <br>  top: -10px;  <br>  left: -10px;  <br>  line-height: 36px;  <br>  text-align: center;  <br>  font-size: 24px;  <br>  transition: all 0.5s ease;  <br> }  <br> .checkbox:checked + label:before {  <br>  transform: translateX(44px) rotate(-270deg);  <br> }  <br> .card-3d-wrap {  <br>  position: relative;  <br>  width: 440px;  <br>  max-width: 100%;  <br>  height: 400px;  <br>  -webkit-transform-style: preserve-3d;  <br>  transform-style: preserve-3d;  <br>  perspective: 800px;  <br>  margin-top: 60px;  <br> }  <br> .card-3d-wrapper {  <br>  width: 100%;  <br>  height: 100%;  <br>  position:absolute;    <br>  top: 0;  <br>  left: 0;   <br>  -webkit-transform-style: preserve-3d;  <br>  transform-style: preserve-3d;  <br>  transition: all 600ms ease-out;   <br> }  <br> .card-front, .card-back {  <br>  width: 100%;  <br>  height: 100%;  <br>  background-color: #2a2b38;  <br>  background-image: url(https://medium.com/&#39;https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg&#39;);  <br>  background-position: bottom center;  <br>  background-repeat: no-repeat;  <br>  background-size: 300%;  <br>  position: absolute;  <br>  border-radius: 6px;  <br>  left: 0;  <br>  top: 0;  <br>  -webkit-transform-style: preserve-3d;  <br>  transform-style: preserve-3d;  <br>  -webkit-backface-visibility: hidden;  <br>  -moz-backface-visibility: hidden;  <br>  -o-backface-visibility: hidden;  <br>  backface-visibility: hidden;  <br> }  <br> .card-back {  <br>  transform: rotateY(180deg);  <br> }  <br> .checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {  <br>  transform: rotateY(180deg);  <br> }  <br> .center-wrap{  <br>  position: absolute;  <br>  width: 100%;  <br>  padding: 0 35px;  <br>  top: 50%;  <br>  left: 0;  <br>  transform: translate3d(0, -50%, 35px) perspective(100px);  <br>  z-index: 20;  <br>  display: block;  <br> }  <br> .form-group{   <br>  position: relative;  <br>  display: block;  <br>   margin: 0;  <br>   padding: 0;  <br> }  <br> .form-style {  <br>  padding: 13px 20px;  <br>  padding-left: 55px;  <br>  height: 48px;  <br>  width: 100%;  <br>  font-weight: 500;  <br>  border-radius: 4px;  <br>  font-size: 14px;  <br>  line-height: 22px;  <br>  letter-spacing: 0.5px;  <br>  outline: none;  <br>  color: #c4c3ca;  <br>  background-color: #1f2029;  <br>  border: none;  <br>  -webkit-transition: all 200ms linear;  <br>  transition: all 200ms linear;  <br>  box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);  <br> }  <br> .form-style:focus,  <br> .form-style:active {  <br>  border: none;  <br>  outline: none;  <br>  box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);  <br> }  <br> .input-icon {  <br>  position: absolute;  <br>  top: 0;  <br>  left: 18px;  <br>  height: 48px;  <br>  font-size: 24px;  <br>  line-height: 48px;  <br>  text-align: left;  <br>  color: #ffeba7;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input:-ms-input-placeholder {  <br>  color: #c4c3ca;  <br>  opacity: 0.7;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input::-moz-placeholder {  <br>  color: #c4c3ca;  <br>  opacity: 0.7;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input:-moz-placeholder {  <br>  color: #c4c3ca;  <br>  opacity: 0.7;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input::-webkit-input-placeholder {  <br>  color: #c4c3ca;  <br>  opacity: 0.7;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input:focus:-ms-input-placeholder {  <br>  opacity: 0;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input:focus::-moz-placeholder {  <br>  opacity: 0;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input:focus:-moz-placeholder {  <br>  opacity: 0;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .form-group input:focus::-webkit-input-placeholder {  <br>  opacity: 0;  <br>  -webkit-transition: all 200ms linear;  <br>   transition: all 200ms linear;  <br> }  <br> .btn{   <br>  border-radius: 4px;  <br>  height: 44px;  <br>  font-size: 13px;  <br>  font-weight: 600;  <br>  text-transform: uppercase;  <br>  -webkit-transition : all 200ms linear;  <br>  transition: all 200ms linear;  <br>  padding: 0 30px;  <br>  letter-spacing: 1px;  <br>  display: -webkit-inline-flex;  <br>  display: -ms-inline-flexbox;  <br>  display: inline-flex;  <br>  -webkit-align-items: center;  <br>  -moz-align-items: center;  <br>  -ms-align-items: center;  <br>  align-items: center;  <br>  -webkit-justify-content: center;  <br>  -moz-justify-content: center;  <br>  -ms-justify-content: center;  <br>  justify-content: center;  <br>  -ms-flex-pack: center;  <br>  text-align: center;  <br>  border: none;  <br>  background-color: #ffeba7;  <br>  color: #102770;  <br>  box-shadow: 0 8px 24px 0 rgba(255,235,167,.2);  <br> }  <br> .btn:active,  <br> .btn:focus{   <br>  background-color: #102770;  <br>  color: #ffeba7;  <br>  box-shadow: 0 8px 24px 0 rgba(16,39,112,.2);  <br> }  <br> .btn:hover{   <br>  background-color: #102770;  <br>  color: #ffeba7;  <br>  box-shadow: 0 8px 24px 0 rgba(16,39,112,.2);  <br> }</pre><h4>Now we have completed our CSS section, Here is our final updated output CSS.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fRnT9-3UdraibPKSVDtWSQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a626b3f73320" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dictionary App using Javascript]]></title>
            <link>https://medium.com/@codewithrandom2/dictionary-app-using-javascript-ed063aaf40?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed063aaf40</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Fri, 31 Dec 2021 18:28:17 GMT</pubDate>
            <atom:updated>2021-12-31T18:28:17.846Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*GZwHIrAhn51-q_Rs3qxu9g.png" /></figure><p><a href="https://www.codewithrandom.com/2021/12/dictionary-app-using-javascript.html">Read below or visit the original article</a></p><p>Hey, friends today we will see how to make this super interesting dictionary app. The demo video is at the bottom of the page.</p><p>Now first let’s see the general method to use this project. When the page is loaded, you can enter any word and if it’s available, the definition will pop-up. Sometimes, an example sentence would come too.</p><p>Now let’s see the source codes:</p><p><strong>HTML Codes</strong></p><p>&lt;div class=”wrapper”&gt;</p><p>&lt;header&gt;English Dictionary&lt;/header&gt;</p><p>&lt;div class=”search”&gt;</p><p>&lt;input type=”text” placeholder=”Search a word” required spellcheck=”false”&gt;</p><p>&lt;i class=”fas fa-search”&gt;&lt;/i&gt;</p><p>&lt;span class=”material-icons”&gt;close&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;p class=”info-text”&gt;Type any existing word and press enter to get meaning, example, synonyms, etc.&lt;/p&gt;</p><p>&lt;ul&gt;</p><p>&lt;li class=”word”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;__&lt;/p&gt;</p><p>&lt;span&gt;_ _&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;i class=”fas fa-volume-up”&gt;&lt;/i&gt;</p><p>&lt;/li&gt;</p><p>&lt;div class=”content”&gt;</p><p>&lt;li class=”meaning”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;Meaning&lt;/p&gt;</p><p>&lt;span&gt;___&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;/li&gt;</p><p>&lt;li class=”example”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;Example&lt;/p&gt;</p><p>&lt;span&gt;___&lt;/span&gt;</p><p>&lt;/div&gt;</p><p>&lt;/li&gt;</p><p>&lt;li class=”synonyms”&gt;</p><p>&lt;div class=”details”&gt;</p><p>&lt;p&gt;Synonyms&lt;/p&gt;</p><p>&lt;div class=”list”&gt;&lt;/div&gt;</p><p>&lt;/div&gt;</p><p>&lt;/li&gt;</p><p>&lt;/div&gt;</p><p>&lt;/ul&gt;</p><p>&lt;/div&gt;</p><p><strong>CSS Codes</strong></p><p>@import url(https://medium.com/%E2%80%98https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&amp;display=swap&#39;);</p><p>*{</p><p>margin: 0;</p><p>padding: 0;</p><p>box-sizing: border-box;</p><p>font-family: ‘Poppins’, sans-serif;</p><p>}</p><p>body{</p><p>display: flex;</p><p>align-items: center;</p><p>justify-content: center;</p><p>min-height: 100vh;</p><p>background: cyan;</p><p>}</p><p>::selection{</p><p>color: #fff;</p><p>background: cyan;</p><p>}</p><p>.wrapper{</p><p>width: 420px;</p><p>border-radius: 7px;</p><p>background: #fff;</p><p>padding: 25px 28px 45px;</p><p>box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.05);</p><p>}</p><p>.wrapper header{</p><p>font-size: 28px;</p><p>font-weight: 500;</p><p>text-align: center;</p><p>}</p><p>.wrapper .search{</p><p>position: relative;</p><p>margin: 35px 0 18px;</p><p>}</p><p>.search input{</p><p>height: 53px;</p><p>width: 100%;</p><p>outline: none;</p><p>font-size: 16px;</p><p>border-radius: 5px;</p><p>padding: 0 42px;</p><p>border: 1px solid #999;</p><p>}</p><p>.search input:focus{</p><p>padding: 0 41px;</p><p>border: 2px solid cyan;</p><p>}</p><p>.search input::placeholder{</p><p>color: #B8B8B8;</p><p>}</p><p>.search :where(i, span){</p><p>position: absolute;</p><p>top: 50%;</p><p>color: #999;</p><p>transform: translateY(-50%);</p><p>}</p><p>.search i{</p><p>left: 18px;</p><p>pointer-events: none;</p><p>font-size: 16px;</p><p>}</p><p>.search input:focus ~ i{</p><p>color: cyan;</p><p>}</p><p>.search span{</p><p>right: 15px;</p><p>cursor: pointer;</p><p>font-size: 18px;</p><p>display: none;</p><p>}</p><p>.search input:valid ~ span{</p><p>display: block;</p><p>}</p><p>.wrapper .info-text{</p><p>font-size: 13px;</p><p>color: #9A9A9A;</p><p>margin: -3px 0 -10px;</p><p>}</p><p>.wrapper.active .info-text{</p><p>display: none;</p><p>}</p><p>.info-text span{</p><p>font-weight: 500;</p><p>}</p><p>.wrapper ul{</p><p>height: 0;</p><p>opacity: 0;</p><p>padding-right: 1px;</p><p>overflow-y: hidden;</p><p>transition: all 0.2s ease;</p><p>}</p><p>.wrapper.active ul{</p><p>opacity: 1;</p><p>height: 303px;</p><p>}</p><p>.wrapper ul li{</p><p>display: flex;</p><p>list-style: none;</p><p>margin-bottom: 14px;</p><p>align-items: center;</p><p>padding-bottom: 17px;</p><p>border-bottom: 1px solid #D9D9D9;</p><p>justify-content: space-between;</p><p>}</p><p>ul li:last-child{</p><p>margin-bottom: 0;</p><p>border-bottom: 0;</p><p>padding-bottom: 0;</p><p>}</p><p>ul .word p{</p><p>font-size: 22px;</p><p>font-weight: 500;</p><p>}</p><p>ul .word span{</p><p>font-size: 12px;</p><p>color: #989898;</p><p>}</p><p>ul .word i{</p><p>color: #999;</p><p>font-size: 15px;</p><p>cursor: pointer;</p><p>}</p><p>ul .content{</p><p>max-height: 215px;</p><p>overflow-y: auto;</p><p>}</p><p>ul .content::-webkit-scrollbar{</p><p>width: 0px;</p><p>}</p><p>.content li .details{</p><p>padding-left: 10px;</p><p>border-radius: 4px 0 0 4px;</p><p>border-left: 3px solid cyan;</p><p>}</p><p>.content li p{</p><p>font-size: 17px;</p><p>font-weight: 500;</p><p>}</p><p>.content li span{</p><p>font-size: 15px;</p><p>color: #7E7E7E;</p><p>}</p><p>.content .synonyms .list{</p><p>display: flex;</p><p>flex-wrap: wrap;</p><p>}</p><p>.content .synonyms span{</p><p>cursor: pointer;</p><p>margin-right: 5px;</p><p>text-decoration: underline;</p><p>}</p><p><a href="https://www.codewithrandom.com/2021/12/dictionary-app-using-javascript.html">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed063aaf40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create QR code generator using javascript]]></title>
            <link>https://medium.com/@codewithrandom2/create-qr-code-generator-using-javascript-4ba277129ba7?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ba277129ba7</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Thu, 30 Dec 2021 13:57:18 GMT</pubDate>
            <atom:updated>2021-12-30T13:57:18.854Z</atom:updated>
            <content:encoded><![CDATA[<h3>easy way to create qr code using html css javascript</h3><p><a href="https://www.codewithrandom.com/2021/12/qr-code-generator-javascript-easy-way.html">Read the original article source from her</a>e or continue below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*wB5_1SwcPzudkVfhwO2-PQ.png" /></figure><p>In this blog, we learn that how we create a QR code generator javascript. We use HTML, Css, and javascript for this QR code generator javascript. Hope you enjoy our blog so let’s start with a basic HTML structure for a QR code generator javascript.</p><p>HTML code</p><p>&lt;body&gt; <br> &lt;section class=”heading”&gt; <br> &lt;div class=”title”&gt;QRcodes&lt;/div&gt; <br> &lt;div class=”sub-title”&gt;Generate QRCode for anything!&lt;/div&gt; <br> &lt;/section&gt; <br> &lt;section class=”user-input”&gt; <br> &lt;label for=”input_text”&gt;Type something…&lt;/label&gt; <br> &lt;input type=”text” name=”input_text” id=”input_text” autocomplete=”off”&gt; <br> &lt;button class=”button” type=”submit”&gt;Generate QR Code&lt;/button&gt; <br> &lt;/section&gt; <br> &lt;div class=”qr-code” style=”display: none;”&gt;&lt;/div&gt; <br> &lt;/body&gt; `</p><p>There is all HTML code for the QR code generator javascript. Now, you can see output without CSS, then we write css &amp; javascript for QR code generator javascript.</p><p><strong>Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*ieQiC2XPzcZWxJHNZLoesQ.png" /></figure><p><strong>CSS Code</strong></p><pre>:root {  <br>       font-size: 62.5%;  <br> }  <br>  * {  <br>       margin: 0;  <br>       padding: 0;  <br>       box-sizing: border-box;  <br>       text-size-adjust: none;  <br>       -webkit-text-size-adjust: none;  <br> }  <br>  button:hover {  <br>       cursor: pointer;  <br> }  <br>  body {  <br>       display: flex;  <br>       flex-direction: column;  <br>       align-items: center;  <br>       background-color: #eae6e5;  <br> }  <br>  .heading {  <br>       margin: 3rem 0 5rem 0;  <br> }  <br>  .title, .sub-title {  <br>       font-size: 4rem;  <br>       text-align: center;  <br>       font-family: &quot;Poppins&quot;, sans-serif;  <br>       color: #12130f;  <br> }  <br>  .sub-title {  <br>       font-size: 1.5rem;  <br>       color: #8f8073;  <br> }  <br>  .user-input {  <br>       display: flex;  <br>       flex-direction: column;  <br>       align-items: center;  <br>       width: 100%;  <br> }  <br>  .user-input label {  <br>       text-align: center;  <br>       font-size: 1.5rem;  <br>       font-family: &quot;Poppins&quot;, sans-serif;  <br> }  <br>  .user-input input {  <br>       width: 80%;  <br>       max-width: 35rem;  <br>       font-family: &quot;Poppins&quot;, sans-serif;  <br>       outline: none;  <br>       border: none;  <br>       border-radius: 0.5rem;  <br>       background-color: #9b8774 ad;  <br>       text-align: center;  <br>       padding: 0.7rem 1rem;  <br>       margin: 1rem 1rem 2rem 1rem;  <br> }  <br>  .button {  <br>       outline: none;  <br>       border: none;  <br>       border-radius: 0.5rem;  <br>       padding: 0.7rem 1rem;  <br>       margin-bottom: 3rem;  <br>       background-color: #5b9279 9d;  <br>       color: #12130f;  <br>       font-family: &quot;Poppins&quot;, sans-serif;  <br> }  <br>  .qr-code {  <br>       border-top: 0.5rem solid #8f8073;  <br>       border-right: 0.5rem solid #8f8073;  <br>       border-bottom: 1rem solid #8f8073;  <br>       border-radius: 0.5rem;  <br>       border-bottom-left-radius: 0.5rem;  <br>       border-bottom-right-radius: 0.5rem;  <br>       border-left: 0.5rem solid #8f8073;  <br>       background-color: #8f8073;  <br> }  <br>  .qr-code button {  <br>       display: flex;  <br>       justify-content: center;  <br>       background-color: #8f8073;  <br>       font-family: &quot;Poppins&quot;, sans-serif;  <br>       color: #eae6e5;  <br>       border: none;  <br>       outline: none;  <br>       width: 100%;  <br>       height: 100%;  <br>       margin-top: 1rem;  <br> }  <br>  .qr-code button a {  <br>       width: 100%;  <br>       height: 100%;  <br>       text-decoration: none;  <br>       color: #eae6e5;  <br> }</pre><h4>Now we have completed our CSS section, Here is our updated output CSS.</h4><p><strong>Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*uJWN3AhP4V7z2y9m0LUC_g.png" /></figure><p><strong>use this link in javascript as a CDN link</strong></p><pre><a href="https://https//cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js">//https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js</a><br>let btn = document.querySelector(&quot;.button&quot;);  <br> btn.addEventListener(&quot;click&quot;, () =&gt; {  <br>  let user_input = document.querySelector(&quot;#input_text&quot;);  <br>  if (user_input.value != &quot;&quot;) {  <br>   if (document.querySelector(&quot;.qr-code&quot;).childElementCount == 0) {  <br>    generate(user_input);  <br>   } else {  <br>    document.querySelector(&quot;.qr-code&quot;).innerHTML = &quot;&quot;;  <br>    generate(user_input);  <br>   }  <br>  } else {  <br>   document.querySelector(&quot;.qr-code&quot;).style = &quot;display: none&quot;;  <br>   console.log(&quot;not valid input&quot;);  <br>  }  <br> });  <br> function generate(user_input) {  <br>  document.querySelector(&quot;.qr-code&quot;).style = &quot;&quot;;  <br>  var qrcode = new QRCode(document.querySelector(&quot;.qr-code&quot;), {  <br>   text: `${user_input.value}`,  <br>   width: 180, //128  <br>   height: 180,  <br>   colorDark: &quot;#000000&quot;,  <br>   colorLight: &quot;#ffffff&quot;,  <br>   correctLevel: QRCode.CorrectLevel.H  <br>  });  <br>  console.log(qrcode);  <br>  let download = document.createElement(&quot;button&quot;);  <br>  document.querySelector(&quot;.qr-code&quot;).appendChild(download);  <br>  let download_link = document.createElement(&quot;a&quot;);  <br>  download_link.setAttribute(&quot;download&quot;, &quot;qr_code_linq.png&quot;);  <br>  download_link.innerText = &quot;Download&quot;;  <br>  download.appendChild(download_link);  <br>  if (document.querySelector(&quot;.qr-code img&quot;).getAttribute(&quot;src&quot;) == null) {  <br>   setTimeout(() =&gt; {  <br>    download_link.setAttribute(  <br>     &quot;href&quot;,  <br>     `${document.querySelector(&quot;canvas&quot;).toDataURL()}`  <br>    );  <br>   }, 300);  <br>  } else {  <br>   setTimeout(() =&gt; {  <br>    download_link.setAttribute(  <br>     &quot;href&quot;,  <br>     `${document.querySelector(&quot;.qr-code img&quot;).getAttribute(&quot;src&quot;)}`  <br>    );  <br>   }, 300);  <br>  }  <br> }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ba277129ba7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create Clock progress bar]]></title>
            <link>https://medium.com/@codewithrandom2/create-clock-progress-bar-ccc3b0e9a295?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccc3b0e9a295</guid>
            <category><![CDATA[progress-bar]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Tue, 28 Dec 2021 16:51:03 GMT</pubDate>
            <atom:updated>2021-12-28T16:51:03.184Z</atom:updated>
            <content:encoded><![CDATA[<h3>style Clock using html css javascript</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NY1ark88f_Join7261jSBw.png" /></figure><p>In this blog, we learn that how we create a Clock progress bar. We use HTML, Css, and javascript for this Clock progress bar. Hope you enjoy our blog so let’s start with a basic HTML structure for a Clock progress bar.</p><h3>HTML code</h3><pre>&lt;div id=&quot;clock&quot; class=&quot;progress-clock&quot;&gt;  <br>      &lt;button class=&quot;progress-clock__time-date&quot; data-group=&quot;d&quot; type=&quot;button&quot;&gt;  <br>           &lt;small data-unit=&quot;w&quot;&gt;Sunday&lt;/small&gt;&lt;br&gt;  <br>           &lt;span data-unit=&quot;mo&quot;&gt;January&lt;/span&gt;  <br>           &lt;span data-unit=&quot;d&quot;&gt;1&lt;/span&gt;  <br>      &lt;/button&gt; <a href="https://www.codewithrandom.com/2021/12/clock-progress-bar-style-clock-using.html">read more</a></pre><p><a href="https://www.codewithrandom.com/2021/12/clock-progress-bar-style-clock-using.html">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccc3b0e9a295" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create Contact Form using HTML and CSS]]></title>
            <link>https://medium.com/@codewithrandom2/how-to-create-contact-form-using-html-and-css-bb086e3b9e61?source=rss-bd74913ace99------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb086e3b9e61</guid>
            <category><![CDATA[forms]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Codewithrandom]]></dc:creator>
            <pubDate>Fri, 24 Dec 2021 17:41:55 GMT</pubDate>
            <atom:updated>2021-12-24T17:41:55.574Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kYnTWxgrA3wgC0c1adxbBw.png" /></figure><p>Today we are going to create a contact form but first, let me introduce what exactly a contact form is.<br>A contact form is a short web-based form published on a website. Any visitor can fill out the form and submit it to send a message to the site owner.<br>Publishing a contact form makes it easy for new customers to get in touch</p><p>Now let’s see the codes of this project.</p><h3>HTML CODE</h3><blockquote>&lt;!DOCTYPE html&gt;</blockquote><blockquote>&lt;html lang=”en”&gt;</blockquote><blockquote>&lt;head&gt;</blockquote><p><a href="https://www.codewithrandom.com/2021/12/how-to-create-contact-form-using-html.html">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb086e3b9e61" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>