<?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>Forem: Sampad Sarker</title>
    <description>The latest articles on Forem by Sampad Sarker (@sampadsarker).</description>
    <link>https://forem.com/sampadsarker</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%2F877683%2F1ccd4438-f827-4da5-85f0-5ae8315d6912.png</url>
      <title>Forem: Sampad Sarker</title>
      <link>https://forem.com/sampadsarker</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sampadsarker"/>
    <language>en</language>
    <item>
      <title>The Easiest Way to Install SASS</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Sun, 03 Mar 2024 07:33:33 +0000</pubDate>
      <link>https://forem.com/sampadsarker/the-easiest-way-to-install-sass-1i1c</link>
      <guid>https://forem.com/sampadsarker/the-easiest-way-to-install-sass-1i1c</guid>
      <description>&lt;p&gt;In the realm of front-end development, numerous methods exist for installing SASS. However, I've uncovered a remarkably straightforward method for installing SASS that avoids bloating your project's size. Let's dive into this simple method together, making sure your SASS setup is smooth and lightweight. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 1:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Install Node.js from &lt;a href="https://nodejs.org/en"&gt;here&lt;/a&gt;. Once installed, verify if Node.js was installed properly by executing the following command on the terminal (Win+R, then type cmd)&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 2:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Install SASS globally.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node install -g sass
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To ensure that SASS was installed correctly, run the following command in the terminal.&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 3:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Transpile SASS to your specified location.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sass --watch "..\path of scss file\..\scss\main.scss":"..\path of CSS file\..\css\style.css"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;TIP&lt;/em&gt;: &lt;em&gt;Drag and drop the file on the terminal, then automatically it finds the location.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keep the terminal open while working with SASS.&lt;/p&gt;

&lt;p&gt;Note: There are no restrictions on opening the terminal at a specific location.&lt;/p&gt;

&lt;p&gt;Congratulations! You've successfully set up Sass for your project.  Don't forget to keep your terminal open while working with SASS to monitor changes and updates seamlessly. Happy styling, and may your code always be as sleek as your SASS!&lt;/p&gt;

</description>
      <category>scss</category>
      <category>sass</category>
      <category>css</category>
      <category>frontend</category>
    </item>
    <item>
      <title>How to Debug ⚙🛠</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Mon, 31 Oct 2022 11:38:46 +0000</pubDate>
      <link>https://forem.com/sampadsarker/how-to-debug-48i5</link>
      <guid>https://forem.com/sampadsarker/how-to-debug-48i5</guid>
      <description>&lt;h3&gt;
  
  
  Follow the simple three steps
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;step 1:&lt;/strong&gt; Understand the problem statement very clearly.&lt;br&gt;
&lt;strong&gt;step 2:&lt;/strong&gt; Develop an algorithm on the problem(step by step solution).&lt;br&gt;
&lt;strong&gt;step 3:&lt;/strong&gt; Logic building.&lt;br&gt;
&lt;strong&gt;step 4:&lt;/strong&gt; Code on pen &amp;amp; paper.&lt;br&gt;
&lt;strong&gt;step 5:&lt;/strong&gt; Dry run the code.( if you want to read &lt;a href="https://dev.to/sampadsarker/dry-run-the-code-before-compile-6dc"&gt;more about dry run&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;If don't get proper result at step 5 go to step 1 again. &lt;/p&gt;

</description>
      <category>debug</category>
      <category>programming</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Now CSS Has :has(),The Mind-blowing Feature</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Sun, 23 Oct 2022 06:03:44 +0000</pubDate>
      <link>https://forem.com/sampadsarker/now-css-has-hasthe-mind-blowing-feature-h14</link>
      <guid>https://forem.com/sampadsarker/now-css-has-hasthe-mind-blowing-feature-h14</guid>
      <description>&lt;p&gt;One of the most-awaited features in CSS is :has() functional pseudo-class. It is a level 4 CSS selector.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;:has()&lt;/code&gt; checks whether an element has a particular child element or group of child element in its arguments and based on that a certain style is applied.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;On Which Part of :has(), Style Will Be Applied ?&lt;/strong&gt;&lt;br&gt;
The :has() is more than a parent selector. It is very important to understand which element should be styled by :has().&lt;/p&gt;

&lt;p&gt;&lt;code&gt;section:has(article) { … }&lt;/code&gt;--&amp;gt; "section" element will be styled.&lt;br&gt;
&lt;code&gt;section:has(article) img { … }&lt;/code&gt;--&amp;gt; "img" element will be styled, not "section" element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Few Property of :has()&lt;/strong&gt; &lt;br&gt;
1.The selector list of :has() is forgiving.&lt;br&gt;
2.The specificity of :has() is that of its most specific argument like :is().&lt;/p&gt;

&lt;p&gt;Let's take a deep dive🤿 to demystify the :has()&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Selecting Parent Element&lt;/strong&gt;&lt;br&gt;
The default behaviour of :has() is to select the parent.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E3LGgUeC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/othzpm072wy83bxyc6ft.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E3LGgUeC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/othzpm072wy83bxyc6ft.png" alt="Image description" width="624" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Selecting Child Element&lt;/strong&gt;&lt;br&gt;
Selecting the child or direct child.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9lEAyx4N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dgoct052iocaom1x866j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9lEAyx4N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dgoct052iocaom1x866j.png" alt="Image description" width="667" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Grouping of Multiple Children&lt;/strong&gt;&lt;br&gt;
Selecting more than one child at a time.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Gu23Mxju--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o59egz6j3equy7jdbbeq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Gu23Mxju--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o59egz6j3equy7jdbbeq.png" alt="Image description" width="800" height="412"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bbCJeja6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cose8thfdb9mz2c79jf0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bbCJeja6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cose8thfdb9mz2c79jf0.png" alt="Image description" width="708" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Selecting the Previous Sibling Element&lt;/strong&gt;&lt;br&gt;
Selecting the Previous Sibling Element is possible by combined use of CSS adjacent sibling combinator with the :has(). &lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ictgJbsh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1725nzlq76kgsul3x7h6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ictgJbsh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1725nzlq76kgsul3x7h6.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Conditional Decorations&lt;/strong&gt;&lt;br&gt;
Based on child element under any condition, different style can be applied.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YSUpCC1i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1wb8oj4210uuf7uflgwd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YSUpCC1i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1wb8oj4210uuf7uflgwd.png" alt="Image description" width="769" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Styling Empty States&lt;/strong&gt;&lt;br&gt;
It is possible to style elements that contain nothing using :empty and :has() together very easily.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--W3gzNCvG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t9dqb91i4o396iimxujz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--W3gzNCvG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t9dqb91i4o396iimxujz.png" alt="Image description" width="706" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Layout Customize&lt;/strong&gt;&lt;br&gt;
Layout can be changed according to child element with or without condition.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GafqKeAH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w8yrxujdfo9utzcx5374.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GafqKeAH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w8yrxujdfo9utzcx5374.png" alt="Image description" width="766" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Change Theme Without Js&lt;/strong&gt;&lt;br&gt;
Theme mood toggle Without JS, it is possible now for the pseudo-class ":has()". You should thank this CSS feature, shouldn't you?&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FkYJxC7C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifrn5jnkt0zfmdl6gb93.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FkYJxC7C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifrn5jnkt0zfmdl6gb93.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Browser Support Check&lt;/strong&gt;&lt;br&gt;
At the time of publishing this post, the :has() achieves global 76.16% of browser support. Few browser didn't adopt it(Firefox is one of them 😟).I hope, it will be supported 100% by all browsers.&lt;br&gt;
Example code&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EHtTiKRi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yfibzud4tbdcqxieyt1n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EHtTiKRi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yfibzud4tbdcqxieyt1n.png" alt="Image description" width="800" height="258"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Caution&lt;/strong&gt;&lt;br&gt;
⚠ The :has() pseudo-class can not be nested within another :has().&lt;br&gt;
⚠ The :has() does not take any pseudo-elements in its argument.&lt;/p&gt;

&lt;p&gt;All examples' live code &lt;a href="https://codepen.io/sampad-sarker/pen/BaxEypE"&gt;here&lt;/a&gt;⤵&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/sampad-sarker/embed/BaxEypE?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Thanks for reading all the way through 🎉🥳🎈. &lt;br&gt;
I hope you learned something new from this post. Feel free to leave your comments, advice, and suggestions so that I'll publish better posts in the future.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
    </item>
    <item>
      <title>Understanding :is() by Examples</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Mon, 17 Oct 2022 06:05:34 +0000</pubDate>
      <link>https://forem.com/sampadsarker/understanding-is-by-examples-oeh</link>
      <guid>https://forem.com/sampadsarker/understanding-is-by-examples-oeh</guid>
      <description>&lt;p&gt;The :is() a functional CSS pseudo-class. Originally it was named :matches() and :any(), now this selector is renamed to :is().&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does it do?&lt;/strong&gt;&lt;br&gt;
It takes a selector or a collection of selector(separated by comma) as argument and select any single element or group of elements based on the argument.&lt;/p&gt;

&lt;p&gt;Let's go to clarify the concept through examples.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example 1&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
normal nesting. Make a group of child element.&lt;/p&gt;

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

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

&lt;p&gt;⚠ Be careful about space between main and :is().If there is no space, nesting will not work. What will happen when without space, it will be discussed after few moment later.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Example 2&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
Apply the same styling to more than one element. That is the beauty of :is().Make a group of parent element.&lt;/p&gt;

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

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

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Example 3&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
Multiple use of :is() for complex nesting. Here parents elements and child elements are different but combine them in a single line.&lt;/p&gt;

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

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

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Example 4&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
It is also possible to same lavel styling using :is().There is no space before :is().&lt;/p&gt;

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

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

&lt;p&gt;🤞Hope, with this example, you may have clear idea when to put space or not before :is().&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Example 5&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
Use combinator(&amp;gt;, +, ~) with :is().&lt;/p&gt;

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

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

&lt;p&gt;Here, anchore tag(&lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt;) doesn't change the color, because it is not a direct child. But other child works well because :is() has "forgiving selector" feature. &lt;/p&gt;

&lt;p&gt;⚠⚡:is() does not work with pseudo-elements.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;:is(::before, ::after) {...}&lt;/code&gt; is invalid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Specificity of :is()&lt;/strong&gt;&lt;br&gt;
The specificity of :is() will be the highest specificity of the selector from selector list in its argument.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;:is(selector1, selector2, .className)&lt;/code&gt;--&amp;gt; specificity is 10 beacuse .className.&lt;br&gt;
&lt;code&gt;:is(selector1, #idName, selector2, .className)&lt;/code&gt;--&amp;gt; specificity is 100 because #idName.&lt;/p&gt;

&lt;p&gt;All examples' live code &lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/sampad-sarker/embed/OJZqGXd?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;That's all 🎉&lt;br&gt;
Thanks for reading till the end.👍&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>pseudoclass</category>
      <category>frontenddev</category>
    </item>
    <item>
      <title>Take a Full-Page Screenshot in Browser (without extension or add-on)</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Mon, 03 Oct 2022 11:57:17 +0000</pubDate>
      <link>https://forem.com/sampadsarker/take-a-full-page-screenshot-in-browser-without-extension-or-add-on-39pg</link>
      <guid>https://forem.com/sampadsarker/take-a-full-page-screenshot-in-browser-without-extension-or-add-on-39pg</guid>
      <description>&lt;h1&gt;
  
  
  Google Chrome
&lt;/h1&gt;

&lt;p&gt;Chrome browser contains default screenshot feature in developer tools.&lt;/p&gt;

&lt;p&gt;To take a full-page screenshot, follow these instructions:&lt;/p&gt;

&lt;p&gt;1.Open Chrome’s menu (three dots on the right corner).&lt;/p&gt;

&lt;p&gt;2.More tools &amp;gt; Developer tools or press F12.&lt;/p&gt;

&lt;p&gt;3.Click on the three-dot icon from the top-right corner and then select Run command. As a hotkey, you can press 'ctrl+shift+p' on Windows or 'command+shift+p' on Mac.&lt;/p&gt;

&lt;p&gt;4.Type screenshot into the search box.&lt;/p&gt;

&lt;p&gt;5.Select capture full-size screenshot.&lt;/p&gt;

&lt;p&gt;6.That's all, chrome browser will save the full page screenshot into your downloads folder.&lt;/p&gt;

&lt;h1&gt;
  
  
  Mozilla Firefox
&lt;/h1&gt;

&lt;p&gt;You can snap a scrolling screenshot with Mozilla's built-in feature.&lt;/p&gt;

&lt;p&gt;Follow these steps to take a full-page screenshot.&lt;/p&gt;

&lt;p&gt;1.Open Mozilla's menu (three bars on the right corner).&lt;/p&gt;

&lt;p&gt;2.More tools &amp;gt; Customize toolbar...&lt;/p&gt;

&lt;p&gt;3.Find out Screenshot icon and click and drag the Screenshot tool into the toolbar or right click on it and select add to toolbar.&lt;/p&gt;

&lt;p&gt;4.Now click on screenshot tool icon and select save full page or save visible(if necessary).&lt;/p&gt;

&lt;p&gt;5.Finally click on download which appeared after taking the screenshot. This screenshot can be found into mozilla browser's download folder. &lt;/p&gt;

</description>
      <category>screenshot</category>
      <category>chrome</category>
      <category>firefox</category>
      <category>beginners</category>
    </item>
    <item>
      <title>10 HTML Tags for SEO🔍</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Sun, 25 Sep 2022 06:46:13 +0000</pubDate>
      <link>https://forem.com/sampadsarker/10-html-tags-for-seo-9ib</link>
      <guid>https://forem.com/sampadsarker/10-html-tags-for-seo-9ib</guid>
      <description>&lt;h4&gt;
  
  
  1.Use Title Tags
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;title&amp;gt;Title of the webpage ...... &amp;lt;/title&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Your content is labeled in this way, and search engines interpret this as the name of your page.&lt;/p&gt;

&lt;h4&gt;
  
  
  2.Meta Description Tags
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta name="description" content="Learn html, css, Js and develop your own website or helps others to make their websites."&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;When the article appears in search results, Google will also reveal this. The title and meta description tags should both contain your keywords.&lt;/p&gt;

&lt;h4&gt;
  
  
  3.Header Tags
&lt;/h4&gt;

&lt;p&gt;Here is the hierarchy of header tags:&lt;br&gt;
&lt;code&gt;&amp;lt;h1&amp;gt;&amp;lt;/h1&amp;gt;&lt;/code&gt; – typically used for webpage title.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h2&amp;gt;&amp;lt;/h2&amp;gt;&lt;/code&gt; – highlights the secondary titles of the webpage.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h3&amp;gt;&amp;lt;/h3&amp;gt;&lt;/code&gt; – related points of the topic in the webpage.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h4&amp;gt;&amp;lt;/h4&amp;gt;&lt;/code&gt; – supporting points from &lt;code&gt;&amp;lt;h3&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;h5&amp;gt;&amp;lt;/h5&amp;gt;&lt;/code&gt; – not commonly used, but excellent for supporting &lt;code&gt;&amp;lt;h4&amp;gt;&lt;/code&gt; points.&lt;/p&gt;

&lt;h4&gt;
  
  
  4.Add alt in Images
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;img src="cats.jpg" alt="cat is sleeping on couch"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The alt attribute tells search engines what the image is about. Search engines have no idea what the image is about unless it has an alt.&lt;/p&gt;

&lt;h4&gt;
  
  
  5.Building Links
&lt;/h4&gt;

&lt;p&gt;Obtaining high-quality backlinks is a part of SEO. You should also pay attention to internal connections as well as exterior links.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;a href="http://mywebsite.com/" rel="nofollow"&amp;gt;your anchor text&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The link will still function, but search engines will not accept it. It is useful to share links with visitors without affecting the SEO of the other pages.&lt;/p&gt;

&lt;h4&gt;
  
  
  6.Add Open Graph Tags
&lt;/h4&gt;

&lt;p&gt;Open graph tags helps in improving social media's search and display capabilities. For instance, if your information is posted on Facebook, open graph will be used to display the information.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta name="og:title" property="og:title" content="The Title of Your Blog"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  7.Twitter Card Tags
&lt;/h4&gt;

&lt;p&gt;Twitter Cards work similar to OG with the exception that these are specifically for Twitter.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta name="twitter:card" content="summary"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It is advisable to optimize your cards to get the most out of the tags.&lt;/p&gt;

&lt;h4&gt;
  
  
  8.The Robots Tag
&lt;/h4&gt;

&lt;p&gt;If you wish to block particular articles from being indexed, use the robots tag.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta name="robots" content="noindex, nofollow"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Google will not index the content or follow any of the links in this case. However, you must exercise caution when employing these HTML elements for SEO purposes. &lt;/p&gt;

&lt;h4&gt;
  
  
  9.Use Canonical Tags when necessary
&lt;/h4&gt;

&lt;p&gt;When you develop a website, you can make it available in a variety of ways. As an example:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.yourwebsite.com"&gt;http://www.yourwebsite.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.yourwebsite.com"&gt;https://www.yourwebsite.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://yourwebsite.com"&gt;http://yourwebsite.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://yourwebsite.com"&gt;https://yourwebsite.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;link rel="canonical" href="https://yourwebsite.com/"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This tells Google that “&lt;a href="https://yourwebsite.com/%E2%80%9D"&gt;https://yourwebsite.com/”&lt;/a&gt; is the URL on which you’re focusing.&lt;/p&gt;

&lt;h4&gt;
  
  
  10.Responsive Site Meta Tags
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;&lt;/code&gt;&lt;br&gt;
To inform  that search engines should be made aware that your website is responsive.&lt;/p&gt;

</description>
      <category>html</category>
      <category>seo</category>
      <category>searchengine</category>
      <category>beginners</category>
    </item>
    <item>
      <title>5 Quick Steps Transpiling SCSS to CSS Using Node (with watch &amp; minify mode)</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Tue, 20 Sep 2022 04:21:12 +0000</pubDate>
      <link>https://forem.com/sampadsarker/5-quick-steps-transpiling-scss-to-css-using-node-with-watch-minify-mode-2mm</link>
      <guid>https://forem.com/sampadsarker/5-quick-steps-transpiling-scss-to-css-using-node-with-watch-minify-mode-2mm</guid>
      <description>&lt;p&gt;I use vscode editor on Windows10&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Install Node.js
&lt;/h3&gt;

&lt;p&gt;First download node from the official website &lt;a href="https://nodejs.org/en/" rel="noopener noreferrer"&gt;nodejs.org&lt;/a&gt;, and install it.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Initialize NPM
&lt;/h3&gt;

&lt;p&gt;Open vscode terminal. Run the command&lt;br&gt;
&lt;code&gt;npm init&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Press enter to all the options(description, author, keyword etc.) one by one or put the information in every option(if you wish, but not mandatory). After that, package.json file will generate in your file structure.&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%2F4lsu93ltfixrdjoz9syy.jpg" 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%2F4lsu93ltfixrdjoz9syy.jpg" alt="package.json file"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Install Sass
&lt;/h3&gt;

&lt;p&gt;Go to &lt;a href="https://www.npmjs.com/package/sass" rel="noopener noreferrer"&gt;npm website&lt;/a&gt; to find sass package.&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%2Fbeesanubckjvrgue8npa.jpg" 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%2Fbeesanubckjvrgue8npa.jpg" alt="npm sass package"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Execute the command on terminal&lt;br&gt;
&lt;code&gt;npm install sass&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After that node_modules folder and package-lock.json file will be added the file structure.&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%2F5scg8uobc6cqc9aq4nxk.jpg" 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%2F5scg8uobc6cqc9aq4nxk.jpg" alt="node_modules package-lock json file"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Write sass Command
&lt;/h3&gt;

&lt;p&gt;Go to the package.json file. In the scripts section remove &lt;code&gt;"test": "echo \"Error: no test specified\" &amp;amp;&amp;amp; exit 1"&lt;/code&gt; and add the small script&lt;/p&gt;

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

"scripts": {
    "scss": "sass --watch sass/style.scss css/style.css"
},


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

&lt;/div&gt;

&lt;p&gt;After executing the script, it will generate style.css and style.css.map in the css folder.&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%2Fso5490i7vfd18w0bsaun.jpg" 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%2Fso5490i7vfd18w0bsaun.jpg" alt="css folder"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you want to avoid style.css.map file, the script will be
```
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;"scripts": {&lt;br&gt;
    "scss-no-source-map": "sass --watch --no-source-map sass/style.scss css/style.css"&lt;br&gt;
},&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
* If you want to generate compressed css, then add the script
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;"scripts": {&lt;br&gt;&lt;br&gt;
    "minify": "sass --watch sass/style.scss --style compressed css/style.min.css"&lt;br&gt;
},&lt;/p&gt;



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

&lt;/div&gt;



&lt;p&gt;"scripts": {&lt;br&gt;
    "scss": "sass --watch sass/style.scss css/style.css",&lt;br&gt;
    "scss-no-source-map": "sass --watch --no-source-map sass/style.scss css/style.css",&lt;br&gt;
    "minify": "sass --watch sass/style.scss --style compressed css/style.min.css",&lt;br&gt;
    "minify-no-source-map": "sass --watch --no-source-map sass/style.scss --style compressed css/style.min.css"&lt;br&gt;
},&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
### 5. Run the Script 
Execute the command on terminal to run the script

`npm run scss`
or
`npm run scss-no-source-map`
or
`npm run minify`
or
`npm run minify-no-source-map`


**_&amp;lt;u&amp;gt;Point to be Noted&amp;lt;/u&amp;gt;_**
In html file, you must link with the css file generated in css folder.

![css link in html](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jf8gp2sq0tek8y189aob.jpg)

For more effectiveness, use [live server extension](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) on vscode.


HAPPY CODING!!! 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>scss</category>
      <category>sass</category>
      <category>node</category>
      <category>npm</category>
    </item>
    <item>
      <title>Install and Customize The Live Sass Compiler</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Mon, 19 Sep 2022 05:02:58 +0000</pubDate>
      <link>https://forem.com/sampadsarker/install-and-customize-the-live-sass-compiler-19k9</link>
      <guid>https://forem.com/sampadsarker/install-and-customize-the-live-sass-compiler-19k9</guid>
      <description>&lt;h4&gt;
  
  
  Install
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;step 1:&lt;/strong&gt; Go to vscode and find the extension named "Live Sass Compiler", which is now maintained by Glenn Marks at the time of writing this article.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PWwiNI-z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fontumsm8myl0piquc5i.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PWwiNI-z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fontumsm8myl0piquc5i.jpg" alt="Live Sass Compiler extension" width="800" height="579"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 2:&lt;/strong&gt; At the very bottom of the vscode, click on Watch Sass. If any case, you don't find Watch Sass, then go to .scss file (not partial scss file ) and you will able to click on Watch Sass.&lt;/p&gt;

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

&lt;h4&gt;
  
  
  Customize
&lt;/h4&gt;

&lt;p&gt;On vscode editor, press &lt;code&gt;ctrl + shift + p&lt;/code&gt;&lt;br&gt;
On search bar, type open setting&lt;br&gt;
then click on&lt;br&gt;
preference: open user setting(JSON) and you will be in settings.json file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4maKNV33--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/23kbo0jhdd4sxfevg6as.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4maKNV33--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/23kbo0jhdd4sxfevg6as.jpg" alt="open settings" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the settings.json, put the following code very last of the json.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"liveSassCompile.settings.formats": [
    //by default generate css in root directory
    {
      "format": "expanded",
      "extensionName": ".css",
      "savePath": null,
      "savePathReplacementPairs": null
    },

    //generate compressed css 
    {
      "format": "compressed",
      "extensionName": ".min.css",
      "savePath": null,
      "savePathReplacementPairs": null
    },

    // generate css in another folder named css
    {
      "format": "expanded",
      "extensionName": ".css",
      "savePath": "/css",
      "savePathReplacementPairs": null
    }
  ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;For more effectiveness, use &lt;a href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer"&gt;live server extension&lt;/a&gt; on vscode.&lt;/p&gt;

&lt;p&gt;HAPPY😃 CODING👩‍💻 !!!&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>sass</category>
      <category>scss</category>
      <category>css</category>
    </item>
    <item>
      <title>What I Discovered From The Course "Conquering Responsive Layouts" by Kevin Powell</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Fri, 16 Sep 2022 07:27:56 +0000</pubDate>
      <link>https://forem.com/sampadsarker/what-i-discovered-from-the-course-conquering-responsive-layouts-by-kevin-powell-18hf</link>
      <guid>https://forem.com/sampadsarker/what-i-discovered-from-the-course-conquering-responsive-layouts-by-kevin-powell-18hf</guid>
      <description>&lt;p&gt;Always try to follow these key points to design responsive layout.&lt;/p&gt;

&lt;p&gt;1.Do not use fixed width or height.&lt;/p&gt;

&lt;p&gt;2.if needed, use percentage(%) for width or  &lt;code&gt;max-width&lt;/code&gt; property.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container{
 width:80%;
 max-width:45rem;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container{
 width:min(80%,45rem);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.if needed, use &lt;code&gt;min-height&lt;/code&gt; property.&lt;/p&gt;

&lt;p&gt;4.Avoid using &lt;code&gt;px&lt;/code&gt; unit, try to use &lt;code&gt;em&lt;/code&gt;,&lt;code&gt;rem&lt;/code&gt;,&lt;code&gt;ch&lt;/code&gt;,&lt;code&gt;ex&lt;/code&gt; unit.&lt;/p&gt;

&lt;p&gt;5.Ensuring make the image responsive.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;img{
 max-width:100%;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;6.&lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; query&lt;br&gt;
-&amp;gt;Always try to put media query at the very last of css.&lt;br&gt;
-&amp;gt;Always use media query from smallest to biggest devices.&lt;br&gt;
-&amp;gt;To reduce complexity, use less number of media query.&lt;br&gt;
-&amp;gt;The less break points(&lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; query) you have, the easier the webpage to maintain.&lt;/p&gt;




&lt;p&gt;&lt;u&gt;&lt;strong&gt;Summery&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Website are responsive before we right any css.&lt;/li&gt;
&lt;li&gt;When our layouts run into issues, we're at fault in our css style, we have done wrong in our own css.&lt;/li&gt;
&lt;li&gt;Desktop-first approach is the main culprit.&lt;/li&gt;
&lt;li&gt;Writing mobile-first css tends to be the easier approach, even if you have a desktop layout.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;N.B: The course is completely free, you can find the course from this link&lt;br&gt;
&lt;a href="https://courses.kevinpowell.co/conquering-responsive-layouts"&gt;course link&lt;/a&gt;&lt;/p&gt;

</description>
      <category>responsive</category>
      <category>webdev</category>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>You Need Just 4 Steps to Responsive Design Approach</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Thu, 08 Sep 2022 07:12:47 +0000</pubDate>
      <link>https://forem.com/sampadsarker/you-need-just-4-steps-to-responsive-design-approach-p65</link>
      <guid>https://forem.com/sampadsarker/you-need-just-4-steps-to-responsive-design-approach-p65</guid>
      <description>&lt;p&gt;&lt;strong&gt;step 1:&lt;/strong&gt; At first, develop a html structure according to design, just only html (no css).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 2:&lt;/strong&gt; This only html structure provides you mobile-like small devices' design(check it on dev tool). Put typography, color, padding, margin in the html through css, but do not put any layout style.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 3:&lt;/strong&gt; Find out break points using dev tool and then use &lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; query according to that breakpoints. In this step, concentrate on layout. Use &lt;code&gt;display:flex/grid/block/inline&lt;/code&gt; and other properties into &lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; query.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 4:&lt;/strong&gt; Use less number of &lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; query as much as possible to reduce complexity.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>responsive</category>
      <category>web</category>
      <category>html</category>
    </item>
    <item>
      <title>The Nuts and Bolts 🔩⚙ of Logical Margin 📏📐</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Fri, 01 Jul 2022 19:07:47 +0000</pubDate>
      <link>https://forem.com/sampadsarker/the-nuts-and-bolts-of-logical-margin-d83</link>
      <guid>https://forem.com/sampadsarker/the-nuts-and-bolts-of-logical-margin-d83</guid>
      <description>&lt;p&gt;Understand the core difference in usage of logical margin (margin-block-start , margin-block-end , margin-inline-start , margin-inline-end) as well as logical padding, logical border.&lt;/p&gt;

&lt;p&gt;Keep the image in mind.&lt;/p&gt;

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

&lt;p&gt;&lt;em&gt;By default:&lt;/em&gt;(&lt;code&gt;writing-mode:horizontal-tb&lt;/code&gt;)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;margin-block-start&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-top&lt;/span&gt;
&lt;span class="nt"&gt;margin-block-end&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-bottom&lt;/span&gt;
&lt;span class="nt"&gt;margin-inline-start&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-left&lt;/span&gt;
&lt;span class="nt"&gt;margin-inline-end&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-right&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;example:&lt;br&gt;
codepen &lt;a href="https://codepen.io/sampad-sarker/pen/QWmwGBW"&gt;link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It behaves differently,&lt;br&gt;
&lt;em&gt;when using &lt;code&gt;writing-mode:vertical-lr&lt;/code&gt; :&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;margin-block-start&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-left&lt;/span&gt;
&lt;span class="nt"&gt;margin-block-end&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-right&lt;/span&gt;
&lt;span class="nt"&gt;margin-inline-start&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-top&lt;/span&gt; 
&lt;span class="nt"&gt;margin-inline-end&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-bottom&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;example:&lt;br&gt;
codepen &lt;a href="https://codepen.io/sampad-sarker/pen/QWmwGBW"&gt;link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It behaves another way,&lt;br&gt;
&lt;em&gt;when using &lt;code&gt;writing-mode:vertical-rl&lt;/code&gt; :&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;margin-block-start&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-right&lt;/span&gt;
&lt;span class="nt"&gt;margin-block-end&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-left&lt;/span&gt;
&lt;span class="nt"&gt;margin-inline-start&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-top&lt;/span&gt; 
&lt;span class="nt"&gt;margin-inline-end&lt;/span&gt; &lt;span class="nt"&gt;means&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nt"&gt;margin-bottom&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;example:&lt;br&gt;
codepen &lt;a href="https://codepen.io/sampad-sarker/pen/QWmwGBW"&gt;link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Basically, each margin-block/inline-start/end property will be mapped to a margin-top/left/bottom/right property based on the values of &lt;code&gt;writing-mode&lt;/code&gt; , &lt;code&gt;direction&lt;/code&gt;, and &lt;code&gt;text-orientation&lt;/code&gt;. This concept is same for logical padding and logical border.&lt;/p&gt;

&lt;p&gt;HAPPY CODING!!!😃&lt;/p&gt;

</description>
      <category>css</category>
      <category>margin</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Dry run the code before compile</title>
      <dc:creator>Sampad Sarker</dc:creator>
      <pubDate>Fri, 01 Jul 2022 14:07:44 +0000</pubDate>
      <link>https://forem.com/sampadsarker/dry-run-the-code-before-compile-6dc</link>
      <guid>https://forem.com/sampadsarker/dry-run-the-code-before-compile-6dc</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is dry run?&lt;/strong&gt;&lt;br&gt;
Tracing code manually on pen &amp;amp; paper.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Common mistakes in Dry run&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;❌ Skipping lines or skipping loop completely/half-completely.&lt;br&gt;
❌ Don't track updated values of variables.&lt;br&gt;
❌ Not tracing the real code rather than another  imaginary code in your mind because of lack of concentration.&lt;br&gt;
❌ Reading mistakes(silly mistakes like comma, semicolon , typos etc.).&lt;br&gt;
❌ Conceptual lacking(not clear about execution sequence , execution context, data flow , loop execution etc.).  &lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Good practice in Dry run&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;✔ Always write updated values of variables by drawing box shape . In case of loop, use table like chart to track every updated variables of every iteration. &lt;br&gt;
✔ Read lines letter by letter.&lt;br&gt;
✔ Evaluate arithmetic expression according to precedence rule of operator.&lt;br&gt;
✔ Give enough time for dry run.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Why need dry run?&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;understand the code properly.&lt;/li&gt;
&lt;li&gt;clear the coding concept.&lt;/li&gt;
&lt;li&gt;find bugs easily.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>dryrun</category>
      <category>code</category>
      <category>debug</category>
    </item>
  </channel>
</rss>
