<?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: Dipayan Ghosh</title>
    <description>The latest articles on DEV Community by Dipayan Ghosh (@dipayan108).</description>
    <link>https://dev.to/dipayan108</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%2F618524%2Fc3a96e0b-489b-44da-a529-91807e88d593.png</url>
      <title>DEV Community: Dipayan Ghosh</title>
      <link>https://dev.to/dipayan108</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dipayan108"/>
    <language>en</language>
    <item>
      <title>Generate random hex color with vanilla javascript</title>
      <dc:creator>Dipayan Ghosh</dc:creator>
      <pubDate>Sat, 08 May 2021 14:20:17 +0000</pubDate>
      <link>https://dev.to/dipayan108/generate-random-hex-color-with-vanilla-javascript-2f19</link>
      <guid>https://dev.to/dipayan108/generate-random-hex-color-with-vanilla-javascript-2f19</guid>
      <description>&lt;p&gt;this video is describes that how you can generate random hex color with vanilla javascirpt ! and it's mainly focused on intresting javascript part ! just go through the link hope you will enjoy the video :) ! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=r6Mx_7iMg3s&amp;amp;t=7s"&gt;https://www.youtube.com/watch?v=r6Mx_7iMg3s&amp;amp;t=7s&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>devops</category>
    </item>
    <item>
      <title>So, i uploaded the latest video how to code a discord bot ! with 20+ lang</title>
      <dc:creator>Dipayan Ghosh</dc:creator>
      <pubDate>Thu, 22 Apr 2021 08:17:34 +0000</pubDate>
      <link>https://dev.to/dipayan108/so-i-uploaded-the-latest-video-how-to-code-a-discord-bot-with-20-lang-1bbf</link>
      <guid>https://dev.to/dipayan108/so-i-uploaded-the-latest-video-how-to-code-a-discord-bot-with-20-lang-1bbf</guid>
      <description>&lt;h1&gt;
  
  
  so, guys i finally uploaded my first video on youtube !
&lt;/h1&gt;

&lt;p&gt;this video describes that how to code a discord bot with 20+ language ! maybe you guys are familiar with most commonly JavaScript and Python but there are more languages like C# or c++ or java and so on and so forth ! so, in this video will describe what are the requirements to code a discord bot ! what things you need to code and much more ! In the upcomming video we will start coding a particular discord bot with JavaScript Be ready for that 😉&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=gjKDJsCZYac"&gt;code a discord bot &lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>python</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Make a calculator with pure HTML5 CSS3 and JavaScript!</title>
      <dc:creator>Dipayan Ghosh</dc:creator>
      <pubDate>Wed, 21 Apr 2021 15:28:09 +0000</pubDate>
      <link>https://dev.to/dipayan108/make-a-calculator-with-pure-html5-css3-and-javascript-6gg</link>
      <guid>https://dev.to/dipayan108/make-a-calculator-with-pure-html5-css3-and-javascript-6gg</guid>
      <description>&lt;p&gt;so, recently i made a calculator with html, css and js ! to add it to my portfolio &lt;/p&gt;

&lt;p&gt;&lt;em&gt;**code for js for operator *&lt;/em&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 useOperator(operator) {
    const currentValue = Number(calculatorDisplay.textContent)
        // Prevent multiple operators
    if (operatorValue &amp;amp;&amp;amp; awaitingNextValue) {
        operatorValue = operator
        return
    }
    // Assign firstValue if no value
    if (!firstValue) {
        firstValue = currentValue;
    } else {
        const calculation = calculate[operatorValue](firstValue, currentValue)
        calculatorDisplay.textContent = calculation
        firstValue = calculation
    }
    // Ready for next value, store operator
    awaitingNextValue = true;
    operatorValue = operator;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;*** for add event listener ***&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Add Event Listeners for numbers, operators, decimal buttons
inputBtns.forEach((inputBtn) =&amp;gt; {
    if (inputBtn.classList.length === 0) {
        inputBtn.addEventListener('click', () =&amp;gt; sendNumberValue(inputBtn.value))
    } else if (inputBtn.classList.contains('operator')) {
        inputBtn.addEventListener('click', () =&amp;gt; useOperator(inputBtn.value))
    } else if (inputBtn.classList.contains('decimal')) {
        inputBtn.addEventListener('click', () =&amp;gt; addDecimal())
    }
})

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

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>css</category>
    </item>
  </channel>
</rss>
