<?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: Rishav Raj</title>
    <description>The latest articles on DEV Community by Rishav Raj (@iamrishavraj1).</description>
    <link>https://dev.to/iamrishavraj1</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%2F486966%2F0cccf3e7-d494-4977-8214-4a552964a6b6.jpg</url>
      <title>DEV Community: Rishav Raj</title>
      <link>https://dev.to/iamrishavraj1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iamrishavraj1"/>
    <language>en</language>
    <item>
      <title>Docz - It's never been easier to document your things! Let's test this statement – 2022</title>
      <dc:creator>Rishav Raj</dc:creator>
      <pubDate>Fri, 14 Jan 2022 09:02:28 +0000</pubDate>
      <link>https://dev.to/iamrishavraj1/docz-its-never-been-easier-to-document-your-things-lets-test-this-statement-2022-4i1a</link>
      <guid>https://dev.to/iamrishavraj1/docz-its-never-been-easier-to-document-your-things-lets-test-this-statement-2022-4i1a</guid>
      <description>&lt;p&gt;Whether you are the founder of a start-up or multinational company, developer and project admin, you know what you all have in common?&lt;br&gt;
Document, yes it is an important part of your product, without documenting the product is like selling a dress without a tag.&lt;/p&gt;

&lt;p&gt;Imagine you go shopping and you like a dress but there is no tag on it, so you don't understand whether this dress is in your budget or not. &lt;/p&gt;

&lt;p&gt;Similarly if you launch a product or you develop an application for your startup or multinational company without great documentation your product or service will not be well-received and if you’re the only one who understands it if so, it doesn’t do any good. So Having the right documents can help keep your audience and users happy and satisfied.&lt;/p&gt;

&lt;p&gt;In the software industry, technical documentation describes the various API routes and various steps a developer can take to get started with a project but creating a perfect document is also difficult and it also takes a long time. But we see how the technology is becoming more advanced day by day and by using the latest technology a developer has created &lt;strong&gt;Docz - It's never been easier to document your things! open source software.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Docz
&lt;/h2&gt;

&lt;p&gt;Creating documentation is not just writing about the product or project, it is much more than that. It should be easy to read, be SEO-friendly and precise.&lt;/p&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.docz.site/"&gt;Docz&lt;/a&gt; is an &lt;a href="https://github.com/doczjs/docz/"&gt;Open-Source Software&lt;/a&gt; powered by Gatsby that helps in creating or maintaining documents and It has all above features to make the document perfect as per their official documentation claim.&lt;/p&gt;

&lt;p&gt;It uses GatsbyJS and Gatsby theme shadowing to let you quickly develop live-reloading, SEO-friendly, production-ready documentation sites using MDX and adjust the look, feel, and behaviour as needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Principle
&lt;/h3&gt;

&lt;p&gt;After reading the &lt;a href="https://www.docz.site/"&gt;Docz&lt;/a&gt; documentation thoroughly we can say that it is a really impressive application and creating documentation is now just a piece of cake. It is built on the most important principles of document creation, making it easy for users to create great quality documentation. Here are some key features mentioned which we’ll be testing in this article:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Zero config and easy to learn: Avoid unnecessary build steps with confusing setups.&lt;/li&gt;
&lt;li&gt;Blazing fast: Built with performance in mind from the start.&lt;/li&gt;
&lt;li&gt;Easy to customize: Create something that will be easy to use and customize.&lt;/li&gt;
&lt;li&gt;MDX-based: Use the best standard for writing documentation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest example is their own documentation. You see how it was built, simple and easy to understand and its principles meet all the requirements to create a perfect document. But writing these principles into a document is not proof that it works that way. There are a lot of applications in the market which claim to do a bunch of things but fail to meet the requirements of the user.&lt;/p&gt;

&lt;p&gt;Thus, before we start using this application, why not test this application and lay out the results so that it may be helpful to users in need of genuine documentation solutions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Testing
&lt;/h3&gt;

&lt;p&gt;So as per the principles of Docz, it takes no time to learn, has zero configuration, is faster than any other application and makes the theme customizable to the user to design it as per their choice.&lt;/p&gt;

&lt;p&gt;Let us understand all these statements one by one.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Zero Configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's see how we add Docz to our project. So basically, we have to install NodeJS in our system and after installing NodeJS we have to create a folder for the project somewhere in our system and open the project folder in the terminal.&lt;/p&gt;

&lt;p&gt;Now execute the command below in the terminal and be sure you are in the project directory.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ yarn create docz-app my-docz-app --example typescript&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;💥 BOOM, You're... &lt;/p&gt;

&lt;h2&gt;
  
  
  For Full Article, visit &lt;a href="https://aviyel.com/post/1793/it-s-never-been-easier-to-document-your-things-let-s-test-this-statement-in-2022"&gt;Aviyel&lt;/a&gt;
&lt;/h2&gt;

</description>
    </item>
    <item>
      <title>The ultimate list of Open Source alternatives for paid applications in 2021</title>
      <dc:creator>Rishav Raj</dc:creator>
      <pubDate>Fri, 26 Nov 2021 11:33:13 +0000</pubDate>
      <link>https://dev.to/iamrishavraj1/the-ultimate-list-of-open-source-alternatives-for-paid-applications-in-2021-2f83</link>
      <guid>https://dev.to/iamrishavraj1/the-ultimate-list-of-open-source-alternatives-for-paid-applications-in-2021-2f83</guid>
      <description>&lt;p&gt;Open source software has marked its presence in every tech domain today. Moreover, the recent IPO of GitLab and Confluent has tilted the IT- industry towards more developer-centric and open-source software. But what are these open-source software anyway? When a developer creates and releases its source code publicly with a license so that anyone can see, add or modify some functionality, that's when software is termed as open. Most importantly, anyone can download and use them for FREE. It gives extra power to all of us- the developers, users, and especially, the contributors.&lt;/p&gt;

&lt;p&gt;When Open Source was introduced in the 90s, the software industry was sceptical about the whole process. However, two decades later, the same companies use Open Source for their products or develop their open-source software (OSS), like Facebook with its React library, Google's Android, and Amazon with AWS. Today, many open-source technology companies such as RedHat, MongoDB, and Cloudera have more than $100 million annual revenue.&lt;/p&gt;

&lt;p&gt;Open Source is so popular nowadays. According to some organizations, open-source software contributes up to £43 billion to UK GDP. The latest report claims that top contributors of Open-Source Software (OSS) are from Europe. It ranks fifth as the largest open-source contributor globally.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Open Source works with Quantity to create superior Quality of software.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Why Use Open Source Software Over Paid Alternatives?
&lt;/h1&gt;

&lt;p&gt;Imagine you bought a new mobile phone and Google started charging you for using Android? It sounds scary? But there are many other paid software in the market that charge money for the same functionality that Open Source Software gives us for FREE.&lt;/p&gt;

&lt;p&gt;Open-Source Software (OSS) is known for&lt;/p&gt;

&lt;p&gt;● Security&lt;/p&gt;

&lt;p&gt;● Affordability&lt;/p&gt;

&lt;p&gt;● Transparency&lt;/p&gt;

&lt;p&gt;● Consistent&lt;/p&gt;

&lt;p&gt;● Interoperability&lt;/p&gt;

&lt;p&gt;● Flexibility&lt;/p&gt;

&lt;p&gt;● Localization&lt;/p&gt;

&lt;p&gt;Take an example of Windows operating systems that are not Open-Source Software and more prone to software virus attacks than Open-Source Software Linux operating systems. People around the world contribute to Linux every day to make more improvements. Here you see how Open Source Softwares work better in Security and Transparency in comparison to paid software.&lt;/p&gt;

&lt;h1&gt;
  
  
  Plan Your Next Weekend!
&lt;/h1&gt;

&lt;p&gt;You can plan your NEXT WEEKEND by using Open Source Softwares, maybe it sounds funny, but it is true. If you use Open Source Softwares instead of paying for paid software, you will save money.&lt;/p&gt;

&lt;h3&gt;
  
  
  Open Source Softwares Alternatives for Paid Softwares
&lt;/h3&gt;

&lt;p&gt;The list of Open Source Softwares that we can use for personal or professional use.&lt;/p&gt;

&lt;p&gt;Let me start with my favourite Open Source Softwares, which I am currently using the most, and many Startups and Developers are also using in their projects.&lt;/p&gt;

&lt;h1&gt;
  
  
  Docz - It's never been easier to document your things.
&lt;/h1&gt;

&lt;p&gt;As a developer, I understand how necessary documentation is and how hard it is to create a proper document. But now, creating documents using Docz is a piece of cake.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.docz.site/"&gt;Docz&lt;/a&gt; is an &lt;a href="https://github.com/doczjs/docz/"&gt;Open-Source Software&lt;/a&gt; powered by Gatsby that helps in creating or maintaining documents.&lt;/p&gt;

&lt;p&gt;In just a few steps, and you will be ready with your document.&lt;/p&gt;

&lt;p&gt;For More info, read this excellent article &lt;a href="https://aviyel.com/post/1265/using-mdx-with-docz-has-never-been-this-easy"&gt;Using MDX with Docz Has Never Been This Easy!&lt;/a&gt; or visit their official &lt;a href="https://www.docz.site/"&gt;website&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Typesense - Lightning-fast, Open Source Search Engine.
&lt;/h1&gt;

&lt;p&gt;Search is a significant part of any programmer. &lt;a href="https://typesense.org/"&gt;Typesense&lt;/a&gt; is an &lt;a href="https://github.com/typesense/typesense"&gt;Open Source search&lt;/a&gt; engine that gives you the most accurate results even after spelling mistakes or typos. It is simple to use and an Open Source alternative to Algolia and ElasticSearch. It displays synonyms of results, uses dynamic sorting, groups all your searches into a single search, and gives you the power to filter the search as per your preference.&lt;/p&gt;

&lt;p&gt;Read this excellent article, &lt;a href="https://aviyel.com/post/1194/a-beginner-s-journey-to-typesense-dashboard"&gt;A Beginner's Journey to Typesense Dashboard&lt;/a&gt;, or visit their official &lt;a href="https://typesense.org/"&gt;website&lt;/a&gt; for More info.&lt;/p&gt;

&lt;h1&gt;
  
  
  Mobile Security Framework ( MobSF ) - All In One Mobile Application.
&lt;/h1&gt;

&lt;p&gt;Cyber-attack is when hackers attack your personal or professional device, steal all your data, and use it for any crime. A tool that helps keep all your data secure is called &lt;a href="https://mobsf.github.io/docs/#/"&gt;Mobile Security Framework (MobSF)&lt;/a&gt;, an &lt;a href="https://github.com/MobSF/Mobile-Security-Framework-MobSF"&gt;Open Source&lt;/a&gt; tool used for automated analysis of an APK.&lt;/p&gt;

&lt;p&gt;It is straightforward to install, ready to analyze security on multiple mobile platforms like Android, iOS, and even Windows, and also has a graphic interface that is more engaging,&lt;/p&gt;

&lt;p&gt;For More info, you read this excellent article &lt;a href="https://aviyel.com/post/1328/why-chatwoot-is-my-favorite-open-source-project-integrations-integrations-and-integrations"&gt;Mobile Security Assessment for Android, iOS, and Windows&lt;/a&gt;, or visit their official &lt;a href="https://mobsf.github.io/docs/#/"&gt;website&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Chatwoot - The Better Way To Talk to Your Customers.
&lt;/h1&gt;

&lt;p&gt;Imagine you start your startup, and you get a lot of messages through the mail, telegram, Twitter, and other platforms, and you get tired of replying to all the messages, and sometimes you don't even respond to some messages.&lt;/p&gt;

&lt;p&gt;Not replying to the message makes a wrong impression of your company, so to get rid of this problem,Chatwoot will help you to communicate with your customer effectively.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.chatwoot.com/"&gt;Chatwoot&lt;/a&gt; is &lt;a href="https://github.com/chatwoot/chatwoot"&gt;Open-Source Software&lt;/a&gt; that integrates with all your social media platforms in a single dashboard so that you can connect with your customers in one place. Sometimes some users have simple questions and don't need to wait until you see a message to answer. If you enable Chatwoot's Live Chat, Chatwoot contacts him immediately, which will make a good impression on your startup.&lt;/p&gt;

&lt;p&gt;For More info, you read this excellent article &lt;a href="https://aviyel.com/post/1328/why-chatwoot-is-my-favorite-open-source-project-integrations-integrations-and-integrations"&gt;Why Chatwoot is My Favorite Open Source Project? Integrations, Integrations, and Integrations&lt;/a&gt; or visit their official &lt;a href="https://www.chatwoot.com/"&gt;website&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Hoppscotch - API Development System
&lt;/h1&gt;

&lt;p&gt;API is every developer's best friend. Working with API is like eating food every day. A few years ago, working with APIs was much harder than it is today. It took the developer a long time to complete the test of the API.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://hoppscotch.io/"&gt;Hoppscotch&lt;/a&gt; API makes it easy to work with. The &lt;a href="https://github.com/hoppscotch/hoppscotch"&gt;Open-Source Software&lt;/a&gt; API development ecosystem simplifies creating, using, and testing APIs with a beautiful User Interface.&lt;/p&gt;

&lt;p&gt;For More info, you read this excellent article &lt;a href="https://aviyel.com/post/206/how-to-test-your-api-with-hoppscotch"&gt;How to Test Your API with Hoppscotch&lt;/a&gt; or visit their official &lt;a href="https://hoppscotch.io/"&gt;website&lt;/a&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  For Full Article, visit &lt;a href="https://aviyel.com/post/1432/the-ultimate-list-of-open-source-alternatives-for-paid-applications-in-2021"&gt;Aviyel&lt;/a&gt;
&lt;/h3&gt;

</description>
    </item>
    <item>
      <title>What is React Prop Drilling and Context API</title>
      <dc:creator>Rishav Raj</dc:creator>
      <pubDate>Wed, 15 Sep 2021 09:00:40 +0000</pubDate>
      <link>https://dev.to/iamrishavraj1/what-is-react-prop-drilling-and-context-api-cjl</link>
      <guid>https://dev.to/iamrishavraj1/what-is-react-prop-drilling-and-context-api-cjl</guid>
      <description>&lt;p&gt;Before starting this blog, I assume that you all should have basic knowledge about React. &lt;br&gt;
In this blog we are going to learn one of the best concept of React - Prop Drilling and Context API.&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%2Fb12vgd7goncou8i6yxds.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%2Fb12vgd7goncou8i6yxds.png" alt="react"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Prop drilling&lt;/strong&gt; is a method where we pass a props with another component with the help of all the components that come between them.&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%2Fotoe7e9bur98rjl5wycv.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%2Fotoe7e9bur98rjl5wycv.gif" alt="Drill"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Let us understand with a real life example.
&lt;/h2&gt;

&lt;p&gt;Imagine you are in school and you are sitting on the last bench and your best friend is sitting on the first bench. Suddenly your best friend needs a pen and you have a spare pen and you want to give that pen to your best friend. For this, ask your friend sitting on your next bench to take the pen and forward it to the next one and said that repeat this until the pen reaches your friend.&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%2F3pwf1yh52q6k3601rqns.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%2F3pwf1yh52q6k3601rqns.png" alt="Class"&gt;&lt;/a&gt;&lt;br&gt;
Here you can see how he gives a pen to his best friend with the help of another bench. &lt;br&gt;
In &lt;strong&gt;React&lt;/strong&gt; also if we want to pass props to any other component then we have to pass props to all the components which come between them and This whole process is known as &lt;strong&gt;React Prop Drilling&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Now come and understand all these things with the help of code.
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React, { useState } from "react";

//FIRST COMPONENT
const LastBench = () =&amp;gt; {
  const [penName, setPenName] = useState("Blue Gel Pen");
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Last Bench&amp;lt;/h1&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//SECOND COMPONENT
const NextBench = () =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Next Bench.&amp;lt;/h1&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//THIRD COMPONENT
const FirstBench = () =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hey I am First Bench&amp;lt;/h1&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

export default LastBench;

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

&lt;/div&gt;


&lt;blockquote&gt;
&lt;p&gt;In the above code you see that we create 3 components. In the first component we declare a pen name with the help of useState hook. Now we have to pass the pen name to the last component with the help of second component&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React, { useState } from "react";

//FIRST COMPONENT

const LastBench = () =&amp;gt; {
  const [penName, setPenName] = useState("Blue Gel Pen");
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Last Bench&amp;lt;/h1&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;NextBench penName={penName} /&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//SECOND COMPONENT
const NextBench = ({ penName }) =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Next Bench.&amp;lt;/h1&amp;gt;
      &amp;lt;FirstBench penName={penName} /&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//THIRD COMPONENT
const FirstBench = () =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hey I am First Bench&amp;lt;/h1&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

export default LastBench;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;We call second component in first component then we pass props with penName And then we repeat all these things in second component. We call the last component, then we pass the props named penName.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React, { useState } from "react";

//FIRST COMPONENT

const LastBench = () =&amp;gt; {
  const [penName, setPenName] = useState("Blue Gel Pen");
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Last Bench&amp;lt;/h1&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;NextBench penName={penName} /&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//SECOND COMPONENT
const NextBench = ({ penName }) =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Next Bench.&amp;lt;/h1&amp;gt;
      &amp;lt;FirstBench penName={penName} /&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//THIRD COMPONENT
const FirstBench = ({ penName }) =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hey I am First Bench&amp;lt;/h1&amp;gt;
      &amp;lt;h4&amp;gt;{penName} Here i got My Pen&amp;lt;/h4&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

export default LastBench;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Now You can see Above code we Finally use props in last component which we declared in first component. In second component we have passed props now we can use that props in third component.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  This is how &lt;strong&gt;React Prop Drilling Work&lt;/strong&gt;.
&lt;/h1&gt;

&lt;p&gt;But you can see in the code that the props we use in second components are useless. They don't need that props, but we pass that props for use in the third component.&lt;/p&gt;

&lt;h3&gt;
  
  
  It's just like you bother the next bench to pass the pen to the first bench.
&lt;/h3&gt;

&lt;p&gt;To avoid all this, we use the &lt;strong&gt;Context API&lt;/strong&gt;. It works like  you called the teacher and requested him/her to give this pen to his friend who are sitting on the first bench.&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%2F3fgpdzydxf0hjywwjcg4.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%2F3fgpdzydxf0hjywwjcg4.png" alt="Api"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Now let's refactor the above code with the Context API and the useContext hook.
&lt;/h3&gt;

&lt;p&gt;We have to create an object with React.createContext() in global. Each context object comes with a provider component that assigns a value to the context object. To add that value we have to pass "value" attribute with them&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React, { useState, useContext } from "react";

//FIRST COMPONENT
const TeacherContext = React.createContext();
const LastBench = () =&amp;gt; {
  const [penName, setPenName] = useState("Blue Gel Pen");
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Last Bench&amp;lt;/h1&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;TeacherContext.Provider value={{ penName }}&amp;gt;
        &amp;lt;NextBench /&amp;gt;
      &amp;lt;/TeacherContext.Provider&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//SECOND COMPONENT
const NextBench = () =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Next Bench.&amp;lt;/h1&amp;gt;
      &amp;lt;FirstBench /&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//THIRD COMPONENT
const FirstBench = () =&amp;gt; {

  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hey I am First Bench&amp;lt;/h1&amp;gt;
      &amp;lt;h4&amp;gt;Here i got My Pen&amp;lt;/h4&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

export default LastBench;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;In above code you see that we create an object named TeacherContext with the help of React.createContext() and use that object with Provider component with value attribute in first component, where we create a props with name PenName.&lt;br&gt;
Now we need to pass the props to our last component directly. For that we need "useContext" keyword.&lt;/p&gt;
&lt;/blockquote&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%2Fycgl3c8l9d4dwb1toxyo.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%2Fycgl3c8l9d4dwb1toxyo.png" alt="context"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React, { useState, useContext } from "react";

//FIRST COMPONENT
const TeacherContext = React.createContext();
const LastBench = () =&amp;gt; {
  const [penName, setPenName] = useState("Blue Gel Pen");
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Last Bench&amp;lt;/h1&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;TeacherContext.Provider value={{ penName }}&amp;gt;
        &amp;lt;NextBench /&amp;gt;
      &amp;lt;/TeacherContext.Provider&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//SECOND COMPONENT
const NextBench = () =&amp;gt; {
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hello I am Next Bench.&amp;lt;/h1&amp;gt;
      &amp;lt;FirstBench /&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

//THIRD COMPONENT
const FirstBench = () =&amp;gt; {
  const { penName } = useContext(TeacherContext);
  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Hey I am First Bench&amp;lt;/h1&amp;gt;
      &amp;lt;h4&amp;gt;{penName} Here i got My Pen&amp;lt;/h4&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

export default LastBench;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;We can see in the above code that the “useContext” keyword will make the first component props available to the last component and in last we use that prop in our component.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&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%2F94nsokjx230nkelfc16o.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%2F94nsokjx230nkelfc16o.png" alt="done"&gt;&lt;/a&gt;&lt;br&gt;
We pass the value of the first component to the last component without disturbing the other components with using &lt;em&gt;useContext&lt;/em&gt; hook.&lt;/p&gt;

&lt;h1&gt;
  
  
  Let's Connect With Me
&lt;/h1&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%2Fjfg11ho53427ouafkqt9.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%2Fjfg11ho53427ouafkqt9.png" alt="connect"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Thank You for reading this blog 😀&lt;br&gt;
I hope all of you have benefited after reading this blog 🎉&lt;br&gt;
Do Share it with your friends and family and get them benefit from it too 🧡👍&lt;br&gt;
Here You Connect with me &lt;a href="https://connect.rishavraj.codes/" rel="noopener noreferrer"&gt;https://connect.rishavraj.codes/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>computerscience</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>Make Your First Website Using HTML &amp; CSS - Basic of Web Development .</title>
      <dc:creator>Rishav Raj</dc:creator>
      <pubDate>Sun, 27 Jun 2021 17:33:37 +0000</pubDate>
      <link>https://dev.to/iamrishavraj1/make-your-first-website-using-html-css-basic-of-web-development-2inm</link>
      <guid>https://dev.to/iamrishavraj1/make-your-first-website-using-html-css-basic-of-web-development-2inm</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Web development is the work involved in developing a Web site for the Internet (World Wide Web). From building a personal website to building a social media web app, everything is a web development work and HTML and CSS are the beginning of everything you need to know to make your first web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At the end of this blog, your first personal portfolio website will be ready.&lt;/strong&gt;&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%2Fpfu2xguga0srmsirrqyi.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%2Fpfu2xguga0srmsirrqyi.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Setup Our Project
&lt;/h1&gt;

&lt;p&gt;First we need to set our project folder in our PC and after creating the folder we open that folder in any IDE (in my case I use VS Code), you can choose whatever you want. After opening the folder in IDE, we need to create files with .html extension for HTML file and .css for CSS file.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;VS-Code&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&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%2Fgttlq6ymn9b1hx5kboov.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%2Fgttlq6ymn9b1hx5kboov.png" alt="*VS-Code*"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;or you may choose online IDE like codepen.io.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Codepen.io&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&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%2Foiau1cdbi7vv63idg09y.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%2Foiau1cdbi7vv63idg09y.png" alt="*Codepen.io*"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Let's Start Our Project
&lt;/h1&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%2Fbnid89cf8knl8shq61p2.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%2Fbnid89cf8knl8shq61p2.png" alt="Let's Go"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Introduction of HTML
&lt;/h1&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%2Fnqz5dtmgt9rkdu5llvo5.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%2Fnqz5dtmgt9rkdu5llvo5.png" alt="Introduction"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HTML is the hypertext markup language used to create the website structure and its content. Headlines, paragraphs, tables, links, images in a website are all done with HTML.&lt;br&gt;
Let's understand from code, open your project on IDE and in HTML file, write this code and open in your browser( right click and click Open in browser ).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8" /&amp;gt;
    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&amp;gt;
    &amp;lt;meta
      name="viewport"
      content="width=device-width, 
    initial-scale=1.0"
    /&amp;gt;
    &amp;lt;title&amp;gt;Rishav Raj || Portfolio&amp;lt;/title&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;div&amp;gt;
      &amp;lt;h1&amp;gt;Hello 👋, I am Rishav Raj&amp;lt;/h1&amp;gt;
      &amp;lt;h3&amp;gt;Front-End Web Developer || Passionate Coder ||
         Volunteer&amp;lt;/h3&amp;gt;
      &amp;lt;p&amp;gt;
        I know how to write code and 
        want to become an awesome Programmer
         and Developer. 
         I am currently learning Front-End Web Development.
         l ❤ to  play with CSS and JAVASCRIPT. 
        I ❤ to Write Code in JavaScript, Python,
        and C++ .
      &amp;lt;/p&amp;gt;
      &amp;lt;h1&amp;gt;Education&amp;lt;/h1&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;tr&amp;gt;
          &amp;lt;th&amp;gt;Degree&amp;lt;/th&amp;gt;
          &amp;lt;th&amp;gt;College&amp;lt;/th&amp;gt;
          &amp;lt;th&amp;gt;Year&amp;lt;/th&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
          &amp;lt;td&amp;gt;Bachelor's Degree in Mechanical Engineering&amp;lt;/td&amp;gt;
          &amp;lt;td&amp;gt;BIT Mesra&amp;lt;/td&amp;gt;
          &amp;lt;td&amp;gt;2019-Present&amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
          &amp;lt;td&amp;gt;Intermediate Degree&amp;lt;/td&amp;gt;
          &amp;lt;td&amp;gt;R.L.S.Y. College, Anisabad,Patna&amp;lt;/td&amp;gt;
          &amp;lt;td&amp;gt;2016-2019&amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
      &amp;lt;/table&amp;gt;
      &amp;lt;h1&amp;gt;My Hobby&amp;lt;/h1&amp;gt;
      &amp;lt;ul&amp;gt;
        &amp;lt;li&amp;gt;Photgraphy&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;Reading&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;Coding&amp;lt;/li&amp;gt;
      &amp;lt;/ul&amp;gt;
      &amp;lt;div class="contact"&amp;gt;
        &amp;lt;h2&amp;gt;Connect With Me&amp;lt;/h2&amp;gt;
        &amp;lt;button id="fb"&amp;gt;
          &amp;lt;a href="https://www.facebook.com/iamrishavraj1/"&amp;gt;
            Follow me on Facebook
          &amp;lt;/a&amp;gt;
        &amp;lt;/button&amp;gt;
        &amp;lt;button id="link"&amp;gt;
          &amp;lt;a href="https://www.linkedin.com/in/iamrishavraj1/"&amp;gt;
            Follow me on Linkedin
          &amp;lt;/a&amp;gt;
        &amp;lt;/button&amp;gt;
        &amp;lt;button id="git"&amp;gt;
          &amp;lt;a href="https://github.com/iamrishavraj1/"&amp;gt; 
            Follow me on Github &amp;lt;/a&amp;gt;
        &amp;lt;/button&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  This is what it looks like when opened in a browser 👇
&lt;/h3&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%2Fnt4u6u0986awgy0n560t.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%2Fnt4u6u0986awgy0n560t.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Start with &lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/code&gt; This declaration defines that this document is an HTML5 document. &lt;em&gt;HTML&lt;/em&gt; &amp;amp; &lt;em&gt;HTML 5&lt;/em&gt; both are same. &lt;em&gt;HTML 5&lt;/em&gt; are just updated version of &lt;em&gt;HTML&lt;/em&gt;.&lt;br&gt;
&lt;code&gt;&amp;lt;html lang="en"&amp;gt;&lt;/code&gt; This declaration defines to declare the language of the Web page.&lt;br&gt;
&lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; The element contains meta information about the HTML page. &lt;br&gt;
&lt;code&gt;&amp;lt;meta&amp;gt;&lt;/code&gt; Meta data may be used by browsers (content or methods of page reloading), search engines (keywords), or other web services, including keywords for page information, the author of the document, last modified, and metadata.&lt;br&gt;
&lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; title element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab). Using JavaScript you can change the title dynamically.&lt;br&gt;
&lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; body tag is the main part or element of HTML document. It contain text content, paragraphs, headings, images, tables, links, videos, etc. &lt;br&gt;
Now, in body tag we struct all the parts of website.&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%2F2q9sidkj5uvobpwt8a3m.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%2F2q9sidkj5uvobpwt8a3m.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, let's start building our website structure. we start from heading, in &lt;em&gt;HTML&lt;/em&gt; heading define with &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;h6&amp;gt;&lt;/code&gt; tag.&lt;br&gt;&lt;br&gt;
&lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; define most important heading or largest font size heading and &lt;code&gt;&amp;lt;h6&amp;gt;&lt;/code&gt; is for least important heading or smallest font size heading. After creating heading with &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;h6&amp;gt;&lt;/code&gt; tag, now we move to paragraph where we use &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag to create paragraph in &lt;em&gt;HTML&lt;/em&gt;.&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%2F4d449x48md432f8a2x8w.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%2F4d449x48md432f8a2x8w.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Above code you see that we put a heading in &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; tag.&lt;br&gt;
The &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; tag is also known as the division tag, it makes it easy to create different divisions for websites like navbar, header, sidebar and footer etc.&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%2Fefvsb9ckz8v1znp84a9e.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%2Fefvsb9ckz8v1znp84a9e.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I used &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; tag for main title and &lt;code&gt;&amp;lt;h3&amp;gt;&lt;/code&gt; tag for sub-heading, After title you see there is &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag which is used for paragraph. &lt;br&gt;
Now after heading and paragraph let us see how we create table in &lt;em&gt;HTML&lt;/em&gt;, as you see in the code i have again used &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; tag for education title and after that i have used &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt; tag which is used to create a table in &lt;em&gt;HTML&lt;/em&gt;. In &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt; tag we use &lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; tag which defines table row where we write our data, In the first &lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; tag we use &lt;code&gt;&amp;lt;th&amp;gt;&lt;/code&gt; tag which defines the table title, we add three titles in the first &lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; tag (degree, college, year), after that we put a content according to its title in the next &lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; tag and In the second &lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; tag we use the &lt;code&gt;&amp;lt;td&amp;gt;&lt;/code&gt; tag which defines the data cell in the &lt;em&gt;HTML&lt;/em&gt; table. There are two types of cells in HTML table, first- header cell (&lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt;) and second is data cell (&lt;code&gt;&amp;lt;td&amp;gt;&lt;/code&gt;). According to our table header we put our data in the data cell.&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%2F8lfctvr6coeqz4nuo55v.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%2F8lfctvr6coeqz4nuo55v.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now after completing our table we move on to learn about unordered list and ordered list.&lt;br&gt;
To create a list we have to use &lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt; tag or &lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt; tag which defines the order of the list. &lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt; defines an unordered list (bullet) for a list (collection of items) with no numeric or alphabetical order and &lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt; defines an ordered list which means that the collection of data (list) is numerically or alphabetically. &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%2Fcc456y48wdlyy11piqjv.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%2Fcc456y48wdlyy11piqjv.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we come to our last part of our website where we create our contact section where people can click on buttons to find you in different social media. Yes it is possible using &lt;em&gt;HTML&lt;/em&gt; where people click on a button and that button send that user to your social media page.&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%2Fklcw29gmvl6cwj0oy41i.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%2Fklcw29gmvl6cwj0oy41i.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To create a button we use the &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; tag which defines a clickable button. In button we can put different &lt;em&gt;HTML&lt;/em&gt; tags or texts. In this project we put anchor tag &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag that defines a hyperlink that links one page to another. In this anchor tag we will put social media link then when people click on button then that tag will take them directly to that page.&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%2Flc245b44dsuug7re3fo5.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%2Flc245b44dsuug7re3fo5.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we are finally done with our HTML code 👇 , as earlier we have learned that HTML only forms the structure of our website but currently our website is not looking good so to beautify our website we need to use CSS What needs to be done is to make our website look good by giving it some color, margin and padding etc.&lt;/p&gt;

&lt;blockquote&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%2Fsrwp36spx6t27i94z4wp.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%2Fsrwp36spx6t27i94z4wp.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1&gt;
  
  
  Introduction of CSS
&lt;/h1&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%2Fkje987bkeiqeysmnzmj8.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%2Fkje987bkeiqeysmnzmj8.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;CSS&lt;/em&gt; stands for &lt;em&gt;Cascading Style Sheet&lt;/em&gt; , it is a style sheet language used to stylize our website by selecting HTML elements by adding colors, layouts and fonts. It also helps in adapting the presentation to different devices like large screen, small screen.&lt;/p&gt;
&lt;h3&gt;
  
  
  The rules for declaring CSS
&lt;/h3&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%2Fyup28msjor4cdeqkk60y.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%2Fyup28msjor4cdeqkk60y.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
We have to choose which HTML elements we want to style, that element is called selector. we can select that element directly but when we need to select some specific section to style then we create a class or id for the element then we select that class or id and then style them. To create a class or id we need to add class attribute or id attribute to the html element.&lt;/p&gt;

&lt;blockquote&gt;
&lt;h3&gt;
  
  
  For Adding Class
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h1 class="className"&amp;gt;Hello HTML Class Attribute&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;br&gt;
Here class attribute is appended to the starting tag of &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; with equal sign (=) and after = we add class name under quotation mark.&lt;/p&gt;
&lt;h3&gt;
  
  
  For Adding Id
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h1 id="idName"&amp;gt;Hello HTML Id Attribute&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;br&gt;
Here class attribute is appended to the starting tag of &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; with equal sign (=) and after = we add id name under quotation mark.&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%2F851e5zb7oq1e95gwg94s.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%2F851e5zb7oq1e95gwg94s.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;After selecting a selector we open the curly brace, then we add the properties we want to style such as color, font, border, etc. Then we add the colon right after the property and then we add the value for that property, then end with a semicolon and the close curly brace.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;CSS&lt;/em&gt; can be added to HTML in 3 ways - 1. Inline CSS , 2. Internal CSS, 3. External CSS.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Inline Css
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h1 style="color:red;"&amp;gt;Hello World !&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;br&gt;
 To use inline css in html we need to use &lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; attribute. HTML attributes are special words used inside the opening tag to control the element's behaviour.&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Internal CSS
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;head&amp;gt;
&amp;lt;style&amp;gt;
body {
background-color: powderblue;
}
h1{
color: blue;
}
p{
color: red;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Usually we use internal CSS when we make a one page website. It is defined with a style element under the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;
&lt;h3&gt;
  
  
  3. External CSS
&lt;/h3&gt;

&lt;p&gt;For external css we create a new file with extension .css and link that page to html using link attribute. It is generally good practice to use external CSS and generate clean code as well.&lt;br&gt;
After creating the css file we can simply add the style with css.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body {
  background-color: rgb(255, 232, 155);
  text-align: center;
  margin-top: 6%;
}
p {
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;h5&gt;
  
  
  Now we have to add the css file to our portfolio website, after adding the css file our website looks like this👇
&lt;/h5&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%2Fc023bqm2ro17s7ptdpe2.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%2Fc023bqm2ro17s7ptdpe2.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Previously we finished the HTML part, now we have to add the CSS, To add the css file we create a css external file named style.css then we have to link that page with html. For links we have to use &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; attribute in &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag. After creating style.css file we start our styling.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body {
  background-color: rgb(255, 232, 155);
  text-align: center;
  margin-top: 6%;
}
p {
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
}
a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style-type: none;
}

table,
th,
td {
  background-color: #fff;
  margin-left: 28%;
  border: 1px solid black;
  padding: 10px;
}

button {
  padding: 10px;
}

#fb {
  background-color: #3b5998;
}

#link {
  background-color: #0077b5;
}

#git {
  background-color: #333;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Lets understand the above css code, first we style our body with some background color for that we use &lt;em&gt;CSS&lt;/em&gt; background-color property with value rgb(255, 232, 155) or you can write your favorite color code or name.&lt;br&gt;
After styling the background color, we now style our text position, for this we use the &lt;em&gt;CSS&lt;/em&gt; &lt;code&gt;text-align&lt;/code&gt; property with a value of center or you can choose different values ​​(left, right, etc).&lt;br&gt;
Now we style the margins with &lt;em&gt;CSS&lt;/em&gt; margin-top property with a value of 6%, the &lt;code&gt;margin-top&lt;/code&gt; property creates margins only from the top, if we only use the &lt;code&gt;margin&lt;/code&gt; property they create margins from all sides.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body {
  background-color: rgb(255, 232, 155);
  text-align: center;
  margin-top: 6%;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we style the paragraph from selecting a &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag with &lt;em&gt;CSS&lt;/em&gt; &lt;code&gt;font-family&lt;/code&gt; property with a value of &lt;code&gt;"Courier New", Courier, monospace,&lt;/code&gt;  the font-family property changes the font style of paragraph, after styling the font style now we also style the size of font with &lt;em&gt;CSS&lt;/em&gt; &lt;code&gt;font-size&lt;/code&gt; property with value 20px.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p {
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we style anchor tag with CSS &lt;code&gt;text-decoration&lt;/code&gt; property by selecting &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag with value of &lt;code&gt;none&lt;/code&gt;, anchor tag already has some default styling so anchor tag remove all default style from &lt;code&gt;text-decoration&lt;/code&gt; with value &lt;code&gt;none&lt;/code&gt; property, after removing default style from anchor tag we change CSS &lt;code&gt;color&lt;/code&gt; property to '#fff'(white color).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a {
  text-decoration: none;
  color: #fff;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we style unordered list tag with CSS &lt;code&gt;list-style-type&lt;/code&gt; property by selecting &lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt; tag with value of &lt;code&gt;none&lt;/code&gt;, when we use &lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt; tag then it provide bullets style in list so for removing bullets style we use &lt;code&gt;list-style-type&lt;/code&gt; property with &lt;code&gt;none&lt;/code&gt; value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ul {
  list-style-type: none;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we style the table and their cells with CSS &lt;code&gt;border&lt;/code&gt; property by selecting &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt; , &lt;code&gt;&amp;lt;th&amp;gt;&lt;/code&gt;,&lt;code&gt;&amp;lt;td&amp;gt;&lt;/code&gt; tag with value of &lt;code&gt;1px solid black&lt;/code&gt;. When we create a table with HTML elements it doesn't look like a table because they have no borders so we use border property to create borders in tables and their cells. We use a 1px solid #0000 value for the Border property. 1px defines the width of the border, solid defines the style of the border, and #000 defines the color of the border. After creating border the table and their cells look good but all elements are so close to border, for giving space we use &lt;em&gt;CSS&lt;/em&gt; padding property with value of 10px that gives space of 10px from all sides.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;table,
th,
td {
  background-color: #fff;
  margin-left: 28%;
  border: 1px solid black;
  padding: 10px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally we style our buttons with background-color and padding. Here we use id to give some unique style to each button.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;button {
  padding: 10px;
}

#fb {
  background-color: #3b5998;
}

#link {
  background-color: #0077b5;
}

#git {
  background-color: #333;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Our Final Website
&lt;/h1&gt;

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

&lt;p&gt;This is just a basic introduction to web development. Web development is much more than that. To go into the depth of web development, you have to learn all the basic fundamentals first and then move on.&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%2Fzib2akyv6bxojam5nwff.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%2Fzib2akyv6bxojam5nwff.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Let's Connect With Me
&lt;/h1&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%2Fld50vijdv7dze8zyjzv9.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%2Fld50vijdv7dze8zyjzv9.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Thank You for reading this blog 😀&lt;br&gt;
I hope all of you have benefited after reading this blog 🎉&lt;br&gt;
Do Share it with your friends and family and get them benefit from it too 🧡👍&lt;br&gt;
Here You Connect with me &lt;a href="https://connect.rishavraj.codes/" rel="noopener noreferrer"&gt;https://connect.rishavraj.codes/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>computerscience</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Function in Every Programming Language</title>
      <dc:creator>Rishav Raj</dc:creator>
      <pubDate>Thu, 18 Mar 2021 16:01:35 +0000</pubDate>
      <link>https://dev.to/iamrishavraj1/function-in-every-programming-language-2fja</link>
      <guid>https://dev.to/iamrishavraj1/function-in-every-programming-language-2fja</guid>
      <description>&lt;h1&gt;
  
  
  What is Function?
&lt;/h1&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%2F5m02z2xp3wogwoo8z6cv.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%2F5m02z2xp3wogwoo8z6cv.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In Simple Word, The &lt;strong&gt;Function&lt;/strong&gt; is a block of code that we reuse at any time by calling them by their name.&lt;/p&gt;

&lt;h1&gt;
  
  
  Why we Need Function?
&lt;/h1&gt;

&lt;p&gt;Imagine that you are a robot. And you work according to the code written by your boss.&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%2F24ozhpz2lzqw7au1hmpt.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%2F24ozhpz2lzqw7au1hmpt.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your boss need a milk in the morning, so they give you an introduction to buying milk from the shop then come back to home. For this, they write lots of lines of code.&lt;/p&gt;

&lt;h4&gt;
  
  
  Example
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;1. Go to Market&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;move()
moveUp()
moveUp()
moveRight()
moveRight()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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%2F5rn28m6kyyq1srm8awed.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%2F5rn28m6kyyq1srm8awed.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;2. Come back to Home&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;move()
move()
move()
moveDown()
moveDown()
moveRight()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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%2F35vnh4pq7drodts700rt.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%2F35vnh4pq7drodts700rt.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In above, you see that the same code is being repeated multiple times, and this is not a good way to writing a code. Every good programmer uses the DRY (Don't Repeat Yourself) rule to write 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%2Fvs5m2iylimhitiz36rw6.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%2Fvs5m2iylimhitiz36rw6.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the other problem is that your boss needs milk every day, so they will give you introduction daily to go and a buy milk, for this they have to write the same code every day. But it will take a lot of time and a lot of hard work.&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%2F80t4n131mogx0btlp0p4.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%2F80t4n131mogx0btlp0p4.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Time to use Superpower
&lt;/h1&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%2Fl8f6cz2uvdy54r9t7niq.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%2Fl8f6cz2uvdy54r9t7niq.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now is the time to understand how the superpower &lt;strong&gt;&lt;em&gt;Function&lt;/em&gt;&lt;/strong&gt; works and how it helps your boss avoid writing the same lines of code again and again.&lt;/p&gt;

&lt;p&gt;To use a function, we need to define the function first, after that we have to the call the function name to run the code written in function body.&lt;/p&gt;

&lt;h1&gt;
  
  
  Defining a Function
&lt;/h1&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%2Fx5obrzmnohh0m1zgfafx.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%2Fx5obrzmnohh0m1zgfafx.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before using a &lt;strong&gt;Function&lt;/strong&gt; we should define the &lt;strong&gt;Function&lt;/strong&gt; first. Here I am using JavaScript to define the function. If you don't know JavaScript, don't worry after knowing the concept you can use the function in any other programming language. The syntax is different in other programming languages ​​but all concepts are the same. &lt;/p&gt;

&lt;p&gt;Different programming languages name them differently, for example, functions, methods, sub-routines,etc.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The important thing is that you should know the concept of the &lt;strong&gt;Function&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Declaring Function Keyword and Function Name
&lt;/h3&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%2Faxctjph4yxdkagqq6h06.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%2Faxctjph4yxdkagqq6h06.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here you see that I have used the &lt;strong&gt;function&lt;/strong&gt; keyword to define a &lt;strong&gt;Function&lt;/strong&gt; which is a reserved keyword in JavaScript, in other programming languages ​​the keyword may be different.&lt;/p&gt;

&lt;p&gt;After writing the function keyword, I declare the function name. You can declare any name according to your code or project.&lt;/p&gt;

&lt;h3&gt;
  
  
  Parameter List and Function Body
&lt;/h3&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%2Fd0iuio0p5o2d8tyu72f1.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%2Fd0iuio0p5o2d8tyu72f1.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After declaring the function keyword and function name you saw the bracket after the function name in that bracket we pass the value name as a &lt;strong&gt;Parameter&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;In your case your boss sometimes needs a different items from the shop, so they saved the parameter name as an &lt;strong&gt;item&lt;/strong&gt; and &lt;strong&gt;itemQuantity&lt;/strong&gt; so that they can change the value of the item and their quantity according to their need when the function is called.&lt;/p&gt;

&lt;h1&gt;
  
  
  Calling a Function
&lt;/h1&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%2Fm7wrojsrgc1q25s6z396.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%2Fm7wrojsrgc1q25s6z396.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After defining the function and writing the code of instructions to be given to the robot, we now have to call it to use the function.&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%2F0sbatwmmkih6sflsi9lj.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%2F0sbatwmmkih6sflsi9lj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here you see that we call the function by its name and pass the values ​​of the parameters that we have defined earlier.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The value we write after the name of the function is called the argument. You can change the values according to your need.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Final Code
&lt;/h3&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%2Fjkoujdc9ll06q8zb05cm.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%2Fjkoujdc9ll06q8zb05cm.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;move
moveUp
moveUp
moveRight
moveRight
Stop
Go and Buy 2 litre milk.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, you have completed the code using the function. From the above example your boss needs one milk every day, so now they write the code using the function and call the function to work according to the instructions given in the code. &lt;br&gt;
Your boss can change the item according to his requirement by changing the values ​​in arguments like orange juice instead of milk.&lt;/p&gt;
&lt;h3&gt;
  
  
  Example
&lt;/h3&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%2Fvbb4fklnweiwo8io3xby.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%2Fvbb4fklnweiwo8io3xby.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Output
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;move
moveUp
moveUp
moveRight
moveRight
Stop
Go and Buy 2 litre orange juice.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Congratulations 🎉
&lt;/h1&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%2Fkmd0r4gehmudnqe1z5x5.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%2Fkmd0r4gehmudnqe1z5x5.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You have understood the concept of the Function now. So you can use this concept in any programming language and like every good programmer in the world, you can also apply DRY rules in your code. &lt;/p&gt;
&lt;h1&gt;
  
  
  Keep Coding 👨‍💻
&lt;/h1&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%2Ftysygm40iahopabh3pda.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%2Ftysygm40iahopabh3pda.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Let us see how a function is defined in another programming language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In Python&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def goToMarket(item,itemQuantity):
    print("move")
    print("moveUp")
    print("moveUp")
    print("moveRight")
    print("moveRight")
    print("Stop")
    print(f"Go and Buy {item} {itemQuantity} litre .")
goToMarket("orange Juice", 2)

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;In Java&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
  static void myMethod(String item, int itemQuantity) {
    System.out.println("move");
    System.out.println("moveUp");
    System.out.println("moveUp");
    System.out.println("moveRight");
    System.out.println("moveRight");
    System.out.println("Stop");
    System.out.println("Go and Buy " + item + " " + 
itemQuantity + " " + "Litre");
  }
 public static void main(String[] args) {
    myMethod("orange Juice", 2);
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Let's Connect With Me
&lt;/h1&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%2Fm2iygj9h6g2a2df37q4m.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%2Fm2iygj9h6g2a2df37q4m.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank You for reading this blog 😀&lt;br&gt;
I hope all of you have benefited after reading this blog 🎉&lt;br&gt;
&lt;strong&gt;Do Share it with your friends and family and get them benefit from it too&lt;/strong&gt; 🧡👍&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Here You Connect with me &lt;a href="https://connect.rishavraj.codes/" rel="noopener noreferrer"&gt;https://connect.rishavraj.codes/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>programming</category>
      <category>codequality</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>Remote Control Your Projects Using Git</title>
      <dc:creator>Rishav Raj</dc:creator>
      <pubDate>Mon, 08 Mar 2021 16:49:42 +0000</pubDate>
      <link>https://dev.to/iamrishavraj1/remote-control-your-projects-using-git-4igb</link>
      <guid>https://dev.to/iamrishavraj1/remote-control-your-projects-using-git-4igb</guid>
      <description>&lt;h1&gt;
  
  
  Has this happened to you?
&lt;/h1&gt;

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

&lt;blockquote&gt;
&lt;p&gt;You write a code yesterday that works properly and today you change the code and it doesn't work and you don't remember what code you wrote yesterday.&lt;/p&gt;

&lt;p&gt;So to deal with this problem, many developers and programmers use &lt;strong&gt;Git version control&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  What is git?
&lt;/h1&gt;

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

&lt;p&gt;&lt;strong&gt;Git&lt;/strong&gt; is a software for tracking changes in any set of files, usually used for coordinating work among programmers, collaboratively developing source code doing software development.&lt;/p&gt;

&lt;h1&gt;
  
  
  Getting Started
&lt;/h1&gt;

&lt;p&gt;To get started with Git, you need to download it to your machine. Head over to &lt;a href="https://git-scm.com/"&gt;https://git-scm.com/&lt;/a&gt; and download the version most compatible with your system.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QS6_Ulub--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g8r569n3ne3l35inkob3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QS6_Ulub--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g8r569n3ne3l35inkob3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After installation, Open Command Terminal or git bash and write command&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git --version&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 for checking that git is install perfectly or not.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BTB-IUof--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r1i5ewvkkkfrwsct9vvf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BTB-IUof--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r1i5ewvkkkfrwsct9vvf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Setup Username and Email.
&lt;/h1&gt;

&lt;p&gt;In Command Line, Write&lt;/p&gt;

&lt;p&gt;For Saving Username&lt;br&gt;
&lt;br&gt;
  &lt;code&gt;git config --global user.name "User Name"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;For Saving Email id&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git config --global user.email "email"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Now it is time to learn how we can remote control our project using git.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In Command Line, Navigate to the Project Directory you want to control for that use standard cd command.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd directory name&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;h1&gt;
  
  
  Initialize git.
&lt;/h1&gt;

&lt;p&gt;Now the time has come to initialize git in our working directory.&lt;br&gt;
for initialize git, use command&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git init&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;p&gt;Now You Can Check Your Project Status.&lt;/p&gt;

&lt;p&gt;Using Command&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git status&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;p&gt;Here you are seeing that after entering&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git status&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 the message shows that all the files in the directory are untracked.&lt;br&gt;
In my case, there is an &lt;strong&gt;&lt;em&gt;index.js&lt;/em&gt;&lt;/strong&gt; file in my directory.&lt;/p&gt;
&lt;h1&gt;
  
  
  Adding
&lt;/h1&gt;

&lt;p&gt;For Start Tracking the file use&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git add "file name"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;p&gt;After Adding the file in Track You can check the status using&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git status&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;p&gt;Here, You can see that the current status message is different from the previous status message and the color of file name is changed from red to green. This means that your file has been added for tracking.&lt;/p&gt;

&lt;h1&gt;
  
  
  Committing the message.
&lt;/h1&gt;

&lt;p&gt;Imagine that you work in a team where 3 or 4 people are working together in the same project. Now you add some functions to your project and forget to inform your teammates about your changes, Or you also forget which function you added last time. So you can use command for committing the changes.&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;git commit -m "Message"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;h1&gt;
  
  
  Difference B/W Previous and Current Changes.
&lt;/h1&gt;

&lt;p&gt;By using the git command we can see the difference between the previous changes from current changes.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qjGgjyXP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z5hcgcbft1hbmz9d5meh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qjGgjyXP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z5hcgcbft1hbmz9d5meh.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git diff&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 Using this command You can see the difference&lt;/p&gt;

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

&lt;p&gt;We can check all commit history using&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git log&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;p&gt;Here, We can see all commit history with date and time.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Thank You for reading this blog 😀&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;I hope all of you have benefited after reading this blog 🎉&lt;/strong&gt;&lt;br&gt;
Here You Connect with me &lt;a href="https://connect.rishavraj.codes/"&gt;https://connect.rishavraj.codes/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
