<?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: Vikrant Patel</title>
    <description>The latest articles on DEV Community by Vikrant Patel (@vikran7_pa7el_).</description>
    <link>https://dev.to/vikran7_pa7el_</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%2F1124299%2Fbfe1bc61-fe1a-4e19-92fe-1de0d627bb6c.jpg</url>
      <title>DEV Community: Vikrant Patel</title>
      <link>https://dev.to/vikran7_pa7el_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vikran7_pa7el_"/>
    <language>en</language>
    <item>
      <title>React’s useEffect and useState Hooks</title>
      <dc:creator>Vikrant Patel</dc:creator>
      <pubDate>Sun, 08 Oct 2023 23:52:56 +0000</pubDate>
      <link>https://dev.to/vikran7_pa7el_/reacts-useeffect-and-usestate-hooks-gld</link>
      <guid>https://dev.to/vikran7_pa7el_/reacts-useeffect-and-usestate-hooks-gld</guid>
      <description>&lt;p&gt;useEffect and useState are React's most useful hooks. Let's drill down to understand the use of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  useState
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IzbIAFLJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pjnzx52cqb539q7481qt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IzbIAFLJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pjnzx52cqb539q7481qt.png" alt="useState" width="800" height="689"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Follow through the example above:&lt;/strong&gt;&lt;br&gt;
First, you must import the destructuring useState hook from React.&lt;br&gt;
Then we call the useState hook from within the counter function. The React useState returns the Value of '0' and the Counter function updates it with count and setCount.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In Short,&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The React Hook useState accepts the assigned state and returns two values:&lt;br&gt;
1) The current state.&lt;br&gt;
2) A function that will update the state.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The fun fact is that useState Hook can be declared with any type of state variable and can be used multiple times in a single component.&lt;/p&gt;

&lt;h2&gt;
  
  
  useEffect:
&lt;/h2&gt;

&lt;p&gt;You must be familiar with fetching data, and updating DOM and timers, these side effects in your component can be handled by useEffect Hook in React as well. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But there is a catch here,&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;useEffect runs on every render. In the above example when useEffect is hooked the count will change, app rerender and then triggers one after another effect.&lt;/p&gt;

&lt;p&gt;To avoid this behavior we should always include a second parameter that accepts an array. Optionally,  pass dependencies to useEffect in this array. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's look at some examples;&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;No dependency passed:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7yYVIbVs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vkq2mil3wjd48o5y1c4q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7yYVIbVs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vkq2mil3wjd48o5y1c4q.png" alt="No dependency passed" width="800" height="671"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;An empty array:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R57tNsV1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iy1uitmabccm77lm2vw5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R57tNsV1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iy1uitmabccm77lm2vw5.png" alt="An empty array" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Props or state values:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rflUAp4m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vaof512paj5uqye7qd19.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rflUAp4m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vaof512paj5uqye7qd19.png" alt="Props or state values" width="800" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;for initial rendering: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kSM3Fj7r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zhz7sofdtj8t0wqgpsds.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kSM3Fj7r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zhz7sofdtj8t0wqgpsds.png" alt="initial rendering" width="800" height="722"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the count variable updates, the effect will run again:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8sRwmO_r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzo2kunrfqcq43tv5efn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8sRwmO_r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzo2kunrfqcq43tv5efn.png" alt="count variable update" width="800" height="650"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Effect Cleanup:&lt;/p&gt;

&lt;p&gt;Some side effects require no re-use factor, such as timeouts, and event listeners.&lt;br&gt;
Including the return function at the end of the useEffect will dispose of the purpose of re-rendering.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hIm9XLUk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sl6grt2xjzoaxmjsk28n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hIm9XLUk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sl6grt2xjzoaxmjsk28n.png" alt="Cleanup" width="800" height="729"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>📦~Flexbox~📦 {"Java","HTML","CSS"}</title>
      <dc:creator>Vikrant Patel</dc:creator>
      <pubDate>Sun, 23 Jul 2023 00:32:37 +0000</pubDate>
      <link>https://dev.to/vikran7_pa7el_/flexbox-javahtmlcss-4hfm</link>
      <guid>https://dev.to/vikran7_pa7el_/flexbox-javahtmlcss-4hfm</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cvnFWEZk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://gifdb.com/images/high/let-s-go-let-s-do-this-dwight-schrute-781hy0bq8jb4kr64.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cvnFWEZk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://gifdb.com/images/high/let-s-go-let-s-do-this-dwight-schrute-781hy0bq8jb4kr64.gif" width="599" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just like the name 'Flex'~'Box', &lt;strong&gt;Flexibility&lt;/strong&gt; in the given &lt;strong&gt;Box(flex container)&lt;/strong&gt; .&lt;/p&gt;

&lt;p&gt;I think it's a self explanatory word, to provide us with the flexibility in our layout and make it more responsive. &lt;br&gt;
The main purpose of this post is to get familiarized with the &lt;strong&gt;main properties&lt;/strong&gt; of Flexbox. There are many more out there to explore but that will be a little bit too much if I go through all of them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExajVydGE0dThvbGkxdzJtcmJxZWpwazVodTd4bm1qODAxbXVzN2Z0YiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/DR1WJs5BlozM20aKzr/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExajVydGE0dThvbGkxdzJtcmJxZWpwazVodTd4bm1qODAxbXVzN2Z0YiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/DR1WJs5BlozM20aKzr/giphy.gif" width="480" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you master it, I think the rest of the properties are just as easy as it gets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5 Most basic properties&lt;/strong&gt; of Flexbox, that is what we are going to dive into...&lt;/p&gt;

&lt;p&gt;To make this happen, firstly we need to let the container apply its default value to distribute their children on its own including size and space between them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExdjd3NzY3enhvZXJ1bzB0M2Mya2txcHhza3hlMGY0MjJ4b25kZjV2OCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/6w7om6Tz73sbAIifEM/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExdjd3NzY3enhvZXJ1bzB0M2Mya2txcHhza3hlMGY0MjJ4b25kZjV2OCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/6w7om6Tz73sbAIifEM/giphy.gif" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;No.☝🏼-display:flex&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The default value of Flexbox is the block property of the children elements. &lt;br&gt;
Here is the 3 span flex items; with its &lt;strong&gt;default value(Display:Block)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Block VS Flex:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzBqbHZzamRrZjF3ZW9zYnlxcnY4YjFqcW5sa2pocWF3cGV4Z2N4aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/7KuKAgdc3PTwQP2wy1/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzBqbHZzamRrZjF3ZW9zYnlxcnY4YjFqcW5sa2pocWF3cGV4Z2N4aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/7KuKAgdc3PTwQP2wy1/giphy.gif" width="480" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Did you notice the effect of Display:Flex?&lt;br&gt;
By simply applying Display:Flex, elements expanded to their available space in the container. &lt;/p&gt;

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

&lt;p&gt;&lt;em&gt;&lt;strong&gt;No.✌🏼-flex:direction&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A Flexbox container has two axes: Main Axis &amp;amp; Cross Axis&lt;/p&gt;

&lt;p&gt;By default, elements are arranged along the main axis, from left to right. This is why the elements are laid horizontally once display:flex has been applied and on the other hand flex:direction rotates the main axis.&lt;/p&gt;

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

&lt;p&gt;This property is used to change the direction of the elements. The default value is set to &lt;strong&gt;row&lt;/strong&gt; and additional value can be set to row-reverse, column, column-reverse.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Row VS Column:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYWIxZ3k3dGk4M3h6MGI1dG0zYTRsdjk0dHI4OTNidTVnc2lkcTVtaCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/gfY6v3xx0acXkqvGWq/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYWIxZ3k3dGk4M3h6MGI1dG0zYTRsdjk0dHI4OTNidTVnc2lkcTVtaCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/gfY6v3xx0acXkqvGWq/giphy.gif" width="480" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here the main axis moved from a horizontal to a vertical position.&lt;/p&gt;

&lt;p&gt;Now let's reverse the elements 🔄&lt;br&gt;
There are two options for that: row:reverse &amp;amp; column:reverse&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--p_aVIX1A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/628wr2y7qr8lnyw7u1x0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--p_aVIX1A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/628wr2y7qr8lnyw7u1x0.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExbWYwNnJsN3NjbnpyYThwd2drdnczaGtrOXk4dGxmdzN3NzV5NmZxbiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/dgV7v42wOkAt5rA5Yr/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExbWYwNnJsN3NjbnpyYThwd2drdnczaGtrOXk4dGxmdzN3NzV5NmZxbiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/dgV7v42wOkAt5rA5Yr/giphy.gif" width="480" height="251"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;No.❸-Justify Content&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For this property 'main axis' is the playground, all the movement is around the main axis only.&lt;br&gt;
The default value for this is flex-start and additional values are flex-end, flex-center, space-between, space-around, and space-evenly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOWh3dXZmcmxqNGtkZ2duZTBrZWJpZjJxM3YzaXUycjRlOHBoN2w3biZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/edlCLkzc2fwO0voM3S/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOWh3dXZmcmxqNGtkZ2duZTBrZWJpZjJxM3YzaXUycjRlOHBoN2w3biZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/edlCLkzc2fwO0voM3S/giphy.gif" width="480" height="95"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;No.4️⃣ Align Items:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Align items is comparable to justify-content but it operates along the cross-axis. It automatically defaults to stretch and additional values are flex-start, flex-end, center, and baseline.&lt;br&gt;
Remember, the start, end, and center operate the same as justify-content but on the cross-axis. Whereas stretch makes items take entire space of the cross-axis. &lt;br&gt;
For the baseline, flexbox items align themselves at the baseline of the cross-axis. If there is a text tag on the items, then the text will be aligned to the horizontal line.    &lt;/p&gt;

&lt;p&gt;for the centering of elements and to meet the main-axis and cross-axis intercept point. &lt;/p&gt;

&lt;p&gt;flex-direction:row ; justify-content:center ; align-items:center&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AEZlRYT4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ly9kf96qtwvw0d03qtfg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AEZlRYT4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ly9kf96qtwvw0d03qtfg.png" alt="Image description" width="800" height="689"&gt;&lt;/a&gt;&lt;br&gt;
flex-direction:column ; justify-content:centre ; align-items:centre&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fhsTRpgo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hlfus5nbxzvgeltjej45.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fhsTRpgo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hlfus5nbxzvgeltjej45.png" alt="Image description" width="800" height="689"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;No.⑤ Flex wrap:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To avoid overflowing the items issue this can be a cheat code, if the item's size is too big for the available space, it will overflow and that is where this code comes in handy. &lt;/p&gt;

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

&lt;p&gt;I was going to discuss only 5 properties but couldn't resist the temptation of sharing the fun one!&lt;br&gt;
sorry..!!&lt;br&gt;
&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYWg2ODNkcHp2anRrZzBmemd4ZGU2NHFyMXF2dDN5M3RhdjhveW16MSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/V0pgOqWSwBRxSItnpp/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYWg2ODNkcHp2anRrZzBmemd4ZGU2NHFyMXF2dDN5M3RhdjhveW16MSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/V0pgOqWSwBRxSItnpp/giphy.gif" width="480" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and probably the most useful one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Align-Self&lt;/strong&gt;&lt;br&gt;
Align-self gives freedom to &lt;strong&gt;manually&lt;/strong&gt; manipulate any of the particular items from the multiple items.&lt;br&gt;
Align-self property accepts flex-start, flex-end, center, baseline, and stretch.  &lt;/p&gt;

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

&lt;p&gt;========================================================&lt;/p&gt;

&lt;p&gt;"You are here that means You are making a difference."&lt;/p&gt;

&lt;p&gt;Until next time...&lt;br&gt;
Happy Coding..!!&lt;/p&gt;

&lt;p&gt;If you liked the post, pls do hit💖&lt;/p&gt;

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