<?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: Subhransu Patra</title>
    <description>The latest articles on DEV Community by Subhransu Patra (@subhransuindia).</description>
    <link>https://dev.to/subhransuindia</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%2F770540%2F2f2d0b5b-498e-4cab-9966-c803165ce843.jpeg</url>
      <title>DEV Community: Subhransu Patra</title>
      <link>https://dev.to/subhransuindia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/subhransuindia"/>
    <language>en</language>
    <item>
      <title>I published My new Chapter</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Fri, 14 Jan 2022 05:33:20 +0000</pubDate>
      <link>https://dev.to/subhransuindia/i-published-my-new-chapter-2pao</link>
      <guid>https://dev.to/subhransuindia/i-published-my-new-chapter-2pao</guid>
      <description>&lt;p&gt;I created a new chapter.&lt;br&gt;
Here is the link...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inform-our-world.github.io/Saqha/CH%202.6"&gt;Subhransu Patra&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.5"&gt;Chapter 2.5&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>I made a short game using Microsoft MakeCode Arcade</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Tue, 11 Jan 2022 16:10:16 +0000</pubDate>
      <link>https://dev.to/subhransuindia/i-made-a-short-game-using-microsoft-makecode-arcade-1l1d</link>
      <guid>https://dev.to/subhransuindia/i-made-a-short-game-using-microsoft-makecode-arcade-1l1d</guid>
      <description>&lt;p&gt;I made a game using Microsoft MakeCode Arcade. Here you can access it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://makecode.com/_A7E2jLe2p19E"&gt;Swordo Game&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My Website &lt;a href="https://inform-our-world.github.io/"&gt;Inform Our World&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inform-our-world.github.io/Saqha/CH%202.5"&gt;Previous Chapter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>I published My new Chapter</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Sun, 09 Jan 2022 05:33:19 +0000</pubDate>
      <link>https://dev.to/subhransuindia/i-created-my-new-portfolio-hpa</link>
      <guid>https://dev.to/subhransuindia/i-created-my-new-portfolio-hpa</guid>
      <description>&lt;p&gt;I created a new chapter.&lt;br&gt;
Here is the link...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inform-our-world.github.io/Saqha/CH%202.5"&gt;Subhransu Patra&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.4"&gt;Chapter 2.4&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to make an awesome &lt;input&gt; tag using HTML and CSS</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Thu, 06 Jan 2022 15:45:37 +0000</pubDate>
      <link>https://dev.to/subhransuindia/how-to-make-an-awesome-tag-using-html-and-css-1437</link>
      <guid>https://dev.to/subhransuindia/how-to-make-an-awesome-tag-using-html-and-css-1437</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h1&amp;gt;HELLO!&amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.4"&gt;Chapter 2 (Part 4)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Inform Our World &lt;a href="https://inform-our-world.github.io/"&gt;Link here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://subhransuindia.github.io/Subhransu%20Patra.html"&gt;My Portfolio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag, by default has a white background and a border. Looks decent, na? But sometimes, for me, it looks boring enough, for some reason that I don't know. But, for that instance I thought to edit this 'outdated' (I mustn't say it...) thing. Here I will share that code with you. Enjoy the article 🙃.&lt;/p&gt;

&lt;p&gt;I have poem to share,&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Design comes from your mind&lt;br&gt;
It is a thing that someone could find&lt;br&gt;
With it creativity is just 'yeah'&lt;br&gt;
Someone said,&lt;br&gt;
Without art, Earth is just 'eh'&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now, let's start the article,&lt;/p&gt;

&lt;p&gt;First create an HTML file...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;How to make an awesome &amp;amp;lt;input&amp;amp;gt; tag using HTML and CSS
&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Then add &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag under &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag.&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;Add &lt;code&gt;placeholder=""&lt;/code&gt; attribute in &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag to add a text in &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input placeholder="Hello! 😎"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Default HTML &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag is ready. But it isn't looking sober. So we have to edit this...&lt;/p&gt;

&lt;p&gt;First add some padding,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input style="padding: 10px;" placeholder="Hello! 😎"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then a background.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input style="padding: 10px;background-color: rgba(225, 225, 255);" placeholder="Hello! 😎"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The a &lt;code&gt;good-looking&lt;/code&gt; border.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);" placeholder="Hello! 😎"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Border Radius; a must.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;" placeholder="Hello! 😎"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then Change the font...&lt;/p&gt;

&lt;p&gt;I used Poppins font from google as it is my favorite font.&lt;/p&gt;

&lt;p&gt;So, to add google font, we must add this link to head tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;How to make an awesome &amp;amp;lt;input&amp;amp;gt; tag using HTML and CSS
&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;" placeholder="Hello! 😎"&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Then add this font to &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;font-family: Poppins" placeholder="Hello! 😎"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And Now it is done!!!!!!!!&lt;/p&gt;

&lt;p&gt;Full Code...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;How to make an awesome &amp;amp;lt;input&amp;amp;gt; tag using HTML and CSS
&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;font-family: Poppins" placeholder="Hello! 😎"&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;It is not as good but looking good enough than the default one 😂.&lt;/p&gt;

&lt;p&gt;I think I should develop a whatsapp web clone but not sure about it. If you think it is a good idea then notify me through comment or like the post...&lt;/p&gt;

&lt;p&gt;I will meet you in the next post, till then bye bye 😉.&lt;/p&gt;

&lt;p&gt;A sneak peek to my new website design.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--W1RREH0t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lw16b857yuh1e4cg7yqx.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--W1RREH0t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lw16b857yuh1e4cg7yqx.jpeg" alt="Sneak Peek" width="745" height="1280"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheer me up if you like it! 😊&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I published My new Chapter</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Tue, 04 Jan 2022 08:13:02 +0000</pubDate>
      <link>https://dev.to/subhransuindia/i-published-my-new-chapter-4ce6</link>
      <guid>https://dev.to/subhransuindia/i-published-my-new-chapter-4ce6</guid>
      <description>&lt;p&gt;I published my new Chapter under Inform Our World&lt;br&gt;
Here is the link...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inform-our-world.github.io/Saqha/CH%202.4"&gt;Chapter 2.4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inform-our-world.github.io/"&gt;Inform Our World&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>New Chapter Published!!</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Wed, 29 Dec 2021 04:02:32 +0000</pubDate>
      <link>https://dev.to/subhransuindia/new-chapter-published-3oep</link>
      <guid>https://dev.to/subhransuindia/new-chapter-published-3oep</guid>
      <description>&lt;p&gt;I published my new website...&lt;br&gt;
&lt;a href="https://inform-our-world.github.io/Saqha/CH%202.3"&gt;Link Here&lt;/a&gt;&lt;br&gt;
&lt;a href="https://inform-our-world.github.io/"&gt;Inform Our World&lt;/a&gt;&lt;br&gt;
&lt;a href="https://subhransuindia.github.io/Subhransu%20Patra.html"&gt;My Portfolio&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Animate on click with Javascript!</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Sat, 25 Dec 2021 05:06:17 +0000</pubDate>
      <link>https://dev.to/subhransuindia/animate-on-click-with-javascript-5ae8</link>
      <guid>https://dev.to/subhransuindia/animate-on-click-with-javascript-5ae8</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;Hello&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;Merry Christmas&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.2"&gt;Chapter 2 (Part 2)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Inform Our World &lt;a href="https://inform-our-world.github.io/"&gt;Link here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://subhransuindia.github.io/Subhransu%20Patra.html"&gt;My Portfolio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Animation with js? Not too much tough but if you are new to javascript, like me, then at first it would be a  little bit difficult but with time, you would be coping up with it. So, lets start the topic of 'Animate on click with Javascript!'&lt;/p&gt;

&lt;p&gt;First create a HTML file...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Animate on click with Javascript!&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Then add any tag such as &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt;. It is upto you which tag you will use to animate...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;Hello World!&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here I used &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag. Then create an &lt;code&gt;id=""&lt;/code&gt; for it. Let's name it animate. You can use anything...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p id="animate"&amp;gt;Hello World!&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then we need a button so that if we clicked on it, it would animate as per our needs...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button&amp;gt;Click to Animate&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then in the &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; tag add &lt;code&gt;onclick=""&lt;/code&gt;. It is very much essential for onclick animation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button onclick="beyblade()"&amp;gt;Click to Animate&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I have put &lt;code&gt;beyblade()&lt;/code&gt; in &lt;code&gt;onclick=""&lt;/code&gt;. &lt;code&gt;()&lt;/code&gt; is very much essential...&lt;/p&gt;

&lt;p&gt;Then add &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; in the body...&lt;br&gt;
&lt;/p&gt;

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

&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and in that add&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script&amp;gt;
function beyblade() {

}
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The text after &lt;code&gt;function&lt;/code&gt; will be the one you have written in &lt;code&gt;onclick=""&lt;/code&gt; i.e. I have written &lt;code&gt;onclick="beyblade()"&lt;/code&gt;, the same I will write after &lt;code&gt;function&lt;/code&gt; i.e.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function beyblade() {
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So, let's take the element that we take be &lt;code&gt;x&lt;/code&gt;. So to do this, implement..&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script&amp;gt;
function beyblade() {
let x = document.getElementById("animate")
}
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then add the following component...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script&amp;gt;
function beyblade() {
let x = document.getElementById("animate")
x.style.marginLeft = "300px"
x.style.transition = "1s"
}
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;x.style.transition&lt;/code&gt; will create transitions and &lt;code&gt;1s&lt;/code&gt; will create timing for it. &lt;/p&gt;

&lt;p&gt;You can implement any css component in place of &lt;code&gt;marginLeft&lt;/code&gt; such as &lt;code&gt;x.style.color = red&lt;/code&gt; it will change the text color to red and &lt;code&gt;x.style.backgroundColor = blue&lt;/code&gt; will change the background color to blue.  &lt;/p&gt;

&lt;p&gt;It  helps  us to create a hamburger menu also.&lt;/p&gt;

&lt;p&gt;So, this is for today. I hope you liked the article and if you, then please notify me. &lt;/p&gt;

&lt;p&gt;Full Code..&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Animate on click with Javascript!&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;p id="animate"&amp;gt;Hello World!&amp;lt;/p&amp;gt;

&amp;lt;button onclick="beyblade()"&amp;gt;Click to Animate&amp;lt;/button&amp;gt;

&amp;lt;script&amp;gt;
function beyblade() {
let x = document.getElementById("animate")
x.style.marginLeft = "300px"
x.style.transition = "1s"
}
&amp;lt;/script&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Thanks for your time. 😺&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>I created My new Portfolio</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Wed, 22 Dec 2021 04:54:07 +0000</pubDate>
      <link>https://dev.to/subhransuindia/i-created-my-new-portfolio-3jo5</link>
      <guid>https://dev.to/subhransuindia/i-created-my-new-portfolio-3jo5</guid>
      <description>&lt;p&gt;I created a new portfolio of myself. &lt;br&gt;
Here is the link...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://subhransuindia.github.io/Subhransu%20Patra.html"&gt;Subhransu Patra&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.2"&gt;Chapter 2.2&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Create a Hamburger Menu using only HTML and CSS!!!</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Mon, 20 Dec 2021 06:09:13 +0000</pubDate>
      <link>https://dev.to/subhransuindia/create-a-hamburger-menu-using-only-html-and-css-12ki</link>
      <guid>https://dev.to/subhransuindia/create-a-hamburger-menu-using-only-html-and-css-12ki</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;Hello&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.2"&gt;Chapter 2 (Part 2)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Inform Our World &lt;a href="https://inform-our-world.github.io/"&gt;Link here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hamburger menu using only HTML and CSS? Ya, it is definitely possible {Not Kidding}. Using JavaScript for creating a Hamburger Menu is a little bit of difficult if you are new to the world of coding. (I literally found out difficult to create a Hamburger Menu using JS). But I have a solution for this...&lt;/p&gt;

&lt;p&gt;Many people do not know this amazing tagname &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But only using (also &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt;) these two tags, we can make a Hamburger menu.&lt;/p&gt;

&lt;p&gt;First create the HTML file...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Hamburger Menu&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

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

&lt;/div&gt;



&lt;p&gt;then add &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; tag in the body...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Hamburger Menu&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;details&amp;gt;

&amp;lt;/details&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;then add &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt; tag under &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Hamburger Menu&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;details&amp;gt;
&amp;lt;summary&amp;gt;Hello There!&amp;lt;/summary&amp;gt;
&amp;lt;/details&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Then add the content...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Hamburger Menu&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;details&amp;gt;
&amp;lt;summary&amp;gt;Hello There!&amp;lt;/summary&amp;gt;
&amp;lt;a href="https://inform-our-world.github.io/"&amp;gt;My Website&amp;lt;/a&amp;gt;
&amp;lt;a href="https://inform-our-world.github.io/Saqha/CH 2.2"&amp;gt;Latest Chapter&amp;lt;/a&amp;gt;
&amp;lt;/details&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;And yeah, your hamburger menu is created. But can you notice a thing. That is the arrow before the text. We can hide it too!!!&lt;/p&gt;

&lt;p&gt;Just add...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Hamburger Menu&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
details &amp;gt; summary {
list-style: none;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;details&amp;gt;
&amp;lt;summary&amp;gt;Hello There!&amp;lt;/summary&amp;gt;
&amp;lt;a href="https://inform-our-world.github.io/"&amp;gt;My Website&amp;lt;/a&amp;gt;
&amp;lt;a href="https://inform-our-world.github.io/Saqha/CH 2.2"&amp;gt;Latest Chapter&amp;lt;/a&amp;gt;
&amp;lt;/details&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;To make it more appropriate,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Hamburger Menu&amp;lt;/title&amp;gt;
&amp;lt;meta charset="utf-8"&amp;gt;
&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;
&amp;lt;style&amp;gt;
body {
  margin: 0;
}
details &amp;gt; summary {
list-style: none;
}
details {
cursor: pointer;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;details&amp;gt;
&amp;lt;summary&amp;gt;Hello There!&amp;lt;/summary&amp;gt;
&amp;lt;a href="https://inform-our-world.github.io/"&amp;gt;My Website&amp;lt;/a&amp;gt;
&amp;lt;a href="https://inform-our-world.github.io/Saqha/CH 2.2"&amp;gt;Latest Chapter&amp;lt;/a&amp;gt;
&amp;lt;/details&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Hamburger Menu is created!!!&lt;/p&gt;

&lt;p&gt;To hide the underline in &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag, see the previous post...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/subhransuindia/how-to-remove-underline-in-tag-3k5m"&gt;How to remove underline in &lt;code&gt;&amp;lt;a href=""&amp;gt;&lt;/code&gt; tag.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you for your time 😁&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>beginners</category>
      <category>frontenddeveloper</category>
    </item>
    <item>
      <title>New Chapter Published</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Sat, 18 Dec 2021 04:03:24 +0000</pubDate>
      <link>https://dev.to/subhransuindia/new-chapter-published-4m3p</link>
      <guid>https://dev.to/subhransuindia/new-chapter-published-4m3p</guid>
      <description>&lt;p&gt;New Chapter Link :- &lt;a href="https://inform-our-world.github.io/Saqha/CH%202.2"&gt;Saqha, Chapter 2 Part 2&lt;/a&gt;&lt;br&gt;
&lt;a href="https://inform-our-world.github.io/"&gt;Inform Our World&lt;/a&gt; - My Website&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
      <category>frontenddeveloper</category>
    </item>
    <item>
      <title>How to remove underline in &lt;a href=""&gt; tag. </title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Tue, 14 Dec 2021 04:41:47 +0000</pubDate>
      <link>https://dev.to/subhransuindia/how-to-remove-underline-in-tag-3k5m</link>
      <guid>https://dev.to/subhransuindia/how-to-remove-underline-in-tag-3k5m</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;Hello&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Previous Chapter &lt;a href="https://inform-our-world.github.io/Saqha/CH%202"&gt;Chapter 2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Inform Our World &lt;a href="https://inform-our-world.github.io/"&gt;Link here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag, an essential tag for web development. This is the only way (as I thought) to add hyperlinks to website. This tag plays a main role to make a NavBar and that in turn plays an important role in web-development. Many of my website or all of my website have a navbar in turn have a &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag. &lt;/p&gt;

&lt;p&gt;But there is a problem in &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag. When you implement it such as&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;a href="#"&amp;gt;Hello&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5fs7xHBL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uhnpw10wt8vrmtmyu55d.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5fs7xHBL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uhnpw10wt8vrmtmyu55d.jpg" alt="Underlined hyperlink" width="112" height="64"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then the output text would have an underline. It is useful because we can distinguish between a hyperlink and a text. But when you want to create your own method of distinguishing, it is very much terrible to look with undrline text.&lt;/p&gt;

&lt;p&gt;So, to prevent underline hyperlink, implement the following...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;style&amp;gt;
a {
color: /* Choose any */;
text-decoration: none;
}
&amp;lt;/style&amp;gt;

&amp;lt;body&amp;gt;
&amp;lt;a href="#"&amp;gt;Some Text...&amp;lt;/a&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1COfy1vE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8gc2vcu8ix4q08ldc9rj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1COfy1vE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8gc2vcu8ix4q08ldc9rj.jpg" alt="No Underline" width="256" height="82"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After implementing, the hyperlink will have no underline.&lt;/p&gt;

&lt;p&gt;Thanks for Reading 😇&lt;/p&gt;

</description>
      <category>basics</category>
      <category>html</category>
      <category>css</category>
      <category>frontenddeveloper</category>
    </item>
    <item>
      <title>New Chapter Published</title>
      <dc:creator>Subhransu Patra</dc:creator>
      <pubDate>Sun, 12 Dec 2021 04:47:33 +0000</pubDate>
      <link>https://dev.to/subhransuindia/new-chapter-published-1ija</link>
      <guid>https://dev.to/subhransuindia/new-chapter-published-1ija</guid>
      <description>&lt;p&gt;A new chapter Published of my new short story. Link &lt;a href="https://inform-our-world.github.io/Saqha/CH%202"&gt;here&lt;/a&gt;&lt;br&gt;
My Website &lt;a href="https://inform-our-world.github.io/"&gt;Inform Our World&lt;/a&gt;&lt;/p&gt;

</description>
      <category>website</category>
      <category>javascript</category>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
