<?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: Nimal Anand</title>
    <description>The latest articles on DEV Community by Nimal Anand (@nimal_anand_51d0f3a2f1659).</description>
    <link>https://dev.to/nimal_anand_51d0f3a2f1659</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3852533%2F2544a3a0-3129-47ef-b0ad-a0a4580c2ed5.png</url>
      <title>DEV Community: Nimal Anand</title>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nimal_anand_51d0f3a2f1659"/>
    <language>en</language>
    <item>
      <title>looping sums</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Sat, 20 Jun 2026 09:17:03 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/looping-sums-399h</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/looping-sums-399h</guid>
      <description>&lt;p&gt;1) expected output : displaying 5 one's vertically.&lt;/p&gt;

&lt;p&gt;let i=1;&lt;br&gt;
let count=1;&lt;br&gt;
while(i&amp;lt;=5){&lt;br&gt;
    console.log(count);&lt;br&gt;
    i++;&lt;br&gt;
}&lt;/p&gt;




&lt;p&gt;2)expected output : displaying 5 one's horizantally.&lt;/p&gt;

&lt;p&gt;let i=1;&lt;br&gt;
let m="";&lt;br&gt;
while(i&amp;lt;=5){&lt;br&gt;
    m+="1 ";&lt;br&gt;
    i++;&lt;br&gt;
}&lt;br&gt;
console.log(m)&lt;/p&gt;




&lt;p&gt;3)expected output: displaying 12345 vertically.&lt;/p&gt;

&lt;p&gt;let i=1;&lt;/p&gt;

&lt;p&gt;while(i&amp;lt;=5){&lt;br&gt;
    console.log(i);&lt;br&gt;
    i++;&lt;br&gt;
}&lt;/p&gt;




&lt;p&gt;4) expected output: displaying 12345 horizantally.&lt;/p&gt;

&lt;p&gt;let i=1;&lt;br&gt;
let count="";&lt;br&gt;
while(i&amp;lt;=5){&lt;br&gt;
    count+=i;&lt;br&gt;
    i++;&lt;br&gt;
}&lt;br&gt;
console.log(count)&lt;/p&gt;

&lt;p&gt;if we want these to be printed vertically.&lt;/p&gt;

&lt;p&gt;let i=1;&lt;br&gt;
let count="";&lt;br&gt;
while(i&amp;lt;=5){&lt;br&gt;
    count+=i+"\n";&lt;br&gt;
    i++;&lt;br&gt;
}&lt;br&gt;
console.log(count)&lt;/p&gt;

&lt;p&gt;if we want spaces between 1 2 3 4 5.&lt;/p&gt;

&lt;p&gt;let i=1;&lt;br&gt;
let count=" ";&lt;br&gt;
while(i&amp;lt;=5){&lt;br&gt;
    count+=i+" ";&lt;br&gt;
    i++;&lt;br&gt;
}&lt;br&gt;
console.log(count)&lt;/p&gt;




</description>
    </item>
    <item>
      <title>function and its content</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Sat, 20 Jun 2026 09:15:55 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/function-and-its-content-2nc4</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/function-and-its-content-2nc4</guid>
      <description>&lt;p&gt;FUNCTIONS:&lt;br&gt;
Functions in JavaScript are reusable blocks of code designed to perform specific tasks. They allow you to organize, reuse, and modularize code. It can take inputs, perform actions, and return outputs.&lt;/p&gt;

&lt;p&gt;PARAMETERS AND ARGUMENTS:Understanding Functions&lt;/p&gt;

&lt;h2&gt;
  
  
  In functions, parameters are placeholders defined in the function, while arguments are the actual values you pass when calling the function.
&lt;/h2&gt;

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

&lt;p&gt;function greet(name) {   // 'name' is a parameter&lt;/p&gt;

&lt;p&gt;console.log("Hello "+ name);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;greet("Alice");  // "Alice" is the argument&lt;/p&gt;

&lt;h2&gt;
  
  
  OUTPUT FOR THE ABOVE CODE IS Hello Alice.
&lt;/h2&gt;

&lt;p&gt;Declaring a function&lt;/p&gt;

&lt;p&gt;To declare a function, you use the function keyword, followed by the function name, a list of parameters, and the function body as follows:&lt;/p&gt;

&lt;p&gt;function functionName(parameters) {&lt;br&gt;
    // function body&lt;br&gt;
    // ...&lt;br&gt;
}&lt;br&gt;
Code language: JavaScript (javascript)&lt;/p&gt;

&lt;p&gt;The function name must be a valid JavaScript identifier. By convention, the function names are in camelCase and start with verbs like getData(), fetchContents(), and isValid().&lt;/p&gt;

&lt;p&gt;Camel Case is a naming convention where:&lt;/p&gt;

&lt;p&gt;The first word starts with a lowercase letter.&lt;br&gt;
Every new word after that starts with a capital letter.&lt;br&gt;
No spaces or underscores are used.&lt;/p&gt;




&lt;p&gt;Rules for giving function name :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start with a letter, _, or $ &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can start a function name with:&lt;/p&gt;

&lt;p&gt;Letters (a-z, A-Z)&lt;br&gt;
Underscore (_)&lt;br&gt;
Dollar sign ($)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Cannot contain spaces&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can contain letters, numbers, _, and $&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cannot use JavaScript reserved words like if ,for,return.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;use camelcase--- eg:veryGOOD starts with small letter and next word starts with capital letter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;we need to use meaningful names for function name.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;A function can accept zero, one, or multiple parameters. In the case of multiple parameters, you need to use a comma to separate two parameters.&lt;/p&gt;

&lt;p&gt;The following declares a function say() that accepts no parameter:&lt;/p&gt;

&lt;p&gt;function say() {&lt;br&gt;
}&lt;br&gt;
Code language: JavaScript (javascript)&lt;/p&gt;

&lt;p&gt;The following declares a function named square() that accepts one parameter:&lt;/p&gt;

&lt;p&gt;function square(a) {&lt;br&gt;
}&lt;br&gt;
Code language: JavaScript (javascript)&lt;/p&gt;

&lt;p&gt;The following declares a function named add() that accepts two parameters:&lt;/p&gt;

&lt;p&gt;function add(a, b) {&lt;br&gt;
}&lt;br&gt;
Code language: JavaScript (javascript)&lt;/p&gt;

&lt;p&gt;Inside the function body, you can write the code to implement an action.&lt;/p&gt;




&lt;p&gt;Calling a function&lt;/p&gt;

&lt;p&gt;To use a function, you need to call it. Calling a function is also known as invoking a function.&lt;/p&gt;

&lt;p&gt;To call a function, you use its name followed by arguments enclosed in parentheses like this:&lt;/p&gt;

&lt;p&gt;functionName(arguments);&lt;br&gt;
Code language: JavaScript (javascript)&lt;/p&gt;

&lt;p&gt;When calling a function, JavaScript executes the code inside the function body. For example, the following shows how to call the say() function:&lt;/p&gt;

&lt;p&gt;say('Hello');&lt;br&gt;
Code language: JavaScript (javascript)&lt;/p&gt;

&lt;p&gt;In this example, we call the say() function and pass a literal string 'Hello' into it.&lt;/p&gt;




</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>array and its usage</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Sat, 20 Jun 2026 04:18:34 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/array-and-its-usage-klo</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/array-and-its-usage-klo</guid>
      <description>&lt;p&gt;Array is collection of elements.The element can be of same datatype or it can be different.we generally use const as variable to declare a array.we generally use [] brackets to declare and array. Two methods by which we declare an array.&lt;/p&gt;

&lt;p&gt;const array=[1,2,3,4];&lt;br&gt;
const array=new numbers{};&lt;/p&gt;

&lt;p&gt;The elements inside an array can be accessed using index number.The index number starts from 0 and goes on.&lt;/p&gt;

&lt;p&gt;const array=[1,2,3,4];&lt;br&gt;
 Here,array[1]=2;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>#python1(task)</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Mon, 25 May 2026 12:24:58 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/python1task-4pd6</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/python1task-4pd6</guid>
      <description>&lt;p&gt;&lt;code&gt;i=5&lt;br&gt;
while i&amp;gt;=1:&lt;br&gt;
    print(i, end=" ")&lt;br&gt;
    i=i-1&lt;br&gt;
output is 5 4 3 2 1&lt;br&gt;
here we have used variable 1 which carries the value 5 and it runs inside the loop to print the value i,then it gets decrement by 1 and then enters into loop and print the present i .it repeats the same till i value gets value 1. we use end="" to display the value in linear manner.&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
i=10&lt;br&gt;
while i&amp;gt;=1:&lt;br&gt;
    print(i, end=" ")&lt;br&gt;
    i=i-2&lt;br&gt;
here in the same operation we have used decrement value by 2 and have printed the i value and have also used the same end .&lt;/p&gt;

&lt;p&gt;i=15&lt;br&gt;
while i&amp;gt;=1:&lt;br&gt;
    print(i, end=" ")&lt;br&gt;
    i=i-3&lt;br&gt;
i=25&lt;br&gt;
while i&amp;gt;=1:&lt;br&gt;
    print(i, end=" ")&lt;br&gt;
    i=i-5&lt;/p&gt;

</description>
    </item>
    <item>
      <title>conditional statements</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Sat, 16 May 2026 10:05:23 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/conditional-statements-29bd</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/conditional-statements-29bd</guid>
      <description>&lt;p&gt;IN Java script we use if and else for conditional statements.&lt;br&gt;
we declare a varaiable with a initial value  and we give a condition using if ,If the condition is fullfilled the contents of operations inside the brackets would be executed and if  the conditions is failed then else would be executed.&lt;br&gt;
let i=0&lt;br&gt;
if i&amp;lt;=10{&lt;br&gt;
console.log(i)&lt;br&gt;
i++&lt;br&gt;
}else&lt;br&gt;
{&lt;br&gt;
exit&lt;br&gt;
}.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Variable declaration</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Sat, 16 May 2026 09:57:44 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/variable-declaration-4a77</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/variable-declaration-4a77</guid>
      <description>&lt;p&gt;we use three identifiers in java script var,let,Const.&lt;br&gt;
var means variable. By using var we can declare redeclare and reinitiate values for a variable .&lt;br&gt;
example: var x =5&lt;br&gt;
          var x=6&lt;br&gt;
           x =7&lt;br&gt;
if we use let and declare a variable then we can declare it once and we cant redeclare it again but we can reinitiate it again.&lt;br&gt;
example: let x =5&lt;br&gt;
             x=6&lt;br&gt;
if we use const we can declare the variable only once we cant redeclare and reinitiate it again.we declare the data also while declaring the const.&lt;br&gt;
     const m=5.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Javascript variables</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Sat, 16 May 2026 09:44:39 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/javascript-variables-38co</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/javascript-variables-38co</guid>
      <description>&lt;p&gt;variable types:&lt;br&gt;
1)var 2)let 3)const&lt;br&gt;
var:It denotes the variable which we intend to introduce.For example variable equals 5. If we use var it can be reassigned and reinitialised meaning we can call the variable name again and we can also change value of the variable as well..&lt;/p&gt;

&lt;p&gt;let:if we use let and introduce a variable.it cant be reassigned but the value can be reinitialised meaning we can give another value for the same variable.&lt;/p&gt;

&lt;p&gt;const:Meaning of const is constant. if we introduce a variable using const it cant be reassigned or reinitialise.&lt;/p&gt;

&lt;p&gt;Arithmatic operator:&lt;br&gt;
arithmatic operators are used for doing mathematical operations like addition subtraction multiplication division.&lt;/p&gt;

&lt;p&gt;Addition operator(+) It performs two operations like adding numbers and doing concardination.It adds the numbers and on the other hand it concordinates the given data types whatever it maybe&lt;/p&gt;

&lt;p&gt;Subtraction(-) It is used to perform subtraction between two variables which is declared earlier&lt;/p&gt;

&lt;p&gt;Multiplication(*)It is used to perform multiplication between two variables.&lt;/p&gt;

&lt;p&gt;Division It is used to perform division between two variables.we use slash(/) to get the quotient value and we use modulo (%) to get the remainder.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Balance in life.</title>
      <dc:creator>Nimal Anand</dc:creator>
      <pubDate>Tue, 31 Mar 2026 01:53:19 +0000</pubDate>
      <link>https://dev.to/nimal_anand_51d0f3a2f1659/balance-in-life-19de</link>
      <guid>https://dev.to/nimal_anand_51d0f3a2f1659/balance-in-life-19de</guid>
      <description>&lt;p&gt;Life is full of memories just close your eyes and think of a pleasant memory that comes in your mind.In this tech world although we have numerous technologies to do our work faster and make our life easier, all we say at the end of day is we are short of time. Everyone wanted to be successful in their career and wanted to spend good quality time for themself and for family as well, but how much time we are able to allocate in reality. we hardly don't have time to have food with our family or to have tea with our friends unless they are colleagues. But life goes on and on. Most of us are capable of doing multitasking in our job but in this case almost everyone fails. Just imagine about the last vacation or a short trip you went with your friends or family where u didn't attend any office meetings on zoom calls or phone calls. Report suggests that work life balance in few European countries is very much balanced and better when compared to India. we wanted to adapt everything from the western countries right from food, culture and clothing why can't we and our companies adapt this work life balance from them? &lt;/p&gt;

</description>
      <category>career</category>
      <category>mentalhealth</category>
      <category>productivity</category>
      <category>watercooler</category>
    </item>
  </channel>
</rss>
