<?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: Sathish</title>
    <description>The latest articles on DEV Community by Sathish (@sathish_3a15f403982590b68).</description>
    <link>https://dev.to/sathish_3a15f403982590b68</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%2F3338565%2F1ebfe464-8172-4bc5-94a0-7660a8ed3fab.jpg</url>
      <title>DEV Community: Sathish</title>
      <link>https://dev.to/sathish_3a15f403982590b68</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sathish_3a15f403982590b68"/>
    <language>en</language>
    <item>
      <title>Switch case in JavaScript</title>
      <dc:creator>Sathish</dc:creator>
      <pubDate>Tue, 12 Aug 2025 07:25:54 +0000</pubDate>
      <link>https://dev.to/sathish_3a15f403982590b68/switch-case-in-javascript-1ff0</link>
      <guid>https://dev.to/sathish_3a15f403982590b68/switch-case-in-javascript-1ff0</guid>
      <description>&lt;p&gt;Switch case is the control flow statement it execute the different block of code based upon the expression&lt;/p&gt;

&lt;p&gt;It is the alternative for the if-else statement&lt;br&gt;
&lt;/p&gt;

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

let mark = prompt("Enter the mark");

switch(true){
case (mark&amp;gt;=90):
console.log("Your grade is A+");
break;

case (mark&amp;gt;=80):
console.log("Your grade is A");
break;

case (mark&amp;gt;=70):
console.log("Your grade is B+");
break;

case (mark&amp;gt;=60):
console.log("Your grade is B");
break;

case (mark &amp;gt;=50):
console.log("Your grade is C");
break;

Default:
console.log("Your are fail");
break;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Task:&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;
&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;

&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;login checks&amp;lt;/title&amp;gt;
    &amp;lt;script&amp;gt;
        const username = "selvakumar";
        const password = "1234";

        let InputUsername = prompt("Enter the Username");
        let InputPassword = prompt("Enter the password");

        if (InputUsername == username &amp;amp;&amp;amp; InputPassword == password) {
            alert("login Successfully");
        } else{
            alert ("Invalid Login");
        }
        const option = prompt("welcome to dashbord \n 1 view profile \n 2 settings \n 3 logout");

    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

&amp;lt;/body&amp;gt;

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

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Getting Input from the user in Java script</title>
      <dc:creator>Sathish</dc:creator>
      <pubDate>Tue, 12 Aug 2025 07:23:54 +0000</pubDate>
      <link>https://dev.to/sathish_3a15f403982590b68/getting-input-from-the-user-in-java-script-3bo0</link>
      <guid>https://dev.to/sathish_3a15f403982590b68/getting-input-from-the-user-in-java-script-3bo0</guid>
      <description>&lt;p&gt;In java script block variable can't able to access in global in function.&lt;/p&gt;

&lt;p&gt;We using the return keyword to access the block content globally in function&lt;br&gt;
&lt;/p&gt;

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

let plate = makeBriyani(Rice);

console.log(plate);

function makeBriyani(container){

container = "rice";

return "Briyani";
}

output:

Briyani

Getting the input from the user :

We using the prompt() function to get the input from the user

&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
    &amp;lt;script&amp;gt;
        let age = prompt("Enter the Age");
        if(age &amp;gt;=18){
            console.log("You is eligible for vote");
        }
        else{
            console.log("You is not eligible for vote"); 
        }
    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Task:&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;
&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
    &amp;lt;script&amp;gt;
        let mark = prompt("Enter the mark");

        console.log(mark);

        if(mark&amp;gt;=90){
            console.log("Your grade is A+");
        }

        else if(mark&amp;gt;=80 ){
            console.log("Your grade is A");
        }

        else if(mark&amp;gt;=70){
            console.log("Your grade is B+");
        }

        else if(mark&amp;gt;=60 ){
            console.log("Your grade is B");
        }

         else if(mark&amp;gt;=50 ){
            console.log("Your grade is C");
        }

        else{
            alert("Your are fail");
        }
    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Functions in JavaScript</title>
      <dc:creator>Sathish</dc:creator>
      <pubDate>Tue, 12 Aug 2025 07:20:54 +0000</pubDate>
      <link>https://dev.to/sathish_3a15f403982590b68/functions-in-javascript-2g63</link>
      <guid>https://dev.to/sathish_3a15f403982590b68/functions-in-javascript-2g63</guid>
      <description>&lt;p&gt;&lt;strong&gt;Function:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It is set of instruction to perform the task&lt;/p&gt;

&lt;p&gt;function can be declared under the { }&lt;/p&gt;

&lt;p&gt;Function Define in Java script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function function name () {

} 

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

&lt;/div&gt;



&lt;p&gt;() - this brackets are used to get the parameters from the user&lt;/p&gt;

&lt;p&gt;Once we define the function we call at many time we want in the program running&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function calling in java script:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Function name ()&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Basic Arithmetic in JS&amp;lt;/title&amp;gt;
    &amp;lt;script&amp;gt;
        function add(num1, num2) {
            console.log("Addition of numbers:", num1 + num2);
        }

        function sub(num1, num2) {
            console.log("Subtraction of numbers:", num1 - num2);
        }

        function multi(num1, num2) {
            console.log("Multiplication of numbers:", num1 * num2);
        }

        function division(num1, num2) {
            console.log("Division of numbers:", num1 / num2);
        }

        function mod(num1, num2) {
            console.log("Modulus of numbers:", num1 % num2);
        }

        // Call the functions after defining them
        add(5, 10);
        sub(10, 5);
        multi(5, 2);
        division(10, 5);
        mod(10, 5);
    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

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

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Operators in JavaScript</title>
      <dc:creator>Sathish</dc:creator>
      <pubDate>Tue, 12 Aug 2025 06:53:45 +0000</pubDate>
      <link>https://dev.to/sathish_3a15f403982590b68/operators-in-javascript-gk2</link>
      <guid>https://dev.to/sathish_3a15f403982590b68/operators-in-javascript-gk2</guid>
      <description>&lt;p&gt;&lt;strong&gt;Arithematic Operator:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Addition (+):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This operator is used to summing the two number in program&lt;br&gt;
Ex: &lt;/p&gt;

&lt;p&gt;10 + 5 = 15&lt;/p&gt;

&lt;p&gt;"10"+5 = 105 &amp;gt;&amp;gt; when adding the string and number addition operator act as a &lt;strong&gt;concatination&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;converting the string number in to number we using the function called &lt;strong&gt;parseInt()&lt;/strong&gt; it convert only string number not a string.&lt;/p&gt;

&lt;p&gt;parseInt("10"); -&amp;gt; 10&lt;/p&gt;

&lt;p&gt;parseInt("Sathish"); -&amp;gt; it shows the error NaN (Not a Number)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subtraction (-):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This operator is used to subtracting the two number in program&lt;/p&gt;

&lt;p&gt;Ex:&lt;/p&gt;

&lt;p&gt;10-5 = 5&lt;/p&gt;

&lt;p&gt;"10"-5 = 5&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multiplication(*):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This operator is used to multiplying the two number in program&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Division (/):&lt;/strong&gt;&lt;br&gt;
This operator is used to return the quotent of the division two number&lt;/p&gt;

&lt;p&gt;10/2 = 5&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Modulus (%):&lt;/strong&gt;&lt;br&gt;
This operator is used the return the reminder of the division two number&lt;/p&gt;

&lt;p&gt;10%2 = 0&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Returning the Exponential Value ():&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ex:&lt;br&gt;
2**3 = 8&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Post increment operator (++):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let i = 10;&lt;br&gt;
i++;&lt;br&gt;
log(i); -&amp;gt; result : 11&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Post Decrement operator (--):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let i = 10;&lt;br&gt;
i--;&lt;br&gt;
log(i); result : 9&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Post Decrement operator (++i):&lt;/strong&gt;&lt;br&gt;
let i = 10;&lt;br&gt;
++i;&lt;br&gt;
log(i); result : 10&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pre Decrement operator (--i):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let i = 10;&lt;br&gt;
--i;&lt;br&gt;
log(i); result : 9&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Comparision Operator :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;==, ===, &amp;gt; , &amp;lt; , &amp;lt;&amp;lt; , &amp;gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;**Logical Operator:&lt;/p&gt;

&lt;p&gt;**&amp;amp;&amp;amp; - And&lt;br&gt;
|| - Or&lt;br&gt;
!= - Not&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 3 of learning web development with html and css...</title>
      <dc:creator>Sathish</dc:creator>
      <pubDate>Fri, 11 Jul 2025 05:10:33 +0000</pubDate>
      <link>https://dev.to/sathish_3a15f403982590b68/day-3-of-learning-web-development-with-html-and-css-5236</link>
      <guid>https://dev.to/sathish_3a15f403982590b68/day-3-of-learning-web-development-with-html-and-css-5236</guid>
      <description>&lt;p&gt;today i learned some intresting topics in css....&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features of Flexbox:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Align items horizontally or vertically&lt;/p&gt;

&lt;p&gt;Control spacing between elements&lt;/p&gt;

&lt;p&gt;Easily manage responsive layouts&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common Flex Properties:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;justify-content&lt;/code&gt;: Aligns items horizontally (&lt;code&gt;flex-start&lt;/code&gt;, &lt;code&gt;center&lt;/code&gt;, &lt;code&gt;space-between&lt;/code&gt;, etc.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;align-items&lt;/code&gt;: Aligns items &lt;strong&gt;vertically&lt;/strong&gt; (&lt;code&gt;stretch&lt;/code&gt;, &lt;code&gt;center&lt;/code&gt;, &lt;code&gt;flex-start&lt;/code&gt;, etc.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;flex-direction&lt;/code&gt;: Controls the direction (&lt;code&gt;row&lt;/code&gt;, &lt;code&gt;column&lt;/code&gt;, etc.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;flex-wrap&lt;/code&gt;: Allows items to wrap to the next line&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Margin in css&lt;/strong&gt;&lt;br&gt;
in CSS, margin is the space outside an element's border. It creates space between elements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ff9rf2g5htbbpnnndd2fl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ff9rf2g5htbbpnnndd2fl.png" alt=" " width="141" height="102"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.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%2Fhhv7x9zgqhnq4nyhu8s0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fhhv7x9zgqhnq4nyhu8s0.png" alt=" " width="201" height="115"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;padding in CSS&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;padding&lt;/strong&gt; is the space inside an element, between its content and border. It controls the inner spacing of elements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fyag62udorv9q7co9boow.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fyag62udorv9q7co9boow.png" alt=" " width="142" height="73"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.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%2Fuufplbvd2tymw00m9so1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuufplbvd2tymw00m9so1.png" alt=" " width="201" height="100"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;border-radius in CSS&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;border-radius&lt;/strong&gt; is used to round the corners of an element's border box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fqql68xbakldqzeslo889.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqql68xbakldqzeslo889.png" alt=" " width="211" height="88"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.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%2Fi7n8lwdovfcb5y7gptcb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fi7n8lwdovfcb5y7gptcb.png" alt=" " width="292" height="94"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 2 of learning java full stack development</title>
      <dc:creator>Sathish</dc:creator>
      <pubDate>Wed, 09 Jul 2025 16:05:17 +0000</pubDate>
      <link>https://dev.to/sathish_3a15f403982590b68/day-2-of-learning-java-full-stack-development-1ek6</link>
      <guid>https://dev.to/sathish_3a15f403982590b68/day-2-of-learning-java-full-stack-development-1ek6</guid>
      <description>&lt;p&gt;FRONT END:&lt;br&gt;
Today I Learned: HTML List Items &lt;br&gt;
and learned how to use list items in HTML,&lt;/p&gt;

&lt;p&gt;What is a List Item in HTML?&lt;/p&gt;

&lt;p&gt;In HTML, the li tag is used to define an item in a list.&lt;/p&gt;

&lt;p&gt;ul— an unordered list (bullets)&lt;/p&gt;

&lt;p&gt;ol — an ordered list (numbers)&lt;/p&gt;

&lt;p&gt;Example : Unordered List&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzh80xl4jcp7n5agfo5so.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzh80xl4jcp7n5agfo5so.png" alt=" " width="420" height="183"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output:&lt;/p&gt;

&lt;p&gt;ABOUT&lt;/p&gt;

&lt;p&gt;PROJECT&lt;/p&gt;

&lt;p&gt;DETAILS&lt;/p&gt;

&lt;p&gt;CSS:&lt;/p&gt;

&lt;p&gt;Today I learned how to center text using CSS&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Center Text Horizontally
The easiest way to center text horizontally is to use:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;text-align: center;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
