<?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: Anish Mandal</title>
    <description>The latest articles on DEV Community by Anish Mandal (@anishmandal939).</description>
    <link>https://dev.to/anishmandal939</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%2F491133%2F17ffc259-71b0-48eb-adf7-ea5c5cb92d26.jpeg</url>
      <title>DEV Community: Anish Mandal</title>
      <link>https://dev.to/anishmandal939</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anishmandal939"/>
    <language>en</language>
    <item>
      <title>Search by Category followed by Subcategory</title>
      <dc:creator>Anish Mandal</dc:creator>
      <pubDate>Tue, 07 Jun 2022 08:55:36 +0000</pubDate>
      <link>https://dev.to/anishmandal939/search-by-category-followed-by-subcategory-3mbd</link>
      <guid>https://dev.to/anishmandal939/search-by-category-followed-by-subcategory-3mbd</guid>
      <description>&lt;p&gt;&lt;strong&gt;How to :&lt;/strong&gt; &lt;br&gt;
Basically my theme is to search images based on categories and sub categories - &lt;br&gt;
&lt;strong&gt;Detail :&lt;/strong&gt; &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;user first select category&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;user then select subcategory&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;user then search item based on selected category and subcategory&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;all in all now i want to retrieve images from api or from database in the DOM&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>LeetCode Longest Uncommon Subsequence I 521 FAANG Interview Preparation</title>
      <dc:creator>Anish Mandal</dc:creator>
      <pubDate>Sat, 27 Feb 2021 14:37:26 +0000</pubDate>
      <link>https://dev.to/anishmandal939/leetcode-longest-uncommon-subsequence-i-521-faang-interview-preparation-377d</link>
      <guid>https://dev.to/anishmandal939/leetcode-longest-uncommon-subsequence-i-521-faang-interview-preparation-377d</guid>
      <description>&lt;p&gt;&lt;a href="https://youtu.be/dJsUqANtB-o"&gt;https://youtu.be/dJsUqANtB-o&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Everything posted here is just for the educational purpose. In this post i have shared one easy problem based on the topic that is mentioned. Let us know if you're interested in any one question we'll try to give our best.&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

</description>
      <category>cpp</category>
    </item>
    <item>
      <title>Swapping of two variables using function &amp; without. function in JS but  without creating third variable. </title>
      <dc:creator>Anish Mandal</dc:creator>
      <pubDate>Thu, 25 Feb 2021 09:11:33 +0000</pubDate>
      <link>https://dev.to/anishmandal939/swapping-of-two-variables-using-function-without-function-in-js-but-without-creating-third-variable-pcc</link>
      <guid>https://dev.to/anishmandal939/swapping-of-two-variables-using-function-without-function-in-js-but-without-creating-third-variable-pcc</guid>
      <description>&lt;p&gt;As we all know to swap two variables we choose to create third variable and then we swap their values like let me show you with example :&lt;br&gt;
   var x = 1;&lt;br&gt;
   var y = 2;&lt;br&gt;
    temp = x; &lt;br&gt;
and then we go further , now here we'll be showing you different methods to swap variables in javascript without making use of third variable.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function swap(value) {
    value.first = value.first + value.second;
    value.second = value.first - value.second;
    value.first = value.first - value.second; 
}
// declared an object named value which has two keys - first and second corresponding to the first and the second values respectively

var value = {
    first: 1,
    second: 2
}

console.log(value.first, value.second) //Prints 1 2
swap(value);
console.log(value.first, value.second); //Prints 2 1

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

&lt;/div&gt;






&lt;h1&gt;
  
  
  Second Way by creating function again
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function swap(x, y) {
  return [y, x]
}
var x=1, y=2;
console.log(x+" "+y);

[x, y] = swap(x, y);
console.log(x+" "+y)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Both ways you get the same result&lt;/p&gt;




&lt;h1&gt;
  
  
  Without Creating function
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var x = 1, y = 2;
console.log(x , y)
x = x + y;
y = x - y;
x = x - y;
console.log (x+" "+y); // 2 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Array destructuring method
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var x=1; y=2;
console.log(x,"",y);
[x ,y] = [y ,x];
console.log(x,"",y)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;This method will also result you the same result&lt;/p&gt;




&lt;h1&gt;
  
  
  If you want to return in array format
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var x=1; y=2;
console.log(x,"",y) // 1 2
function swap()
{
  var t = x;
  x = y;
  y = t;
  return [x , y]
} 
console.log(swap(x+"  "+y)); //[2 1]

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

&lt;/div&gt;



&lt;h1&gt;
  
  
  Using bitwise xor operator:
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let x = 1, y = 2;
x = x ^ y;
y = x ^ y;
x = x ^ y;

console.log(x ,y);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
    </item>
    <item>
      <title>Using Image background Over Text</title>
      <dc:creator>Anish Mandal</dc:creator>
      <pubDate>Sun, 27 Dec 2020 07:21:05 +0000</pubDate>
      <link>https://dev.to/anishmandal939/using-image-background-over-text-37ga</link>
      <guid>https://dev.to/anishmandal939/using-image-background-over-text-37ga</guid>
      <description>&lt;p&gt;Learning and understanding the myth about the webDeveloping is the way to upgrade the skills in the web and as we use our tech skills to improve and let others to understand how the things are organized in a way can help who has not explored yet.&lt;/p&gt;

&lt;p&gt;Today we'll be learning about CSS property which will help us with ease. We might have heard the therm but haven't used yet. 'Background-Clip-text, which can be very useful with the text, we use text-shadow often but using the background-clip can make text even more beautiful. For chrome users instead of using background-clip use -webkit-background-clip and play through the text.&lt;/p&gt;

&lt;p&gt;Code: &lt;/p&gt;


&lt;br&gt;
    Adding Image to background over Text 
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;style&amp;gt;

    h1{
  background-image:url('https://image.shutterstock.com/image-photo/white-transparent-leaf-on-mirror-260nw-1029171697.jpg');

  -webkit-background-clip: text;
  color:transparent;

  padding:10px;
  }
&amp;lt;/style&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h1&amp;gt;
 Learning and sharing knowledge is the best thing in the world

&amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;p&gt;As this is my first article if found any mistake please help me to improve it. I hope you found this article useful. &lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>Hacktoberfest</title>
      <dc:creator>Anish Mandal</dc:creator>
      <pubDate>Thu, 15 Oct 2020 23:12:01 +0000</pubDate>
      <link>https://dev.to/anishmandal939/hacktoberfest-1f37</link>
      <guid>https://dev.to/anishmandal939/hacktoberfest-1f37</guid>
      <description>&lt;h2&gt;
  
  
  What I Learned From Hacktoberfest
&lt;/h2&gt;

</description>
      <category>hacktoberfest</category>
    </item>
  </channel>
</rss>
