<?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: Hrushikesh Kokardekar</title>
    <description>The latest articles on DEV Community by Hrushikesh Kokardekar (@hrushikesh41).</description>
    <link>https://dev.to/hrushikesh41</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%2F655538%2F66ccbd20-35e9-4b51-b9b0-6afcf86f6c24.png</url>
      <title>DEV Community: Hrushikesh Kokardekar</title>
      <link>https://dev.to/hrushikesh41</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hrushikesh41"/>
    <language>en</language>
    <item>
      <title>Creating a Loader with HTML and CSS</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Sat, 12 Mar 2022 11:34:54 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/creating-a-loader-with-html-and-css-3a7l</link>
      <guid>https://dev.to/hrushikesh41/creating-a-loader-with-html-and-css-3a7l</guid>
      <description>&lt;p&gt;Creating a Loader for website is very simple and exciting thing. &lt;/p&gt;

&lt;p&gt;Today in this post we will Make a Loader using HTML and CSS.&lt;/p&gt;

&lt;p&gt;The main concept used here is &lt;strong&gt;@keyframes&lt;/strong&gt; . @keyframes is used when we deal with animations. In simpler way it specifies what animation should happen at what value. You will understand here how to use keyframes.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/hrushikesh41/embed/QWaWjXo?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;As you can see in CSS I've used keyframes named spinnerLoad to rotate the div. The animation goes on for infinity. &lt;/p&gt;

&lt;p&gt;You can improvise this by giving container as inline-block.&lt;/p&gt;

&lt;p&gt;Hope you like it. meet You in the Next Post&lt;/p&gt;

&lt;p&gt;Till Then Happy Coding 👨‍💻👨‍💻👨‍💻&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>css</category>
      <category>beginners</category>
    </item>
    <item>
      <title>To-Do List using HTML, CSS and JavaScript</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Fri, 14 Jan 2022 03:17:52 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/to-do-list-using-html-css-and-javascript-3kp6</link>
      <guid>https://dev.to/hrushikesh41/to-do-list-using-html-css-and-javascript-3kp6</guid>
      <description>&lt;p&gt;Hello Developers 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

&lt;p&gt;Creating a To-Do List is a basic Application for a beginner . Today in this post we will be creating a basic To-Do List using HTML , CSS and JavaScript. &lt;/p&gt;

&lt;p&gt;HTML will contain only certain Elements . Like input box to take user input , a button to add item. Codepen will be given below.&lt;/p&gt;

&lt;p&gt;The Important part here is JavaScript. We will be using the concept of &lt;b&gt;createElement()&lt;/b&gt; and &lt;b&gt;appendChild()&lt;/b&gt; . &lt;b&gt;createElement()&lt;/b&gt; is used to create a new HTML elements like "li", "p" and many more.&lt;b&gt; appendChild()&lt;/b&gt;is used to append the created element as a child of specified HTML Element. &lt;/p&gt;

&lt;p&gt;So the logic here is to create an new "li" (list item) HTML element and a "delete button" onclick of "ADD" button. &lt;/p&gt;

&lt;p&gt;I've styled my To-Do List according to my own styling and code will be provided to you but it is more preferable to add your own styling . &lt;/p&gt;

&lt;p&gt;You can see the Codepen below : &lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/hrushikesh41/embed/OJxrWMY?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Hope You like the post and gained some knowledge. &lt;/p&gt;

&lt;p&gt;You can Add more to this like giving an error message if user clicks on add button without entering any item in input box. &lt;/p&gt;

&lt;p&gt;If you have any doubts you can ask in comment section. &lt;/p&gt;

&lt;p&gt;Suggestions are always welcomed. &lt;/p&gt;

&lt;p&gt;Meet You in Next Post&lt;br&gt;
Till Then Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Blur Background Using CSS</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Tue, 28 Dec 2021 04:07:24 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/blur-background-using-css-3i3b</link>
      <guid>https://dev.to/hrushikesh41/blur-background-using-css-3i3b</guid>
      <description>&lt;p&gt;&lt;em&gt;This Post is Inspired By &lt;a href="https://www.youtube.com/channel/UCvM5YYWwfLwpcQgbRr68JLQ" rel="noopener noreferrer"&gt;Adrian Twarog&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Blur Background in any website looks amazing and attractive to users. But ever wondered how this blur is made ? Well the answer is "Easy".&lt;/p&gt;

&lt;p&gt;Let's See how to make it.&lt;/p&gt;

&lt;p&gt;First we add an image in the background and then give our body as &lt;b&gt;display-flex&lt;/b&gt; . To set the blur effect in the center of image we give &lt;b&gt; justify-content and align-item &lt;/b&gt; as &lt;b&gt;center&lt;/b&gt; . &lt;/p&gt;

&lt;p&gt;Now the div on which we give blur effective is in the center of our page . to give the blur effect we use &lt;b&gt; backdrop-filter &lt;/b&gt; and give it as &lt;b&gt;blur&lt;/b&gt; . So that's it . Our blur is ready .&lt;/p&gt;

&lt;p&gt;Let's see our blur effect.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qj1i6zb5gj5o6ur737c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qj1i6zb5gj5o6ur737c.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now to enhance the content inside the blur I've added more styling. &lt;/p&gt;

&lt;p&gt;You can have a look on my code and practice it .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzqctce0kg7vbro8cx6u4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzqctce0kg7vbro8cx6u4.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So that's it in this post . You can see how easy it is to make and blur background . &lt;/p&gt;

&lt;p&gt;So meet you next post .&lt;br&gt;
Till then Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>css</category>
    </item>
    <item>
      <title>Light-Dark Mode Toggle Using CSS</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Sat, 11 Dec 2021 05:27:44 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/light-dark-mode-toggle-using-css-4d06</link>
      <guid>https://dev.to/hrushikesh41/light-dark-mode-toggle-using-css-4d06</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is inspired by &lt;a href="https://www.youtube.com/watch?v=gzCUq_VQ7Y8"&gt;Online Tutorials&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Hello Guys ✌️✌️✌️&lt;/p&gt;

&lt;p&gt;We have seen the dark mode in our mobile and laptops. Ever wonder how this works . &lt;/p&gt;

&lt;p&gt;Today in this post we will be making a simple dark mode toggle animation. &lt;/p&gt;

&lt;p&gt;So lets Start 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step-1 HTML&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yPfmrBMB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i9zsdonda2zgka4t8o8l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yPfmrBMB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i9zsdonda2zgka4t8o8l.png" alt="Image description" width="873" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Only three div tags are required with id our class . And that's it with our HTML. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step-2 CSS&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aU0m6_5e--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fwbwhwpr3asx8n00iixz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aU0m6_5e--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fwbwhwpr3asx8n00iixz.png" alt="Image description" width="730" height="895"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now the crucial part comes . You might be thinking from where the ".dark" class came from . You will understand this in Javascript part. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step-3 JavaScript&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h4xV-WW9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pylxkp2r95hhgzmy0i3r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h4xV-WW9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pylxkp2r95hhgzmy0i3r.png" alt="Image description" width="661" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now as instructed in the video of Online Tutorials we need to take reference of the body and div. On clicking the togglebtn class , a new class ".dark" is made and toggled . To toggle a class means adding and removing a class. The dark class toggles the background color and the color of text. &lt;/p&gt;

&lt;p&gt;You can see how this works :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Aq6pzFlP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zusgz6ynk4c66qv4n36k.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Aq6pzFlP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zusgz6ynk4c66qv4n36k.gif" alt="Image description" width="880" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So you can see how we've made the dark mode toggle using simple HTML, CSS and JavaScript.&lt;/p&gt;

&lt;p&gt;So that's it for Today .&lt;br&gt;
Meet you in the Next Post.&lt;br&gt;
Till then Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Generating random Colors Using JavaScript</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Fri, 03 Dec 2021 13:38:54 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/generating-random-colors-42dg</link>
      <guid>https://dev.to/hrushikesh41/generating-random-colors-42dg</guid>
      <description>&lt;p&gt;Hello Guys ✌️✌️✌️&lt;/p&gt;

&lt;p&gt;Back after long time with another post.&lt;/p&gt;

&lt;p&gt;Ever felt how cool it would be if random background colors would be applied to your page on just one click of button .&lt;/p&gt;

&lt;p&gt;It is possible using Simple Javascript and few lines of code .&lt;/p&gt;

&lt;p&gt;Lets start 👍👍&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step -1 : HTML&lt;/b&gt;&lt;br&gt;
There's not much to write in HTML . You Just need to Create a an heading tag with an id . In this heading tag we will be printing the rbg value of the generated color. Second You need to create a button with an id . Also create a js file and link it in your html. That's It with our HTML. The HTML code is below :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eTUKI9ph--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ur8xk0ghdl3zscvrf7dn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eTUKI9ph--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ur8xk0ghdl3zscvrf7dn.png" alt="Image description" width="796" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step -2 : CSS&lt;/b&gt;&lt;br&gt;
Here I've applied some styling to the button created so that it looks good. You can add your own styling also. The CSS is below :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kfedMJJT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5a8aymlpj0q7af2up65w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kfedMJJT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5a8aymlpj0q7af2up65w.png" alt="Image description" width="323" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step -3 : JavaScript&lt;/b&gt;&lt;br&gt;
Now comes the important part . We would be using &lt;b&gt;&lt;u&gt;Math.random()&lt;/u&gt;&lt;/b&gt; . Math.random() generates a random number between 0 and 1. &lt;b&gt;&lt;u&gt;Math.floor()&lt;/u&gt;&lt;/b&gt; is another Math function that we are going to use . So the JavaScript Code is given below where I've created a functioned named generateColor() . &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dFO9NMbi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vuzmenlurgdkb01hvsx1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dFO9NMbi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vuzmenlurgdkb01hvsx1.png" alt="Image description" width="636" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can see the Output Below How it generates random colors onclick of the button . &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--N7v9h9Mo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6mt9yrq7kb9l15bdq295.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--N7v9h9Mo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6mt9yrq7kb9l15bdq295.gif" alt="Image description" width="880" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So that's it for today .&lt;br&gt;
meet You in next Post&lt;br&gt;
Till then Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to Embed JavaScript in Your HTML ??</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Sat, 31 Jul 2021 15:00:39 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/how-to-embed-javascript-in-your-html-4f0j</link>
      <guid>https://dev.to/hrushikesh41/how-to-embed-javascript-in-your-html-4f0j</guid>
      <description>&lt;p&gt;How many of you like dynamic web pages ? Using HTML and CSS you can create and style static web page but you cannot perform actions on it. To make your web page dynamic &lt;b&gt; JavaScript language &lt;/b&gt; is used. &lt;/p&gt;

&lt;p&gt;JavaScript was created by &lt;b&gt;Brendan Eich&lt;/b&gt;. It is a high-level, East to learn language use to create dynamic web pages. JavaScript is used to perform actions on elements like creating alert box on click of button. Performing some actions according to some condition by using if-else etc. &lt;/p&gt;

&lt;p&gt;There are many such applications of JavaScript.  &lt;/p&gt;

&lt;p&gt;In JavaScript we select the element on which action is to performed by providing the id or class to it. &lt;/p&gt;

&lt;p&gt;Let's see how to embed your JavaScript in your HTML.&lt;/p&gt;

&lt;p&gt;Like CSS we have multiple ways to embed our JavaScript in your HTML.&lt;/p&gt;

&lt;p&gt;Method - 1 &lt;b&gt;Using script tag&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Like we used style tag in the same file to add styling to our pages here we use script tag. Inside script tag we write our script and add JS in our HTML. You can see the code below. Don't worry about the script that I write inside the script tag. &lt;/p&gt;

&lt;p&gt;Code :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1r30udt3f529g2099abx.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1r30udt3f529g2099abx.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fknbm40d7xlooj06ixpik.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fknbm40d7xlooj06ixpik.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can see that without writing a single word inside the p tag how I printed "Welcome to JavaScript" . That's the uniqueness of JavaScript. &lt;/p&gt;

&lt;p&gt;Let's see the second method&lt;/p&gt;

&lt;p&gt;Method - 2 &lt;b&gt;Creating Separate JavaScript file&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Again like CSS we create a separate JavaScript file with extension &lt;b&gt;.js&lt;/b&gt; . Now the question is how to link it in our HTML. So here again script tag is used. the &lt;b&gt;src&lt;/b&gt; attribute is used to provide location of your JavaScript file. You can see the code below .&lt;/p&gt;

&lt;p&gt;Code :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwrhfoog8olzswzit3ps2.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwrhfoog8olzswzit3ps2.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ggvd4hab7dzsnre3ea7.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ggvd4hab7dzsnre3ea7.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's the Second Method of adding your JavaScript inside your HTML. &lt;/p&gt;

&lt;p&gt;So that's it for today. Don't worry about the script that I wrote inside the script tag or js file.&lt;/p&gt;

&lt;p&gt;In next post we will explore some more topic in JS .&lt;/p&gt;

&lt;p&gt;Meet you next post 😊😊&lt;/p&gt;

&lt;p&gt;Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to add Images to Our page ?</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Wed, 28 Jul 2021 14:38:03 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/how-to-add-images-to-our-page-3egk</link>
      <guid>https://dev.to/hrushikesh41/how-to-add-images-to-our-page-3egk</guid>
      <description>&lt;p&gt;Hello Guy's 😊&lt;/p&gt;

&lt;p&gt;Here I am with one more topic that is "How to add Images ?". Images in web pages makes it more attractive to users. &lt;/p&gt;

&lt;p&gt;In this post we will learn to add images to your webpage.&lt;/p&gt;

&lt;p&gt;Let's Start 👩‍💻👩‍💻&lt;/p&gt;

&lt;p&gt;Image is added using &lt;b&gt;img tag&lt;/b&gt; in HTML. It consist of two attributes &lt;b&gt; "src" &lt;/b&gt; and &lt;b&gt; "alt" &lt;/b&gt;. &lt;b&gt; "src" &lt;/b&gt; attribute is used to specify the path of image. If your image is in the same folder then you need to write"./" and select the image from the option. If your image is at a different location then you provide the complete path to the image. If you want to fetch image from some website then just provide the link in src attribute.&lt;/p&gt;

&lt;p&gt;&lt;b&gt; "alt" &lt;/b&gt; attribute is used to add alternate text. Sometimes it happens that your image is not loaded. At that time you can add alternate text to the image.  You can see the code and follow it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Op-k6XGk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/01442lgnkice6lh000sq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Op-k6XGk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/01442lgnkice6lh000sq.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output : &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_58haJqY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2h7ubs4roj33k9kl718i.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_58haJqY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2h7ubs4roj33k9kl718i.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You Can also give height and width to the image. To do so you just need to add height and width inside img tag. You can refer the code below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cWSd7OO9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e35qet9lgmrb09c9pxh3.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cWSd7OO9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e35qet9lgmrb09c9pxh3.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can add more styling to your image by writing style in img tag and add styling to your image.&lt;/p&gt;

&lt;p&gt;So that's it for today. I know that this is a very small post but is an important topic. Try this at your end. &lt;/p&gt;

&lt;p&gt;Meet you in the next post till then Happy Coding 👩‍💻👩‍💻👩‍💻 &lt;/p&gt;

</description>
      <category>css</category>
      <category>vscode</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What is  Anchor tag ?</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Sun, 25 Jul 2021 05:09:01 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/what-is-a-tag-553j</link>
      <guid>https://dev.to/hrushikesh41/what-is-a-tag-553j</guid>
      <description>&lt;p&gt;Hello Guy's&lt;/p&gt;

&lt;p&gt;I'm back with another post. As mentioned in my previous post that my next post will be on anchor tags. Hope you liked my previous post.&lt;/p&gt;

&lt;p&gt;So let's start 👍&lt;/p&gt;

&lt;p&gt;Let's take for example that whenever you visit any site it asks you to login. But sometimes it happens that you forget your password. So you click on the forgot password link which redirects you to another page.&lt;/p&gt;

&lt;p&gt;Ever wondered how does it happens ??&lt;/p&gt;

&lt;p&gt;It is done with the help of anchor tag.&lt;/p&gt;

&lt;p&gt;Anchor tag means hyperlink. It is used to link one HTML page to another. &lt;/p&gt;

&lt;p&gt;The main attribute in this element is &lt;b&gt;href&lt;/b&gt;. In this &lt;b&gt;href&lt;/b&gt; attribute we specify the location of the file. Whenever the user will click on the link, user will be redirected to the page that you have provided in &lt;b&gt;href&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Let's see it practically 👩‍💻👩‍💻&lt;/p&gt;

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

&lt;p&gt;anchor tag is created by writing just a letter in arrows. The href attribute is placed inside the &lt;b&gt;a tag&lt;/b&gt;. You can see the code below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--v-8w9IfB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1j6mjr734tzvvtmvcclq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v-8w9IfB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1j6mjr734tzvvtmvcclq.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your hyperlink will be seen like this :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gQMJ-Wm9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f41fsp0z1jz0neag0o98.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gQMJ-Wm9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f41fsp0z1jz0neag0o98.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now in the Above HTML code you might have noticed that I have written "#" in href attribute. this means that hyperlink will be created but will not redirect to any link. &lt;/p&gt;

&lt;p&gt;It's time to add a file in href attribute.&lt;/p&gt;

&lt;p&gt;Now there are multiple ways to give location. Select the file that you want to give in href and press right click copy the entire file location. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n0dol9hy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jyuj8mdoq67ewxxlwxuu.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n0dol9hy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jyuj8mdoq67ewxxlwxuu.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now just paste the file location in href attribute.&lt;/p&gt;

&lt;p&gt;Second method: If you have multiple files or folder in your project just write "./" in href attribute and you can see the files and folder. Just select it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0_bcZy2X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/995arqdiubk8aep7g1li.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0_bcZy2X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/995arqdiubk8aep7g1li.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now when you click on the hyperlink it redirect user to the new page that you gave in href. &lt;/p&gt;

&lt;p&gt;You can see the output below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gz5P7oC1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oktj13escsk9fkt40gyo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gz5P7oC1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oktj13escsk9fkt40gyo.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So here how you can create a hyperlink in your page. &lt;/p&gt;

&lt;p&gt;Give it try in your navbar. Just create some pages and place the file locations in href. &lt;/p&gt;

&lt;p&gt;If you don't know how to create navbar have a look on my previous post. &lt;/p&gt;

&lt;p&gt;See you in next post. &lt;/p&gt;

&lt;p&gt;Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>vscode</category>
    </item>
    <item>
      <title>Creating Navbar Using CSS</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Wed, 21 Jul 2021 05:14:23 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/creating-navbar-using-css-28c6</link>
      <guid>https://dev.to/hrushikesh41/creating-navbar-using-css-28c6</guid>
      <description>&lt;p&gt;Hello Guy's 😀😀&lt;/p&gt;

&lt;p&gt;Welcome Back. Hope You are doing well.&lt;/p&gt;

&lt;p&gt;Today we are going to build a Navbar using CSS. It will be a simple navbar and will be real fun for beginner's to create it. &lt;/p&gt;

&lt;p&gt;So Let's Start 👩‍💻&lt;/p&gt;

&lt;p&gt;Step 1:&lt;b&gt; HTML &lt;/b&gt;&lt;br&gt;
We are going to use &lt;b&gt; nav tag &lt;/b&gt;. Nav tag is basically used for creating navbars. Inside the nav tag we need to use &lt;b&gt; ul tag &lt;/b&gt; . ul means Unordered list. Further inside the ul we use &lt;b&gt; li tag &lt;/b&gt;(li specifies list item). Now the question is how much li tag we need to give. The answer is very simple. The number of links you need to provide on navbar that many li tag should be given. &lt;/p&gt;

&lt;p&gt;Now if are giving 4 links in our navbar we give 4 li tags. But writing li tags 4 times takes time. Don't worry there's a solution for that in vscode. just write "li*4" and press enter. And there's your 4 li tags. Isn't it amazing 😎. &lt;/p&gt;

&lt;p&gt;Now as you need to provide links to your navbar so that user can go to the next page , we give &lt;b&gt; a tag &lt;/b&gt; in each li tag.&lt;b&gt; a tag &lt;/b&gt;is basically a linking tag which provides us the facility to link one html page to the other. &lt;/p&gt;

&lt;p&gt;Don't worry about the&lt;b&gt; a tag&lt;/b&gt; cause my next post will be on a tag only. There you will be more clear about it . So for present you can just see and refer my HTML code. &lt;/p&gt;

&lt;p&gt;HTML Code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6prga5j90t7jkzwtlie9.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6prga5j90t7jkzwtlie9.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxfzaypkpgbh520tu6a3f.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxfzaypkpgbh520tu6a3f.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So far now it doesn't look like navbar and the reason is obvious that we haven't applied styling to it. So let's begin with our styling.&lt;/p&gt;

&lt;p&gt;Step 2: &lt;b&gt;CSS&lt;/b&gt; &lt;/p&gt;

&lt;p&gt;Firstly we need to style the nav tag. The navbar is horizontally spread over the screen . That means it has full width i.e. 100% . So we give width as 100% . Now the width is set to 100% but we need to give some height. In my case I've given height as 65px. &lt;br&gt;
But the Navbar is still not visible . The reason is background color. You can choose background color of your choice and apply it. &lt;/p&gt;

&lt;p&gt;Code for nav tag:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pukmceqook9jbiv7vsh.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pukmceqook9jbiv7vsh.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So now your output will look like this. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxhiblveabgaie8r1oqjn.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxhiblveabgaie8r1oqjn.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you can see that our basic styling of nav tag is done. But the issue is out text is not perfectly fitted in it . So let's solve this issue.&lt;/p&gt;

&lt;p&gt;it's time to design our ul tag to deal with the text problem we are facing. You can see tiny circles at the left side of our text. We don't need them. So the remove this markers we use "list-style-type". list-style-type specifies how our list item should look . As we need to remove those marker we give list-style-type as none. Now when you see the output there will no markers at the left of our text. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsv1y540bjoyo15xf38h0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsv1y540bjoyo15xf38h0.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we give margin and padding as 0 to ul .&lt;/p&gt;

&lt;p&gt;Code for ul tag :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4mp40pceptn9al2hhnqz.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4mp40pceptn9al2hhnqz.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we want that our text should come inside the navbar . So for that we style our li tag. As you can see that text is vertically aligned and we want it horizontal. So we give li as float left. When you do this you will see a major change in your output. All your text is now inside your navbar. It should like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffeol7gxx1105ez2julhz.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffeol7gxx1105ez2julhz.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But they seemed to be less spacious. So for resolving this problem we give require some space to the left side of each list item. So we give margin-left as 10px. And now you will some space between text. Your Navbar will look like:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2hnbvbywagn1435z0pns.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2hnbvbywagn1435z0pns.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Code for li tag :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgoh26dqe22m5ra8sw0x5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgoh26dqe22m5ra8sw0x5.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we are onto our second last step of styling our navbar. We so far have styled our nav, ul and li tag and you can see output as above. Now it's time to style our a tag. So far a tag I start by giving display as block. Display is the property which shows us the our element should look like. Block means it will take the whole width of that particular element to which it is applied. But you can see that the font is very small . So I will give font-size as 20px, text-color as white cause my background is dark, will apply some padding and margin from top. So far our navbar created should like:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz1vsqke5hna0eg7yzmr6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz1vsqke5hna0eg7yzmr6.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now still we can see a line below our text. To remove it we will give text-decoration as none. And Our Navbar is almost completed. &lt;/p&gt;

&lt;p&gt;Code for a tag:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F34irjcblvf5ztbdol7sy.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F34irjcblvf5ztbdol7sy.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So our Navbar will now look like:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74xsohjgdcw61rblfq6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74xsohjgdcw61rblfq6b.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How cool it will look we give our navbar some hover effect. So now I will change the  background color for my each a tag on mouse over.&lt;/p&gt;

&lt;p&gt;Code for hover effect:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftqrb48wzrc96g6xt7al1.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftqrb48wzrc96g6xt7al1.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But still there is one issue. There some spacing from all four side of our navbar. So to deal with it at the start of our CSS code we will give margin and padding as 0 to our whole body.&lt;/p&gt;

&lt;p&gt;Code for body:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqamtw2vmzaom4o5skqme.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqamtw2vmzaom4o5skqme.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So that's it with our code and now our Navbar is ready. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvgvl9lly59hs93n2bd7t.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvgvl9lly59hs93n2bd7t.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So that's it for today and meet everyone in the next post 😊😊&lt;br&gt;
Till then Happy Coding 👩‍💻👩‍💻👩‍💻&lt;/p&gt;

</description>
      <category>css</category>
      <category>vscode</category>
    </item>
    <item>
      <title>CSS Hover Effect</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Fri, 16 Jul 2021 12:06:50 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/css-hover-property-3cmm</link>
      <guid>https://dev.to/hrushikesh41/css-hover-property-3cmm</guid>
      <description>&lt;p&gt;Hello Guy's and Welcome to another topic on CSS.&lt;/p&gt;

&lt;p&gt;How many times have seen on any website that whenever you move your cursor on any button the color of button changes or the size of the button increases or decreases. And as you move away your cursor from the button , the button regains it's previous property. &lt;/p&gt;

&lt;p&gt;How Cool is that!!!&lt;/p&gt;

&lt;p&gt;This is all done with the help of &lt;b&gt; CSS Hover Effect!!!&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Using CSS property you can apply styles on an element on mouse over. &lt;/p&gt;

&lt;p&gt;Today I will be showing you how to use hover effect and will also talk about transition property and will be showing you how to convert a square into a circle on mouse over. &lt;/p&gt;

&lt;p&gt;Let's Start 😎😎&lt;/p&gt;

&lt;p&gt;As I will be converting a square into a circle therefore I need to start by creating a square . &lt;/p&gt;

&lt;p&gt;Step : 1 &lt;b&gt;HTML&lt;/b&gt;&lt;br&gt;
In your html file inside the body tag create one empty div as shown below. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eShzMHN_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmr1v8ikqp1l3axxnh87.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eShzMHN_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmr1v8ikqp1l3axxnh87.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step : 2 &lt;b&gt;CSS (Creating Square)&lt;/b&gt;&lt;br&gt;
In your stylesheet or style tag write the div element and give it height, width, border, background-color and margin. You can see the snippet of the code below .&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sQ6N8-DX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u1di62ubu6fucmjtcavq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sQ6N8-DX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u1di62ubu6fucmjtcavq.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You might have noticed that along with other properties I've also used a property "transition". &lt;br&gt;
Basically transition property is used perform some changes smoothly according to the time you have given . You can see that I've given duration for width and height as 8 seconds. This means my width height will require 8 seconds to change to it's new value. So that's was about transition property but we still have lot of work to do.&lt;/p&gt;

&lt;p&gt;So now our Square is created and should like:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Jiu7LBey--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j8696jsntz6jjc1ut2de.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Jiu7LBey--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j8696jsntz6jjc1ut2de.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step : 3 &lt;b&gt;CSS (Hover)&lt;/b&gt;&lt;br&gt;
Syntax for hover property is element:hover. In our case the element is div . So our code goes as follows: &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PwNHbNjJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4wkvcqfs57g9v9hxny02.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PwNHbNjJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4wkvcqfs57g9v9hxny02.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now another new property that I've used is border-radius. This property provides us to style corner's of selected element. So by providing border-radius as 50% all the corner's of our square will be styled and it will be converted into circle. &lt;/p&gt;

&lt;p&gt;So that's it with the code and it's time to see our square get converted into circle. &lt;/p&gt;

&lt;p&gt;Let's see the output😎😎 :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--X1CYjcel--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kpm86kzjcwwm9uatpa9s.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--X1CYjcel--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kpm86kzjcwwm9uatpa9s.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I think that you all are clear with the code and also some topic covered. We saw some properties like transition and border-radius properties that are very much helpful in styling.&lt;/p&gt;

&lt;p&gt;If you all want to know about the &lt;b&gt;Types of CSS&lt;/b&gt; then please have a look on my previous post.&lt;/p&gt;

&lt;p&gt;So that's it for Today and will meet you all in next post 😊😊.&lt;br&gt;
Till then Happy Coding 👩‍💻👩‍💻.&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>vscode</category>
    </item>
    <item>
      <title>Types of CSS</title>
      <dc:creator>Hrushikesh Kokardekar</dc:creator>
      <pubDate>Wed, 14 Jul 2021 13:18:56 +0000</pubDate>
      <link>https://dev.to/hrushikesh41/types-of-css-40hm</link>
      <guid>https://dev.to/hrushikesh41/types-of-css-40hm</guid>
      <description>&lt;p&gt;Styling is an important aspect for designing your Website. Website should look attractive and eye-catching to the users.&lt;/p&gt;

&lt;p&gt;CSS - Cascading Style Sheet is used to style HTML webpages. CSS has many such properties that makes webpage more elegant. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;1. Inline CSS:&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Inline CSS is used when we need to design a particular tag of &lt;br&gt;
our page. The style attribute is used within the tag which is &lt;br&gt;
need to be styled. &lt;/p&gt;

&lt;p&gt;Code:-&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvaulsuhpt0butrrx2i7w.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvaulsuhpt0butrrx2i7w.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk9ad2y7mgz352qj3b4wy.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk9ad2y7mgz352qj3b4wy.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;2. Internal CSS:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Internal CSS is mostly used to design a single webpage. The style tag is used within the head section to apply CSS properties. Inside the style tag the element/class/id which is to be styled is written an style is applied on it.&lt;/p&gt;

&lt;p&gt;Code:-&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxmh73d7j6b0lf49oqud8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxmh73d7j6b0lf49oqud8.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftsidrbjry9rtmtb6dc0t.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftsidrbjry9rtmtb6dc0t.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;3. External CSS:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;In this method an external stylesheet is created. Now the question is how to link it with the html page on which styling is applied. The solution is link tag. The link tag is placed just below the title tag . &lt;/p&gt;

&lt;p&gt;Code:-&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy97mxuma5bmnktndj7s3.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy97mxuma5bmnktndj7s3.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;style.css:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbff3eld2qy8l4kuirif5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbff3eld2qy8l4kuirif5.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foyy4mhh6ufo9obacummz.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foyy4mhh6ufo9obacummz.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it for Today. Meet you soon with next post.&lt;/p&gt;

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