<?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: Md Shahab Uddin</title>
    <description>The latest articles on DEV Community by Md Shahab Uddin (@shahab570).</description>
    <link>https://dev.to/shahab570</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%2F356050%2F055538f5-d668-410e-a1d7-e00b3b062c01.jpg</url>
      <title>DEV Community: Md Shahab Uddin</title>
      <link>https://dev.to/shahab570</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shahab570"/>
    <language>en</language>
    <item>
      <title>Tools you need to write meta tags faster</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Tue, 27 Jul 2021 18:12:03 +0000</pubDate>
      <link>https://dev.to/shahab570/tools-you-need-to-write-meta-tags-faster-2hlo</link>
      <guid>https://dev.to/shahab570/tools-you-need-to-write-meta-tags-faster-2hlo</guid>
      <description>&lt;p&gt;I have just completed learning about HTML Meta tags. I never thought that it can be so much powerful for SEO. I learnt about 20-30 meta tags, opergraph protocol and twitter cards. But after reading all thsese things , I Understood that I need to use some tools so that I can work faster. &lt;br&gt;
SO  , I am sharing some websites and tools whcih will help you to write better meta tags. Here is the list:&lt;/p&gt;

&lt;h1&gt;
  
  
  General Meta tag generator
&lt;/h1&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  * https://www.freemetataggenerator.com/
  * https://smallseotools.com/open-graph-generator/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
  
  
  Opengraph Meta tag generator
&lt;/h1&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   * https://metatags.io/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
  
  
  A nice website to understand better about meta tags
&lt;/h1&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   * https://www.metatags.org/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
  
  
  Github Repository for collection of meta tags
&lt;/h1&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   * https://gist.github.com/lancejpollard/1978404  
   * https://github.com/joshbuchea/HEAD
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>CSS border in Images</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Sun, 20 Jun 2021 16:54:30 +0000</pubDate>
      <link>https://dev.to/shahab570/css-border-in-images-50ah</link>
      <guid>https://dev.to/shahab570/css-border-in-images-50ah</guid>
      <description>&lt;p&gt;Let's learn about CSS border with images&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%2Fv0m1y0io2ru1ugs6x1au.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%2Fv0m1y0io2ru1ugs6x1au.png" alt="style" width="800" height="483"&gt;&lt;/a&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%2Fqkl4xuawau3g0xsyvz82.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%2Fqkl4xuawau3g0xsyvz82.png" alt="width" width="800" height="483"&gt;&lt;/a&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%2F9xeguktnayw8ih6veahw.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%2F9xeguktnayw8ih6veahw.png" alt="color" width="800" height="483"&gt;&lt;/a&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%2Fdgutx2rwf5ylor35wxfa.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%2Fdgutx2rwf5ylor35wxfa.png" alt="side" width="800" height="484"&gt;&lt;/a&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%2Fepz172i3un8izfui0wjx.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%2Fepz172i3un8izfui0wjx.png" alt="shorthand" width="800" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>design</category>
    </item>
    <item>
      <title>The Arguments Object in Javascript</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Sat, 19 Jun 2021 10:32:24 +0000</pubDate>
      <link>https://dev.to/shahab570/the-arguments-object-in-javascript-1a37</link>
      <guid>https://dev.to/shahab570/the-arguments-object-in-javascript-1a37</guid>
      <description>&lt;p&gt;In javaScript we are free to pass as many argument as we want and javaScript won't show us error. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function multiply(x) {
    var result = x * 10;
    console.log(result);
}
multiply(5,7,8,9);  //50
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This code won't show error becuase javaScript avoids these extra arguments. But if we want,we can access them via an Object which is called arguments object.&lt;/p&gt;

&lt;p&gt;Those parameters which are present in funciton definition can only be accessed by the parameter name.Other additional parameter will have to access  throguh arguments object.&lt;br&gt;
Let'see and example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wage(salary, month) {
    const total = salary * month;
    const invoice = total + arguments[0];
    console.log(invoice); 
}
wage(1000, 5, 1000);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The output of the above funciton is 6000. IF you add more arguments , we also can access them throgh argument object.&lt;/p&gt;

&lt;p&gt;Remember that It's not an Array , It's an arry like object which doesn't have any array like properties except length. You can calculate legth of the argument with &lt;strong&gt;arguments.length&lt;/strong&gt;. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wage(salary, month) {
   console.log(arguments.length)
}
wage(1,2,3,4,5,6,7,8,9,10);  //10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Althoguh arguments object don't have array properties and methods but we can convert them to array and use all the Array properties&lt;/p&gt;

&lt;h1&gt;
  
  
  4 ways to convert Argument Object to Array
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;First Method:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wage(x,y) {
    return Array.prototype.slice.call(arguments);
}
wage(1, 2, 3); //[1,2,3]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Second Method:&lt;/strong&gt;&lt;br&gt;
function wage(salary) {&lt;br&gt;
    return  [].slice.call(arguments);&lt;br&gt;
}&lt;br&gt;
wage(1, 2, 3); //[1,2,3]&lt;br&gt;
&lt;strong&gt;Third Method:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wage(salary) {
    return Array.from(arguments);
}
wage(1, 2, 3); //[1.2.3]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Fourth Method:&lt;/strong&gt;&lt;br&gt;
function wage(salary) {&lt;br&gt;
    return  [...arguments];&lt;br&gt;
}&lt;br&gt;
wage(1, 2, 3); //[1.2.3]&lt;/p&gt;

&lt;p&gt;I hope you now have a clear idea of converting this array like object to an actual array. You can also check type of arguments passed in the funciton. FOr example&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wage() {
    console.log(typeof arguments[0]); //Number
    console.log(typeof arguments[1]); //String
    console.log(typeof arguments[2]); //Object
    console.log(typeof arguments[3]); //Object 
}
wage(1, "John", ["A","B"],{age: 25,gender: "Male"});;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thanks for reading my article.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>array</category>
      <category>arguments</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS Rule order of precedence</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Sun, 13 Jun 2021 21:47:47 +0000</pubDate>
      <link>https://dev.to/shahab570/css-rule-order-of-precedence-1en9</link>
      <guid>https://dev.to/shahab570/css-rule-order-of-precedence-1en9</guid>
      <description>&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%2Fxi5sbrvcvvs1t2dn017i.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%2Fxi5sbrvcvvs1t2dn017i.png" alt="sdgsdg" width="201" height="201"&gt;&lt;/a&gt;&lt;br&gt;
 This is the order of precedence(Highest to lowest):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Specific rules: When we target html by claa or id or tag. Order &lt;br&gt;
of precedence is ID&amp;gt;class&amp;gt;tag. IF specificity is the same, later takes the precedence.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inline styles&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Embedded styles: Styles defined inside the header of a page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;External styles&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browser Default&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>css</category>
      <category>specificity</category>
      <category>html</category>
      <category>cssrule</category>
    </item>
    <item>
      <title>Most Important Color Tools For Your Design</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Sun, 13 Jun 2021 07:38:28 +0000</pubDate>
      <link>https://dev.to/shahab570/most-important-color-tools-for-your-design-4c24</link>
      <guid>https://dev.to/shahab570/most-important-color-tools-for-your-design-4c24</guid>
      <description>&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%2Fn0qps3eq0hlv09k9kiw8.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%2Fn0qps3eq0hlv09k9kiw8.png" alt="s" width="800" height="621"&gt;&lt;/a&gt;&lt;br&gt;
 Every professional on the web has to play with colors such as graphics designer, web designer, ui/ux designer,. To use color efficiently, we have to use some tools. Here are some color tools and websites I used to accomplish various tasks. I hope it helps you too. &lt;/p&gt;

&lt;h1&gt;
  
  
  coolors.co
&lt;/h1&gt;

&lt;p&gt;1.Color picker: I can make shades , tints, hues, temperature, harmony, blindness simulator, contrast checker and color library&lt;/p&gt;

&lt;p&gt;2.Extract color pallette from photo&lt;/p&gt;

&lt;p&gt;3.crete ccollage&lt;/p&gt;

&lt;p&gt;4.contrast checker&lt;/p&gt;

&lt;p&gt;5.Generate color/Explore color pallette&lt;/p&gt;

&lt;p&gt;6.Trendng colors&lt;/p&gt;

&lt;h1&gt;
  
  
  canva.com
&lt;/h1&gt;

&lt;p&gt;1.Color wheel&lt;/p&gt;

&lt;p&gt;2.Color meaning&lt;/p&gt;

&lt;h1&gt;
  
  
  cssfontstack.com
&lt;/h1&gt;

&lt;p&gt;1.Lighten and darken a color&lt;/p&gt;

&lt;h1&gt;
  
  
  colorable.jxnblk.com
&lt;/h1&gt;

&lt;p&gt;1.Contrast checker&lt;/p&gt;

&lt;h1&gt;
  
  
  picular.co
&lt;/h1&gt;

&lt;p&gt;1.Primary color generator&lt;/p&gt;

&lt;h1&gt;
  
  
  pigment.shapefactory.co
&lt;/h1&gt;

&lt;p&gt;1.Primary and accent color maker&lt;/p&gt;

&lt;h1&gt;
  
  
  Some other websites which may be helpful
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;labs.tinyeye.com&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Google chrome extension
&lt;/h1&gt;

&lt;p&gt;1.colorpick eyedropper: This extension will help you pick a color from any website on your browser screen.&lt;/p&gt;

</description>
      <category>color</category>
      <category>design</category>
      <category>colortheory</category>
      <category>tools</category>
    </item>
    <item>
      <title>Confusing attribute selector</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Fri, 11 Jun 2021 15:31:12 +0000</pubDate>
      <link>https://dev.to/shahab570/confusing-attribute-selector-4cj9</link>
      <guid>https://dev.to/shahab570/confusing-attribute-selector-4cj9</guid>
      <description>&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%2Fgzyh0b3qu6ge3xauxrww.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%2Fgzyh0b3qu6ge3xauxrww.png" alt="sdg" width="201" height="201"&gt;&lt;/a&gt;&lt;br&gt;
 I find some attribute selectors sometimes confusing. Here is the three attribut selector I find confusing. This article will help those who also have confusion about these attribute selectors.&lt;/p&gt;
&lt;h1&gt;
  
  
  1. [attribute ~= "value"] Selector
&lt;/h1&gt;

&lt;p&gt;Suppose we have html code like this:&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;p class="team1 member"&amp;gt;First Paragraph&amp;lt;/p&amp;gt;
  &amp;lt;p class="team2 member"&amp;gt;Second Paragraph&amp;lt;/p&amp;gt;
  &amp;lt;p class="team3"&amp;gt;Third Paragraph&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If i use the above selector in CSS, it looks like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p[class ~="member"] {
  background-color: red;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above CSS only will be applied on The first 2 paragraph element, Because "member" is one of the class of the p element. There may be more than one class or only one class. NO matter what this rule works&lt;/p&gt;

&lt;h1&gt;
  
  
  2.  [attribute |= "value"] Selector
&lt;/h1&gt;

&lt;p&gt;This attribute applies to only those selector which starts with the specified value&lt;br&gt;
Suppose this is the html&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;p class="member-team"&amp;gt;First Paragraph&amp;lt;/p&amp;gt;
  &amp;lt;p class="member first"&amp;gt;Second Paragraph&amp;lt;/p&amp;gt;
  &amp;lt;p class="team3"&amp;gt;Third Paragraph&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and now we use css&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p[class |="member"] {
  background-color: red;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Above CSS applies to only first and third paragraph element. Because Value has to alone or there should be a hypen after the value. Only then selector will match&lt;/p&gt;

&lt;h1&gt;
  
  
  2.  [attribute *= "value"] Selector
&lt;/h1&gt;

&lt;p&gt;In the case of this selector it doens't matter where the value is .It may be at the beggining, at the endign , in the middle or the value may be part of a long word. No matter what if the value exists, this selector will match.&lt;/p&gt;

</description>
      <category>html</category>
    </item>
    <item>
      <title>Empty Pseudo Class</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Mon, 31 May 2021 08:59:28 +0000</pubDate>
      <link>https://dev.to/shahab570/empty-pseudo-class-10j1</link>
      <guid>https://dev.to/shahab570/empty-pseudo-class-10j1</guid>
      <description>&lt;p&gt;There are so many Pseudo Class and ":empty" is one of them.Let's break dowth is pseudo class. &lt;/p&gt;

&lt;p&gt;Empty pseudo class is applied on empty element.At First we need to learn what are empty elements. There are certain requiements to become an empty element. &lt;br&gt;
Some examples of empty elements are.&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&amp;gt;&amp;lt;/div&amp;gt; 
&amp;lt;div&amp;gt;&amp;lt;!--This is a comment --&amp;gt;&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Even a space inside an element cause the element to be non empty &lt;br&gt;
 element.Even if we add one letter or one sentence it becomes a non empty element such as:&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&amp;gt;P&amp;lt;/div&amp;gt; 
 &amp;lt;div&amp;gt;Lorem ipsum dolor sit amet.&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;If we want to target those empty element,  we can use empty pseudo class.Let's target all empty elements in CSS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;:empty {
   //Your code here
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to target specific empty element such as empty table cell use this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;td:empty {
    background: red;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I hope you get it How to use empty pseudo class&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Difference between Child Selector and Descendant Selector</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Sat, 29 May 2021 10:31:43 +0000</pubDate>
      <link>https://dev.to/shahab570/difference-between-child-selector-and-descendant-selector-4c6a</link>
      <guid>https://dev.to/shahab570/difference-between-child-selector-and-descendant-selector-4c6a</guid>
      <description>&lt;p&gt;Sometimes we confuse Child Selector with Descendant Selector. Here is an easy explanation on this topic. &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Example 1: *&lt;/em&gt;&lt;br&gt;
Suppose you have one brother , one sister and one cousin. As you know that  All of you are descendant of your grandfater. But Your father is direct child of your grandfather.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Example 2: *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You are child of your fater but your son isn't child of your fater but they are descendant of your fater. &lt;/p&gt;

&lt;p&gt;Now let's apply this rule in CSS selector&lt;br&gt;
Look the below html code. I have a section which has one paragraph element. Inside the section element there is one div and inside the div there is one paragraph element.&lt;br&gt;
So we can conclude that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First paragraph is child of section element&lt;/li&gt;
&lt;li&gt;Second paragraph is descendant of section element
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; &amp;lt;section&amp;gt;
     &amp;lt;p class="first"&amp;gt;This is first Paragraph&amp;lt;/p&amp;gt;
     &amp;lt;div&amp;gt;
       &amp;lt;p class="second"&amp;gt;This is second paragraph &amp;lt;/p&amp;gt;
     &amp;lt;/div&amp;gt;
   &amp;lt;/section&amp;gt;

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

&lt;/div&gt;


&lt;p&gt;IF i use this code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;section p {
     background-color: red;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above code will be applied on both first and second paragrpah because they both are descendant of section. &lt;br&gt;
But if i use this code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;section &amp;gt; p {
  background-color: red;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This above code will be applied only on first paragraph because only this paragraph is direct child of the section. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>5 Quick facts on Universal Selector</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Fri, 16 Apr 2021 06:34:55 +0000</pubDate>
      <link>https://dev.to/shahab570/5-quick-facts-on-universal-selector-3e03</link>
      <guid>https://dev.to/shahab570/5-quick-facts-on-universal-selector-3e03</guid>
      <description>&lt;h1&gt;
  
  
  4 quick learning at CSS:
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Specificity of a universal selector is zero. You can override it with a class or an id.&lt;/li&gt;
&lt;li&gt;Browser reads CSS selectors from right to left. So try to put class or id at the end of the selector&lt;/li&gt;
&lt;li&gt;You should only use a universal selector only in two cases. The first is while reset and the second is when you want to select all child elements inside a selector. Using universal selector is a controversial topic, so you shouldn't use this other than these two cases.&lt;/li&gt;
&lt;li&gt;If you ever saw that your style isn't affecting the webpage, there might be a problem with CSS specificity. Determine the specify with a specificity calculator.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>css</category>
      <category>specificity</category>
      <category>selector</category>
    </item>
    <item>
      <title>Let's know about Process, thread, and Synchronicity</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Tue, 05 Jan 2021 04:25:12 +0000</pubDate>
      <link>https://dev.to/shahab570/let-s-know-about-process-thread-and-synchronicity-3hc5</link>
      <guid>https://dev.to/shahab570/let-s-know-about-process-thread-and-synchronicity-3hc5</guid>
      <description>&lt;h1&gt;
  
  
  Process and Thread
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Process and thread:&lt;/strong&gt; It's a program in execution. Generally, the creation of a process is resource-consuming. That's why we split our process into multiple unit's which is called a thread. It's of two types:&lt;br&gt;
&lt;em&gt;Single thread:&lt;/em&gt; If there is one thread in a process&lt;br&gt;
&lt;em&gt;Multithread:&lt;/em&gt; if more than one thread in a process&lt;/p&gt;

&lt;p&gt;Every thread is assigned to do a specific task. The single thread executes the full process without being interrupted by a thread but in multithread it allows other threads to executed independently but shares their resources. Also, in a single thread, one thing is done at a time. But the multithread process allows multiple parts of a program to be executed at the same time.&lt;/p&gt;

&lt;p&gt;Although most of the programming languages are single-threaded, they support libraries and other functionality that enable us to use multithreading. JavaScript is a single-threaded language. Go and Rust is the multithreaded language.&lt;/p&gt;

&lt;h1&gt;
  
  
  What is Synchronous and asynchronous
&lt;/h1&gt;

&lt;p&gt;In Programming, two operations are very significant is Synchronous and Asynchronous.&lt;/p&gt;

&lt;p&gt;Synchronous operation is also called blocking operation because it blocks instruction until the task is completed. you can execute only one task at a time, after finishing the current task then the next task starts.&lt;/p&gt;

&lt;p&gt;Asynchronous operation is called non-blocking operation because you can execute multiple things at a time and it's not necessary to finish execution of the current program in order to execute the next one. It can execute multiple programs at a time. Every program does its job independently without blocking others and they share resources among them.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>codenewbie</category>
      <category>webdev</category>
    </item>
    <item>
      <title>HTML AccessKey Pros and Cons</title>
      <dc:creator>Md Shahab Uddin</dc:creator>
      <pubDate>Wed, 16 Dec 2020 00:41:36 +0000</pubDate>
      <link>https://dev.to/shahab570/html-accesskey-pros-and-cons-5deo</link>
      <guid>https://dev.to/shahab570/html-accesskey-pros-and-cons-5deo</guid>
      <description>&lt;p&gt;We all love to use Keyboard Shortcuts. There is a proverb that “The more Keyboard Shorcuts you use, the more technical guy You are”. To give users the freedom to use Shortcuts there is an HTML Global Attribute Named “accesskey”. Let’s Explore it.&lt;/p&gt;

&lt;h1&gt;
  
  
  What is the Accesskey attribute?
&lt;/h1&gt;

&lt;p&gt;It is used for creating keyboard shortcuts mostly used by web designers and software designers to increase a better user experience. Also, we can focus on and target HTML elements with the “accesskey” attribute.&lt;/p&gt;

&lt;h1&gt;
  
  
  With Which HTML elements we can use this attribute?
&lt;/h1&gt;

&lt;p&gt;We can use it with “Input, area, button, legend, a label, textarea” these elements.&lt;/p&gt;

&lt;h1&gt;
  
  
  How to use it?
&lt;/h1&gt;

&lt;p&gt;First, we need to create an element like this:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;a href="https://www.w3schools.com/html/default.asp"&amp;gt; Click to read  about HTML&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Then add accesskey attribute in this anchor tag like this:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;a href="https://www.w3schools.com/html/default.asp" accesskey="m"&amp;gt; Click to read  about HTML&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Now run this code in your browser. If you click in the link text, you will redirect to the webpage. But you can do this By clicking (Alt+m) in your keyboard and the page will redirect to the desired webpage. We used “m” for this shortcut. You can use any letter for creating your shortcut.&lt;/p&gt;

&lt;p&gt;Let’s use access to other HTML elements and see how it works. We begin with the input tag. First, we create a form and add accesskey with an input tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;form&amp;gt;
&amp;lt;label&amp;gt;First Name&amp;lt;/label&amp;gt; &amp;lt;br /&amp;gt;
&amp;lt;input type="text" accesskey="u" /&amp;gt;&amp;lt;br /&amp;gt;
&amp;lt;label&amp;gt;Last Name&amp;lt;/label&amp;gt; &amp;lt;br /&amp;gt;
&amp;lt;input type="text" accesskey="l" /&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we get two input fields for writing first and last name. We can write by clicking in those fields. But we can click (ALt+u) for navigating to first name input died and (ALt+l) for navigating to last name input field because we used (accesskey=”u”) for the first name and (accesskey=”l”) for the last name.&lt;/p&gt;

&lt;p&gt;We can use the same principle for other HTML tags. I showed you the anchor tag and input tag. You need to play with other tags such as textarea, button, and other tags.&lt;/p&gt;

&lt;h1&gt;
  
  
  Shortcuts for using the Accesskey attribute?
&lt;/h1&gt;

&lt;p&gt;Should we always need to press (Alt+letter) to navigate? NO. It depends on which browser and which operating system you are using. There is a table on which shortcuts to use on which browser. Go to &lt;a href="https://www.geeksforgeeks.org/html-accesskey-attribute/"&gt;this link&lt;/a&gt; to see the Table.&lt;/p&gt;

&lt;h1&gt;
  
  
  Cons of accesskey
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Overlapping shortcuts:&lt;/em&gt; Some shortcuts created by you will overlap with browse shortcuts and operating system shortcuts. This can sometimes cause problems.&lt;br&gt;
&lt;em&gt;No defined Convention:&lt;/em&gt; Most of the time users don’t know which keystroke combination to use(Alt, Ctrl, Shift, etc..)This creates confusion among users.&lt;/p&gt;

&lt;h1&gt;
  
  
  Pros of accesskey
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Easy to use:&lt;/em&gt; It helps “Power Users” to navigate swiftly.&lt;br&gt;
Special users: It is mostly used for people with disabilities, blind, motor disabilities, and people who use screen readers.&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;You should use this attribute when a task is to be done repetitively. Also, if your webpage has special users you should use this attribute.&lt;br&gt;
Thanks a lot. Keep following me for more articles on web design.&lt;/p&gt;

&lt;p&gt;WRITTEN BY&lt;br&gt;
&lt;em&gt;Md Shahab Uddin&lt;br&gt;
Front-End Developer &amp;amp; Tech Writer&lt;/em&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>design</category>
    </item>
  </channel>
</rss>
