<?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: ABHAY TIWARI</title>
    <description>The latest articles on DEV Community by ABHAY TIWARI (@abhayt367).</description>
    <link>https://dev.to/abhayt367</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%2F883797%2F40d5e25f-4e13-4e59-befa-8aa33290e256.jpg</url>
      <title>DEV Community: ABHAY TIWARI</title>
      <link>https://dev.to/abhayt367</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhayt367"/>
    <language>en</language>
    <item>
      <title>Grid Layout in a nutshell</title>
      <dc:creator>ABHAY TIWARI</dc:creator>
      <pubDate>Sun, 07 Aug 2022 05:30:00 +0000</pubDate>
      <link>https://dev.to/abhayt367/grid-layout-in-a-nutshell-5a52</link>
      <guid>https://dev.to/abhayt367/grid-layout-in-a-nutshell-5a52</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is a grid ?&lt;/strong&gt;&lt;br&gt;
a grid is a 2-d structure of columns and rows . specifically a CSS grid consists of different blocks of html arranged in rows and columns. for example&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="grid-example"&amp;gt;
        &amp;lt;div class="grid-element-1"&amp;gt;1&amp;lt;/div&amp;gt;
        &amp;lt;div class="grid-element-2"&amp;gt;2&amp;lt;/div&amp;gt;
        &amp;lt;div class="grid-element-3"&amp;gt;3&amp;lt;/div&amp;gt;
        &amp;lt;div class="grid-element-4"&amp;gt;4&amp;lt;/div&amp;gt;
        &amp;lt;div class="grid-element-5"&amp;gt;5&amp;lt;/div&amp;gt;
        &amp;lt;div class="grid-element-6"&amp;gt;6&amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;here in the above html code &lt;strong&gt;grid-example&lt;/strong&gt; is the name of the container class and &lt;strong&gt;grid-element-(1,2,3,4,5,6)&lt;/strong&gt; are the elements of grid container. to arrange these element in the form of row and column there are plenty of properties used we can use them according to the layout of the page.&lt;br&gt;
for example by using the basic grid template property I am going to generate a grid of 3 columns and 2 rows from the above html code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;       .grid-element-1{
            background-color: black;
            color: white;
        }
        .grid-element-2{
            background-color: white;
            color: black;
        }
        .grid-element-3{
            background-color: black;
            color: white;
        }
        .grid-element-4{
            background-color: white;
            color: black;
        }
        .grid-element-5{
            background-color: black;
            color: white;
        }
        .grid-element-6{
            background-color: white;
            color: black;
        }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the above css generate the following pattern&lt;/p&gt;

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

&lt;p&gt;now I am making this containers display grid see what happens . nothing much happens until we use the properties grid-template-columns.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.grid-example{
            display: grid;
            grid-template-columns: 100px 100px 100px;
        }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;you can see a 2*3 grid is generated having each block of 100px from the above code when it is added to the CSS file or entered in style tag . &lt;br&gt;
&lt;strong&gt;grid-template-column&lt;/strong&gt; is a property of the grid that specifies tracks in a grid columns how many and how much is their length is specified with grid-template-columns. similarly is the property of &lt;strong&gt;grid-template-rows&lt;/strong&gt; that specifies tracks in row and their length .&lt;/p&gt;
&lt;h2&gt;
  
  
  Properties associated with grid
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;grid-tempelate-column&lt;/strong&gt;&lt;br&gt;
The grid-template-columns CSS property defines the line names and track sizing functions of the grid columns.&lt;br&gt;
that is it defines the no. of columns in a grid and the size of each column in a grid . each individual column is a track on which html markup for different block is developed hence they are called tracks. for example&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;grid-template-columns: 160px 160px;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the above declaration of grid property generates two blocks of 160px each .&lt;br&gt;
&lt;code&gt;grid-template-columns: 1fr 60px;&lt;/code&gt;&lt;br&gt;
the above declaration is same as the one which we used before it also generates the tracks in same way that is 2 in number but length of 1 track is 1fr that is total width of viewport minus the 60px of the second track . &lt;br&gt;
fr here specifies a size unit dealing in fractions of width of the screen more prominently the viewport of the screen. &lt;br&gt;
for example if i specify the tracks as&lt;/p&gt;

&lt;p&gt;1fr 1fr 1fr 1fr&lt;/p&gt;

&lt;p&gt;than it can be assumed all the tracks are of 1/4 the width of &lt;br&gt;
viewport. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns"&gt;follow the link to mdn reference of the above property to learn more&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;grid-template-rows&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The grid-template-rows property defines the height of each row. &lt;br&gt;
everything is similar to the grid template column property from declaration to tracks of rows.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows"&gt;follow the link to mdn reference of the above property to learn more&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;gap&lt;/strong&gt;&lt;br&gt;
gap property is used to specify spacing between two or more grids elements. this is shorthand property for various grid gap properties combined together.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>Introduction to GITHUB desktop GUI</title>
      <dc:creator>ABHAY TIWARI</dc:creator>
      <pubDate>Fri, 15 Jul 2022 12:06:00 +0000</pubDate>
      <link>https://dev.to/abhayt367/introduction-to-github-desktop-gui-5e0l</link>
      <guid>https://dev.to/abhayt367/introduction-to-github-desktop-gui-5e0l</guid>
      <description>&lt;p&gt;lets start with first installing github desktop. to install github click on the link below.&lt;br&gt;
&lt;a href="https://central.github.com/deployments/desktop/desktop/latest/win32"&gt;github desktop&lt;/a&gt;&lt;br&gt;
note- above link is direct installation link of exe file for github desktop&lt;br&gt;
or you can simply explore official github website.&lt;br&gt;
&lt;a href="https://github.com/"&gt;github website official&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Github desktop is an extension of the version control of git and cloud based versioning and distributed version control features of github on your pc with little salt of GUI replacing CLI of git bash .&lt;br&gt;
Github desktop has almost all the faetures required and necessary to begin your software development journey. Github desktop is easy to use once you know the features of github desktop very well you will feel comfortable in using github to save your project and live run your project with ease.&lt;/p&gt;

&lt;p&gt;Once github desktop is installed on your pc start exploring it .&lt;/p&gt;

&lt;h2&gt;
  
  
  Know your GITHUB GUI
&lt;/h2&gt;

&lt;h2&gt;
  
  
  git push
&lt;/h2&gt;

&lt;p&gt;It is used to push or upload your local repo on which you are working to a remote repo. In case of github desktop it is generally the repo on github account saved on cloud.it is the counterpart of git fetch operation in which a remote repo is transported to the local computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  git fetch and git pull
&lt;/h2&gt;

&lt;p&gt;Fetch is a primary operation to check for any changes in the remote repo it is primarily used concept in collaborative work flows while fetch checks the remote repo for changes pull immediately changes the content of the local repo to be in line to those on the remote repo after fetching it also updates the content of local repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  git branches
&lt;/h2&gt;

&lt;p&gt;a branch is a new/separate version of the main repository. Branches allow you to work on different parts of a project without impacting the main branch. When the work is complete, a branch can be merged with the main project. You can even switch between branches and work on different projects without them interfering with each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  git commit
&lt;/h2&gt;

&lt;p&gt;Adding commits keep track of our progress and changes as we work. Git considers each commit change point or "save point". It is a point in the project you can go back to if you find a bug, or want to make a change. It is used to record the changes in the repository. The staging and committing are co-related to each other. Staging allows us to continue in making changes to the repository, and when we want to share these changes to the version control system, committing allows us to record these changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  git merge
&lt;/h2&gt;

&lt;p&gt;to merge multiple sequences of commits, stored in multiple branches in a unified history or to be simple you can say in a single branch. What happens is when we try to merge two branches, git takes two commit pointers and starts searching for a common base commit in those two specified bit branches. When git finds the common base commit it simply creates a “merge commit” automatically and merges each queued merge commit sequence.&lt;/p&gt;

&lt;h2&gt;
  
  
  git merge conflict
&lt;/h2&gt;

&lt;p&gt;the above image shows the landing window of the github with various options such as&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;edit&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;view&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;repository&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;branch&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;help&lt;br&gt;
these options are contained in top navbar of software home page. file options have various option for create and cloning repo etc.&lt;br&gt;
edit have many options such as cut copy paste undo etc. view option has many options such as changes history repo list branches list etc.&lt;br&gt;
below the top navbar there is &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>webdev</category>
      <category>web3</category>
    </item>
    <item>
      <title>Size Units in CSS</title>
      <dc:creator>ABHAY TIWARI</dc:creator>
      <pubDate>Mon, 04 Jul 2022 11:16:19 +0000</pubDate>
      <link>https://dev.to/abhayt367/size-units-in-css-57nc</link>
      <guid>https://dev.to/abhayt367/size-units-in-css-57nc</guid>
      <description>&lt;p&gt;Length or Size units play very important role in defining the ammount of space a block of element takes on the screen. in Most forms of software designing we use generally two types of size units.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Absolute or Fixed&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Relative&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Absolute size units are generally used in only designing and printing of sample screen etc. they are not used in live projects because size of device screen vary so much and using them will make project ugly and not tempting to use but still they are used in basic builduing and small testing projects. while on the other hand Relative units varry according the device size and are directrly proportional to size of screen. &lt;br&gt;
each size unit in css is written after a number of required size. i.e for example 2px,3cm,5mm,60vw,20vh etc. Note there is no space in between hose two (unit and number). we can omit the size unit if we wish to keep it zero.&lt;/p&gt;

&lt;p&gt;we need size units in various properties of css. for example specifying the margins and padding,specifying font sizes,specifying border radius,specifying height and width of boxes etc.&lt;br&gt;
below are some examples of fixed size units&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/*length in centimetres*/
height: 10cm;
/* length in millimetres*/
height: 10mm;
/*length in inches a inch is equal to 2.54 cm */
height: 10in;
/*length in pixels a pixel is 1/96th part of inch*/
height: 10px;
/*length in points a point is 1/72 part of pixel*/
height: 10pt;
/*length in picas a pica is equal to 12 points*/
height: 10pc;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Relative size units are given below that are most commonly used in CSS.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;em&lt;/em&gt;&lt;/strong&gt; -it is a size unit that compares it size from the size of current font element. 2em means twice,0.5em means half,0.25em means one fourth etc.&lt;br&gt;
&lt;code&gt;height: 0.5em;&lt;/code&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>css</category>
    </item>
    <item>
      <title>CSS selectors in brief</title>
      <dc:creator>ABHAY TIWARI</dc:creator>
      <pubDate>Fri, 01 Jul 2022 04:11:07 +0000</pubDate>
      <link>https://dev.to/abhayt367/css-selectors-in-brief-5ggh</link>
      <guid>https://dev.to/abhayt367/css-selectors-in-brief-5ggh</guid>
      <description>&lt;p&gt;CSS selectors are the elements used for targeting certain part of html document for styling purposes. there are various categories and types of selectors in CSS depending on which element are to be selected for styling .&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;body&amp;gt;
    &amp;lt;h1&amp;gt;this is a heading&amp;lt;/h1&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;look at the code snippet above . inside a body tag I have a element h1 containing some text. to style this an element selector is used how? let's look at the code snippet given below inside style 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;style&amp;gt;
        h1{
            font-size: x-large;
            font-weight: bold;
            margin: 20px;
            padding: 20px;
            background-color: black;
            color: white;
        }
    &amp;lt;/style&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;some random properties I have given to the element selected inside style tag that leads to a different style of the h1 text when  displayed on browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5_kwa9vm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/elemy66qizgjgltrvwbg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5_kwa9vm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/elemy66qizgjgltrvwbg.png" alt="Image description" width="880" height="297"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;&lt;em&gt;class selector&lt;/em&gt;&lt;/strong&gt;-these are selectors used when a group of html elements need uniform style .&lt;br&gt;&lt;br&gt;
&lt;strong&gt;&lt;em&gt;id selector&lt;/em&gt;&lt;/strong&gt;-these are special class of selector which target only the concerned element none other than the element that is target is affected by it. these selectors are generally used when we want to select certain unique properties of a element to change &lt;br&gt;
in order to provide more unique style.&lt;/p&gt;

&lt;p&gt;A class selector is selected with a dot(.) prefix with class name and ID selector is selected with a hash(#) prefix with ID name.&lt;/p&gt;

&lt;p&gt;for example&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;body&amp;gt;
    &amp;lt;h1 id="heading"&amp;gt;
        CSStutorial
    &amp;lt;/h1&amp;gt;
    &amp;lt;p class="para"&amp;gt;
        hey there this is selectors tutorial
    &amp;lt;/p&amp;gt;
&amp;lt;/body&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;style&amp;gt;
     .para{
        background-color: black;
        color: white;
     }
     #heading{
        font-size: x-large;
        color: aqua;
     }
    &amp;lt;/style&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--XeaoxOSp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6dhvxz5mopu32rr56eeb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XeaoxOSp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6dhvxz5mopu32rr56eeb.png" alt="Image description" width="880" height="128"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CSS UNIVERSAL SELECTOR
&lt;/h2&gt;

&lt;p&gt;This selector selects all the element present in html page and give them uniform styling.&lt;br&gt;
this selector is used at the very beginning for giving all element some common properties at the start. which later on can be overwritten or changed . a universal selector starts with a star/asterisk(*)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; *{
            margin: 0;
            padding: 0;
        }

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

&lt;/div&gt;



&lt;p&gt;adding above code sequence to the style tag in the above example makes the margin and padding of every element zero.&lt;br&gt;
see by yourself&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3Vjg8Zld--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ecyq35vdqqiiwtd9d1kr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3Vjg8Zld--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ecyq35vdqqiiwtd9d1kr.png" alt="Image description" width="721" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;there is no gap between the two elements h1 and p in the above &lt;br&gt;
image after applying the universal selector.&lt;/p&gt;
&lt;h2&gt;
  
  
  grouping of one or more selectors
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;body&amp;gt;
    &amp;lt;h1&amp;gt;heading1&amp;lt;/h1&amp;gt;
    &amp;lt;h2&amp;gt;heading2&amp;lt;/h2&amp;gt;
    &amp;lt;h3&amp;gt;heading3&amp;lt;/h3&amp;gt;
&amp;lt;/body&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;h1{
    text-align: center;
    color: blue;
}
h2{
    text-align: center;
    color: blue;   
}
h3{
    text-align: center;
    color: blue;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;the above code is very hectic and tedious job to type for that purpose instead of explicitly defining properties we are going to group all heading into one selector block separated by comma .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h1, h2, h3{

    text-align: center;
    color: blue;
}

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

&lt;/div&gt;



</description>
      <category>webdev</category>
      <category>css</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
