<?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: Sanskrati Jain</title>
    <description>The latest articles on DEV Community by Sanskrati Jain (@sanskrati01).</description>
    <link>https://dev.to/sanskrati01</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%2F610090%2Fb59fb48e-bd44-4162-92cd-e30a4d41210f.jpg</url>
      <title>DEV Community: Sanskrati Jain</title>
      <link>https://dev.to/sanskrati01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanskrati01"/>
    <language>en</language>
    <item>
      <title>DSA: How not to learn Data Structures and Algorithms</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Thu, 01 Feb 2024 18:06:11 +0000</pubDate>
      <link>https://dev.to/sanskrati01/dsa-how-not-to-learn-data-structures-and-algorithms-3ehc</link>
      <guid>https://dev.to/sanskrati01/dsa-how-not-to-learn-data-structures-and-algorithms-3ehc</guid>
      <description>&lt;h2&gt;
  
  
  Introduction:
&lt;/h2&gt;

&lt;p&gt;Welcome, brave souls, to the ultimate guide on how to avoid mastering Data Structures and Algorithms (DSA). In a world obsessed with efficiency and optimized code, we present to you a rebellious journey filled with pitfalls, distractions, and ingenious methods to dodge the DSA bullet. Brace yourselves, because we're about to embark on a hilarious adventure of "How NOT to Learn DSA!"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The Procrastinator's Paradise:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Forget about setting a schedule for DSA studies. Instead, let the pressure build until the night before your coding interview. Panic mode: activated.&lt;/li&gt;
&lt;li&gt;Who needs consistent practice when you can cram all the knowledge into your brain in a caffeine-fueled frenzy? It's not like algorithms require a clear mind, right?&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;2. The Blindfold Technique:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Begin your coding journey by skipping the basics. Why waste time on mundane concepts when you can jump straight into advanced topics? It's like reading the last chapter of a book first – unconventional and utterly bewildering.&lt;/li&gt;
&lt;li&gt;Remember, understanding the fundamentals is for mere mortals. Real coding wizards navigate the complex world of algorithms without any guiding lights.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;3. Algorithm Obfuscation:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Elevate your coding to an art form by crafting code that's as confusing as a quantum physics lecture. Use variable names like a, b, and c, and employ one-letter function names for an extra layer of mystery.&lt;/li&gt;
&lt;li&gt;Embrace the challenge of deciphering your own code months later. It's like leaving secret messages for your future self, assuming you can crack the code!&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;4. Copy-Paste Prowess:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google your way to coding success. Who cares about understanding the intricacies of an algorithm when you can copy and paste code from Stack Overflow? Your coding journey is essentially a treasure hunt for the perfect snippet.&lt;/li&gt;
&lt;li&gt;Remember, it's not about reinventing the wheel; it's about finding the wheel that someone else invented.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;5. LeetCode for Leisure:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Turn coding challenges into a casual game. Solve problems without bothering to understand the underlying principles. Time and space complexity? Pfft. Just wing it!&lt;/li&gt;
&lt;li&gt;Treat LeetCode like Candy Crush – an addictive game you play on your phone during a commute, without giving a second thought to strategy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;6. Language Jumping Olympics:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Master the art of language hopping. Today it's Python, tomorrow it's Java, and the day after, who knows? Keep your coding languages in a constant state of flux to ensure maximum confusion.&lt;/li&gt;
&lt;li&gt;Your goal is to be a polyglot of programming languages not an expert in any, but a jack of all trades.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;7. Documentation Detox:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ignore documentation like it's a plague. Real programmers don't need hand-holding; they dive headfirst into code without looking back.&lt;/li&gt;
&lt;li&gt;Treat documentation as the forbidden fruit, and revel in the mystery of your own missteps. Who needs guidance when you can navigate the coding wilderness blindfolded?&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;8. Debugging Drama:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Infuse drama into your debugging sessions. Introduce bugs purposefully just to keep things interesting. Debugging is not a chore; it's a theatrical performance, and you're the star.&lt;/li&gt;
&lt;li&gt;Welcome every bug as a new character in your coding saga. After all, debugging without chaos is like a symphony without dissonance.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;h2&gt;
  
  
  Conclusion:
&lt;/h2&gt;

&lt;p&gt;Congratulations! By following this foolproof guide, you've successfully mastered the art of NOT learning Data Structures and Algorithms. As you embark on your coding adventures with reckless abandon, remember: that the path less optimized is often the most entertaining. Happy coding (or not)!&lt;/p&gt;

</description>
      <category>dsa</category>
      <category>programming</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>Bootstrap - Layout</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Sat, 15 Jan 2022 09:31:48 +0000</pubDate>
      <link>https://dev.to/sanskrati01/bootstrap-layout-4i0b</link>
      <guid>https://dev.to/sanskrati01/bootstrap-layout-4i0b</guid>
      <description>&lt;p&gt;This is the continuation of the first part &lt;a href="https://dev.to/sanskrati01/bootstrap-part-1-3j86"&gt;Bootstrap - Introduction&lt;/a&gt;. In this, we will discuss breakpoints, containers, grids, columns, and gutters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Breakpoints:
&lt;/h2&gt;

&lt;p&gt;These are &lt;strong&gt;customizable widths&lt;/strong&gt; that determine the looks of our web page on different devices like min-width in media-queries. &lt;/p&gt;

&lt;p&gt;Bootstrap has 6 default breakpoints that can be modified as per the programmer. These are customizable via Sass in our &lt;code&gt;_variables.scss&lt;/code&gt; stylesheet which is present in our downloaded files.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4iws40ev2yur2045y8i3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4iws40ev2yur2045y8i3.png" alt="Width in bootstrap" width="800" height="289"&gt;&lt;/a&gt;&lt;br&gt;
So, basically, if we create a class called container-md or we can use it is by default for the dimension ≥ 768px.&lt;/p&gt;
&lt;h2&gt;
  
  
  Container:
&lt;/h2&gt;

&lt;p&gt;Most basic layout, used when using the default grid system. We need to create a class named container which will set some padding and align by default.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;.container&lt;/code&gt;, which sets a max-width at each responsive breakpoint&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.container-fluid&lt;/code&gt;, which is width: 100% at all breakpoints&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.container-{breakpoint}&lt;/code&gt;, which is width: 100% until the specified breakpoint&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In place of &lt;code&gt;{breakpoint}&lt;/code&gt; we use &lt;code&gt;sm&lt;/code&gt; ,&lt;code&gt;md&lt;/code&gt; , &lt;code&gt;lg&lt;/code&gt; , &lt;code&gt;xl&lt;/code&gt;, and &lt;code&gt;xxl &lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;The output of this code will be &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhnqbifaqso86qtq7cu7s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhnqbifaqso86qtq7cu7s.png" alt="Image description" width="800" height="89"&gt;&lt;/a&gt;&lt;br&gt;
When the width of the window is greater than lg , there is padding on the left and right sides of the container.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo7r7ssjcrigcnfm729k1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo7r7ssjcrigcnfm729k1.png" alt="Image description" width="800" height="194"&gt;&lt;/a&gt;&lt;br&gt;
When width is smaller than lg width, the padding disappers&lt;/p&gt;

&lt;h2&gt;
  
  
  Grids
&lt;/h2&gt;

&lt;p&gt;This is based on the twelve-column system. Think that the screen is divided into twelve columns of equal size, and we can set the size by defining how many columns we have to occupy. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;.col&lt;/code&gt; , sets all columns of equal size and we can have a maximum of 12 columns in a row&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.col-{1 to 12}&lt;/code&gt; , in place of {1 to 12} we can have a number, which will define how many columns should be occupied. For example, col-6 will have a width of 6 columns out of 12 columns.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;col-{breakpoint}-{1 to 12}&lt;/code&gt; , this means that below that breakpoint the width will be that number.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If we define the size of the column then that column will have that size permanently, it will not be responsive anymore.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;&lt;br&gt;
 &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h2&amp;gt;Grids - Column and Row&amp;lt;/h2&amp;gt;
&amp;lt;div class="container"&amp;gt;
  &amp;lt;div class="row"&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 1&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-lg-2 col-md-4 col-sm-6"&amp;gt;Col 2&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The output of this code will be:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdr53zr7d7anri60t7r3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdr53zr7d7anri60t7r3.png" alt="Image description" width="800" height="143"&gt;&lt;/a&gt;&lt;br&gt;
col-lg-2 when the width is below &lt;code&gt;lg&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhplkq11e5p581igyr9gy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhplkq11e5p581igyr9gy.png" alt="Image description" width="800" height="302"&gt;&lt;/a&gt;&lt;br&gt;
col-mg-4 when the width is below &lt;code&gt;md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feyt863moqkiy0uxmqtjy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feyt863moqkiy0uxmqtjy.png" alt="Image description" width="741" height="418"&gt;&lt;/a&gt;&lt;br&gt;
col-sm-6 when the width is below &lt;code&gt;sm&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Instead of defining &lt;code&gt;.col-{width}&lt;/code&gt; inside the column, we can also use rows like &lt;code&gt;row row-col-{width}&lt;/code&gt; .&lt;/p&gt;

&lt;h2&gt;
  
  
  Vertical Alignment
&lt;/h2&gt;

&lt;p&gt;For alignment we have &lt;code&gt;align-self-start&lt;/code&gt; ,&lt;code&gt;align-self-center&lt;/code&gt; and &lt;code&gt;align-self-end&lt;/code&gt; which we use inside &lt;code&gt;.col&lt;/code&gt; and&lt;code&gt;align-items-start&lt;/code&gt; ,&lt;code&gt;align-items-center&lt;/code&gt; and &lt;code&gt;align-items-end&lt;/code&gt; which we use inside &lt;code&gt;.row&lt;/code&gt; .&lt;/p&gt;

&lt;h2&gt;
  
  
  Horizontal Alignment
&lt;/h2&gt;

&lt;p&gt;For this we have &lt;code&gt;justify-content-start&lt;/code&gt; ,&lt;code&gt;justify-content-around&lt;/code&gt; &lt;code&gt;justify-content-between&lt;/code&gt; ,&lt;code&gt;justify-content-evenly&lt;/code&gt; which we use inside &lt;code&gt;.row&lt;/code&gt; .&lt;/p&gt;

&lt;h2&gt;
  
  
  Gutters
&lt;/h2&gt;

&lt;p&gt;Gutters are the padding between your columns, used to &lt;br&gt;
responsively space and align content in the Bootstrap grid &lt;br&gt;
system.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.gx-{1 to 5}&lt;/code&gt; classes can be used to control the horizontal gutter widths.&lt;br&gt;
&lt;code&gt;.gy-(1 to 5)&lt;/code&gt; classes can be used to control the vertical gutter widths.&lt;/p&gt;

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

&lt;/div&gt;

&lt;p&gt;I highly recommend to read the official documentation for more information. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>css</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Bootstrap - Introduction</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Thu, 13 Jan 2022 15:55:21 +0000</pubDate>
      <link>https://dev.to/sanskrati01/bootstrap-part-1-3j86</link>
      <guid>https://dev.to/sanskrati01/bootstrap-part-1-3j86</guid>
      <description>&lt;p&gt;This is the first part of the series on Bootstrap for beginners. In this part, we will learn about the bootstrap and its installation.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Bootstrap?
&lt;/h2&gt;

&lt;p&gt;It is the most popular front-end framework, used for building responsive web applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use Bootstrap?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Increase speed&lt;/li&gt;
&lt;li&gt;Assure responsiveness&lt;/li&gt;
&lt;li&gt;Prevent repetition between projects&lt;/li&gt;
&lt;li&gt;Add consistency&lt;/li&gt;
&lt;li&gt;Ensure cross-browser compatibility&lt;/li&gt;
&lt;li&gt;Large community&lt;/li&gt;
&lt;li&gt;Customizable&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Starting with Bootstrap
&lt;/h2&gt;

&lt;p&gt;Using bootstrap in a project is pretty easy, one just has to paste the links of CSS spreadsheet JS plugins like this. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 1&lt;/strong&gt;: By using npm&lt;/p&gt;

&lt;p&gt; Or you can use &lt;code&gt;npm install bootstrap&lt;/code&gt; and link &lt;code&gt;node_modules/bootstrap/dist/css/bootstrap.css&lt;/code&gt; inside head tag and &lt;code&gt;node_module/bootstrap/dist/js/bootstrap.bundle.js&lt;/code&gt; inside script tag in your HTML file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 2:&lt;/strong&gt; By downloading&lt;br&gt;
We have to download the code from the below website and link that CSS spreadsheet and js plugins in our HTML file like we do with our CSS and javascript code file.&lt;br&gt;
&lt;a href="https://getbootstrap.com/docs/5.1/getting-started/download/"&gt;Downloading link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 3:&lt;/strong&gt; By using Links&lt;br&gt;
Links are present in the above bootstrap documentation link.&lt;/p&gt;
&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;Below is the code which is the basic example to check if bootstrap is working or not.&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;link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"&amp;gt;
     &amp;lt;title&amp;gt;Starting with Bootstrap&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
     &amp;lt;h1&amp;gt;Started with Bootstrap&amp;lt;/h1&amp;gt;

     &amp;lt;script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
     &amp;lt;script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;The web page will have a different font style, which is the default font style in bootstrap.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmpkd4m7b0yto068uom7a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmpkd4m7b0yto068uom7a.png" alt="web page of the above code" width="800" height="245"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the next part, we will go through the grid system, buttons, cards, icons, forms, etc.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>css</category>
    </item>
    <item>
      <title>How modern web browser works</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Tue, 28 Dec 2021 12:58:33 +0000</pubDate>
      <link>https://dev.to/sanskrati01/how-modern-web-browser-works-55jb</link>
      <guid>https://dev.to/sanskrati01/how-modern-web-browser-works-55jb</guid>
      <description>&lt;h2&gt;
  
  
  What is a Web Browser?
&lt;/h2&gt;

&lt;p&gt;A web browser is simply an application for accessing WWW(world wide web). When a user requests web browser for a particular website, it does the necessary things and then displays the page.&lt;/p&gt;

&lt;p&gt;This blog focuses on what are the necessary things that the browser does from looking the URL to displaying the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Some terms:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;GPU:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Graphics Processing Unit is good at handling simple tasks but across multiple cores at the same level.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Process and Threads:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Process is simply an application's executing program. Whereas, threads lives inside the process and executes any part of it's process's program.&lt;/p&gt;

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

&lt;p&gt;When we start an application, a process is created which can create threads to help. Operating system gives private memory to the process, which is released when the application is closed. A process can ask to spin-up another process for different task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Browser Architecture
&lt;/h2&gt;

&lt;p&gt;Web browser is built using process and threads. Different browser have different architecture. Here, I am taking the reference of Chrome browser. Browser contains different process for performing different tasks. Here is the list of some of those:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Process and what they do?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Browser: Controls address bar, bookmarks, back &amp;amp; forward buttons, network requests and file access.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Renderer: Controls everything inside tab.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Plugin: Controls plugins.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;GPU: Handles GPU task in isolation. It is separated into different process because GPUs handles request from multiple apps and draw them in the same surface.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Except these there are more process. Like extension. But these are the major ones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Some fun facts&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chrome have multipurpose architecture, which means that each tab has it's own renderer process. This makes multipurpose architecture more secure.&lt;/li&gt;
&lt;li&gt;Since process have their own V'8 engine. Chrome puts a limit on memory. If one opens more tab then multiple tab runs on the same process.&lt;/li&gt;
&lt;li&gt;If the machine is powerful then browser process will split each service into different process. This is also used in android.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Navigation
&lt;/h2&gt;

&lt;p&gt;Navigation refers to, when a user requests a page and the browser prepares to display that page. This starts with browser process. When we type the url all the way to document loading phase. Here is a flowchart to explain every single things: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhonoy5hy98sjtpnip822.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhonoy5hy98sjtpnip822.png" alt="Steps that took place during navigation" width="800" height="211"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://whimsical.com/nevigation-in-browser-DJ4HXpwuxs5W73BxMq5HQS"&gt;Link for the image&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Renderer Process
&lt;/h2&gt;

&lt;p&gt;After navigation the document loading phase begins, and the html, css and js starts converting into a page. This process is responsible for displaying the page.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Controls everything inside tab.&lt;/li&gt;
&lt;li&gt;Main purpose to turn HTML, CSS and JS into web page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Parsing&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;When the render process receives a commit message for a navigation and starts to receive HTML data, the main thread begins to parse the text string and turns into DOM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Main thread loads external resources while building DOM but to speed up "preload scanner" peeks at tokens generated by HTML(img, link) parse and sends request to network threads.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If HTML parse finds script tag then, first JS is loaded, parsed and executed before continuing to HTML because JS can change the DOM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now style is loaded.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Layout is decided after this.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Decide what to display first (e.g z-index). For this main thread creates paint records. Paint records is a note of painting process like background first then the text.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Turning the information into pixels on the screen is called rasterizing. &lt;em&gt;Old Method:&lt;/em&gt; If the user scrolls the page, then move the restered frame and fill the missing part. &lt;em&gt;New Method:&lt;/em&gt; Composting, a technique to separate parts of page and rasterizing and composite as a page in separate thread.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In order to decide layer tree, main thread sees layout tree.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The compositor thread rasterize each layer and sends each tile off to raster threads (stores tile in GPU). Frame is then submitted to browser process. Then to GPU to display.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now we can see the page. And this is how a website is loaded. There are many other things to browser like the security and each browser have different architecture so every browser handle things differently.&lt;/p&gt;

&lt;p&gt;I really recommend to read this &lt;a href="https://developers.google.com/web/updates/2018/09/inside-browser-part1"&gt;BLOG&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>architecture</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>SASS - CSS with SuperPowers</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Mon, 23 Aug 2021 20:53:51 +0000</pubDate>
      <link>https://dev.to/sanskrati01/sass-css-with-superpowers-5dah</link>
      <guid>https://dev.to/sanskrati01/sass-css-with-superpowers-5dah</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Sass (Syntactically awesome style sheets) is the CSS extension language that allows you to use things like variables, nested rules, inline imports and more. It helps to keep things organized and allow you to write CSS faster.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://sass-lang.com/install"&gt;Install SASS&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can now write a SASS file, but you need to convert it to CSS file since the browser cannot read SASS. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To convert there are many ways:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Use command &lt;code&gt;sass --watch input.scss output.css&lt;/code&gt;. Here input.scss is the sass file and output.css is the css file. --watch (watch flag) tells Sass to watch your source files for changes, and re-compile CSS each time you save your Sass.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can also use &lt;code&gt;sass --watch app/sass:public/stylesheets&lt;/code&gt; command. Here input directory and output directory is seperated by :. Sass would watch all files in the app/sass folder for changes, and compile CSS to the public/stylesheets folder.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you are using VS Code as a code editor. You can use &lt;strong&gt;Live Sass Compiler&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy02xa845rnw05a78yqby.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy02xa845rnw05a78yqby.png" alt="Alt Text" width="800" height="422"&gt;&lt;/a&gt;&lt;br&gt;
Now when you create a file with .scss, you will see a &lt;em&gt;Watch SASS&lt;/em&gt; at the lower left. Click on it and your Sass will be converted into css and will get save in the same folder.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Syntax
&lt;/h2&gt;

&lt;p&gt;There are two syntax that SASS allows:&lt;/p&gt;

&lt;h3&gt;
  
  
  SCSS(Sassy CSS)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Similar to CSS(use curly braces and semicolons)&lt;/li&gt;
&lt;li&gt;CSS is also valid &lt;/li&gt;
&lt;li&gt;.scss extension&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Sass(Syntactically awesome style sheets)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Use indentation &lt;/li&gt;
&lt;li&gt;CSS code is not valid&lt;/li&gt;
&lt;li&gt;.sass extension &lt;/li&gt;
&lt;/ol&gt;

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

&lt;h2&gt;
  
  
  Variables
&lt;/h2&gt;

&lt;p&gt;You can store things like colors, font stacks, or any CSS value you think you'll want to reuse. Sass uses the $ symbol to make something a variable.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;When Sass is converted into CSS the variable are not converted but the property is stored directly.&lt;/em&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9s194a0cwbranyhp0o6q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9s194a0cwbranyhp0o6q.png" alt="Alt Text" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Maps
&lt;/h2&gt;

&lt;p&gt;Maps in Sass hold pairs of keys and values, and make it easy to look up a value by its corresponding key.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffipb0h5fztefwhtvloy4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffipb0h5fztefwhtvloy4.png" alt="Alt Text" width="800" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Nesting
&lt;/h2&gt;

&lt;p&gt;Sass will let you nest your CSS selectors in a way that follows the same visual hierarchy of your HTML.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg0wjtokklga574gd3fnx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg0wjtokklga574gd3fnx.png" alt="Alt Text" width="800" height="343"&gt;&lt;/a&gt;&lt;br&gt;
In the above example ul is nested in class .nav&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm2pjxt3t7vhtsaaq33n1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm2pjxt3t7vhtsaaq33n1.png" alt="Alt Text" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
In the above image some more ways to nest are shown. &lt;strong&gt;&amp;amp;&lt;/strong&gt; always refers to the upper selection.&lt;/p&gt;

&lt;h2&gt;
  
  
  Partials
&lt;/h2&gt;

&lt;p&gt;You can create partials containing small snippets of css or sass. It can be very useful in maintaining large modules. A partial file is named leading underscore like &lt;em&gt;_partial.scss&lt;/em&gt;. And it can be used in other file by &lt;em&gt;@use&lt;/em&gt; rule or &lt;em&gt;@import&lt;/em&gt; rule.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  @use
&lt;/h2&gt;

&lt;p&gt;The @use rule loads mixin, functions, and variables from other Sass stylesheets, and combines CSS from multiple stylesheets together. Stylesheets loaded by @use are called "modules". Sass also provides built-in modules with useful functions.&lt;/p&gt;

&lt;h2&gt;
  
  
  @import
&lt;/h2&gt;

&lt;p&gt;Sass extends the @import rule is like @use. Unlike plain CSS imports, which require the browser to make multiple HTTP requests as it renders your page, Sass imports are handled entirely during compilation. This makes everything global. &lt;br&gt;
&lt;em&gt;Because of some properties of @import, using @use is more preferred&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  @mixin
&lt;/h2&gt;

&lt;p&gt;It allows you to define style that can be used several times.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6dh1705xs3m1w1w5ftwa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6dh1705xs3m1w1w5ftwa.png" alt="Alt Text" width="800" height="305"&gt;&lt;/a&gt;&lt;br&gt;
We can pass arguments in mixin that makes it customizable every single time we call. We can also set default argument value like in the example below.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F71t7pdu8m6zgvfkg99hc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F71t7pdu8m6zgvfkg99hc.png" alt="Alt Text" width="800" height="307"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  @function
&lt;/h2&gt;

&lt;p&gt;The features allow you to define complex operations on the Sass Script values which you can reuse throughout your stylesheet. They facilitate the abstraction of common formulas and behavior in a clear way. Like every other function syntax it follows the same.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr8lqu8xf2kva01zz3kp3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr8lqu8xf2kva01zz3kp3.png" alt="Alt Text" width="800" height="255"&gt;&lt;/a&gt;&lt;br&gt;
In the above image we have created a sum function.&lt;/p&gt;

&lt;p&gt;Although it is technically feasible for functions to have side effects like setting global variables, this is strongly discouraged. Use functions just to compute values and mixin for rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  @extend
&lt;/h2&gt;

&lt;p&gt;There are times when we have to use all the styles of another class and we have to add just some specific properties. This is the case when we use @extend.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Operators
&lt;/h2&gt;

&lt;p&gt;We can also do some math operations using sass.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flf6c8ajgugifhr8uur3q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flf6c8ajgugifhr8uur3q.png" alt="Alt Text" width="800" height="159"&gt;&lt;/a&gt;&lt;br&gt;
For performing operations the quantities must have same unit like px, rem or %. &lt;/p&gt;

&lt;p&gt;All basic things are included. There are some other properties like @ error, @warn, @debug, @at-root, etc. But they are not used most of the times.&lt;/p&gt;

&lt;p&gt;For more information read the &lt;a href="https://sass-lang.com/documentation"&gt;official documentation&lt;/a&gt; or comment below.&lt;/p&gt;

</description>
      <category>saas</category>
      <category>webdev</category>
      <category>discuss</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Variables in JavaScript</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Mon, 17 May 2021 17:46:24 +0000</pubDate>
      <link>https://dev.to/sanskrati01/variables-in-javascript-382b</link>
      <guid>https://dev.to/sanskrati01/variables-in-javascript-382b</guid>
      <description>&lt;p&gt;JS variables are used to store data values. But unlike any other language, the datatypes of that variable are not declared first like in C++. JavaScript has dynamic types. This means that the same variable can be used to hold different data types,&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; var, let, and const: &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To declare variables we use var, let, and const.&lt;br&gt;
var and let are very similar except in block scope which is discussed in the difference between var and let. &lt;br&gt;
cont is the same as let but used only for constants.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt; Difference Between var and let:
The main difference between var and let is that scope of var is global while that of let is limited to block. This means if I declare a variable using var, it can be excessed anywhere except in the case of a function, where you can't excess a variable outside the function. This can be a problem if we use it in loops for example.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Properties of const :
People usually misunderstood the cont. It does not define a constant value. It defines a constant reference to a value, which means we can actually change the properties of a constant object or the element of a constant array. It is just you can reassign a value.&lt;/li&gt;
&lt;/ol&gt;

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

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>discuss</category>
    </item>
    <item>
      <title>String in C</title>
      <dc:creator>Sanskrati Jain</dc:creator>
      <pubDate>Wed, 07 Apr 2021 14:44:30 +0000</pubDate>
      <link>https://dev.to/sanskrati01/strings-in-c-3leg</link>
      <guid>https://dev.to/sanskrati01/strings-in-c-3leg</guid>
      <description>&lt;p&gt;What is a String?&lt;br&gt;
A string is a 1-d character array terminated by a null(\0). The null character is used to denote string termination, characters are stored in contiguous memory locations. &lt;/p&gt;

&lt;p&gt;How to initialize and print a string?&lt;br&gt;
To initialize and print a string there are many ways like using pointers. Three methods that I am aware of to do this are mentioned in the image.&lt;/p&gt;

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

</description>
      <category>tutorial</category>
      <category>discuss</category>
      <category>beginners</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
