<?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: Kuhanraja A R</title>
    <description>The latest articles on DEV Community by Kuhanraja A R (@kuhanraja_ar_1df623b8e2e).</description>
    <link>https://dev.to/kuhanraja_ar_1df623b8e2e</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%2F2425723%2F3ae1f3a1-00d6-4e28-aec7-b9439719b201.jpg</url>
      <title>DEV Community: Kuhanraja A R</title>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kuhanraja_ar_1df623b8e2e"/>
    <language>en</language>
    <item>
      <title>Javascript - Objects</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Tue, 29 Jul 2025 04:08:07 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-objects-46m6</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-objects-46m6</guid>
      <description>&lt;h2&gt;
  
  
  Objects:
&lt;/h2&gt;

&lt;p&gt;programming element that groups data with relevant operations/behaviors&lt;/p&gt;

&lt;p&gt;In real life, objects are things like : houses, cars, people, animals, or any other subjects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Object Properties:
&lt;/h2&gt;

&lt;p&gt;An object is a collection of properties, and a property is an association between a name (or key) and a value&lt;/p&gt;

&lt;p&gt;A real life car has properties like weight and color&lt;/p&gt;

&lt;h2&gt;
  
  
  Object method:
&lt;/h2&gt;

&lt;p&gt;Object Methods in JavaScript can be accessed by using functions. Functions in JavaScript are stored as property values. The objects can also be called without using brackets (). &lt;/p&gt;

&lt;p&gt;A real life car has methods like start and stop:&lt;br&gt;
car.start(), car.drive(), car.brake(), car.stop()&lt;/p&gt;
&lt;h2&gt;
  
  
  Difference between js variables and js objects:
&lt;/h2&gt;

&lt;p&gt;Javascript variables are containers for data values.&lt;/p&gt;

&lt;p&gt;Objects are variables too.. but objects contain many values.&lt;/p&gt;

&lt;p&gt;const car = {type:"fiat", model:"500", color:"white"};&lt;/p&gt;

&lt;p&gt;const keyword is the common practice to declare objects.&lt;/p&gt;
&lt;h2&gt;
  
  
  Object literal:
&lt;/h2&gt;

&lt;p&gt;An Object Literal is a list of name:value pairs contain inside an object.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const person = {
first name: "john",
last name: "Doe",
id : 5566,
fullName : function() {
return this.firstName + " " + this.lastName; 
}
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;to be discussed....&lt;/p&gt;

</description>
    </item>
    <item>
      <title>javascript conditional statements</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Fri, 11 Jul 2025 05:00:20 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-conditional-statements-2ppp</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-conditional-statements-2ppp</guid>
      <description>&lt;h2&gt;
  
  
  Conditional statements:
&lt;/h2&gt;

&lt;p&gt;JavaScript conditional statements allow you to execute specific blocks of code based on conditions. If the condition is met, a particular block of code will run; otherwise, another block of code will execute based on the condition.&lt;/p&gt;

&lt;p&gt;Let see if statement:&lt;/p&gt;

&lt;h2&gt;
  
  
  The if statement:
&lt;/h2&gt;

&lt;p&gt;The if statement evaluates a condition inside parentheses. If the condition is true, the block of code inside the curly braces {} runs. If it’s false, it skips that block.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let mark = 36;
let result;
if(mark &amp;gt;= 35)
{
result = "pass"
}
else{
result = "fail"
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The if else statement:
&lt;/h2&gt;

&lt;p&gt;The if-else statement will perform some action for a specific condition. Here we are using the else statement in which the else statement is written after the if statement and it has no condition in their code block.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if (ind&amp;gt;pak){
   console.log("ind win")
}else if ( pak &amp;gt; ind){
   console.log("pak won")
}  else{
console.log("draw")
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Nested if else statement:
&lt;/h2&gt;

&lt;p&gt;A nested if...else statement is an if...else structure placed inside another if or else block. This allows you to check multiple conditions in a hierarchical or layered way, making complex decision trees possible.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if (budget &amp;lt;= 25000)
{
  if (budget == "samsung")
    {
      if(cam == "64mp")
        else{
              (cam == "48mp")
            }
     }  
else if{
      if (brand == "oppo") {
      if (cam == "72mp") {
      }
}

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

&lt;/div&gt;



</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>javascript fundamentals -2</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Wed, 09 Jul 2025 14:04:33 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-fundamentals-2-2pm1</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-fundamentals-2-2pm1</guid>
      <description>&lt;p&gt;welcome to my blog&lt;/p&gt;

&lt;p&gt;in javascript no++ means no+=1;&lt;/p&gt;

&lt;p&gt;no = 5;&lt;br&gt;
no = no * 5; (no*=5)&lt;/p&gt;

&lt;p&gt;Comparison operator:&lt;br&gt;
Comparison operators are used in logical statements to determine equality or difference between variables or values.&lt;br&gt;
Types of comparison operator:&lt;br&gt;
`== (equal value)&lt;br&gt;
=== (equal type)&lt;br&gt;
!= (not equal)&lt;br&gt;
!==(not equal type and equal value)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;(greater than)&lt;br&gt;
&amp;lt; (less than)&lt;br&gt;
= (greater than equal to)&lt;br&gt;
&amp;lt;= (less than equal to)`&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;double(==):&lt;br&gt;
&lt;code&gt;15 == 5 (true)&lt;br&gt;
"10" == 10 (true) --&amp;gt; Dynamic typing&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;(triple ===): &lt;br&gt;
Strictly checks the datatype too..&lt;br&gt;
&lt;code&gt;"10"===10 --&amp;gt;false&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Not operator and Not equal operator&lt;br&gt;
&lt;code&gt;10!=10 --&amp;gt; false&lt;br&gt;
10!="10" --&amp;gt; false&lt;br&gt;
10!=="10" --&amp;gt; True.&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Does Javascript supports dynamic typing in less than and greater than operator
&lt;/h2&gt;

&lt;p&gt;Yes, JavaScript supports &amp;lt; (less than) and &amp;gt; (greater than) in dynamic typing — meaning you can compare variables of different types (like numbers, strings, booleans, etc.&lt;/p&gt;

&lt;p&gt;(greater than &amp;gt;)&lt;br&gt;
(less than &amp;lt;)&lt;br&gt;
(greater than equal to &amp;gt;=)&lt;br&gt;
(less than equal to &amp;lt;=)&lt;/p&gt;

&lt;p&gt;`10 &amp;lt; 5 --&amp;gt; false&lt;br&gt;
10 &amp;lt; 10 --&amp;gt; false&lt;br&gt;
10 &amp;gt; 10 --&amp;gt; false&lt;br&gt;
10 &amp;lt;= 10 --&amp;gt; True&lt;br&gt;
11 &amp;gt; 10 --&amp;gt; True&lt;br&gt;
11 &amp;gt;= 10 --&amp;gt; True&lt;br&gt;
"11" &amp;gt;= 10 --&amp;gt; True&lt;/p&gt;

&lt;p&gt;no = 10&lt;br&gt;
(no++ &amp;gt; 10) --&amp;gt; false&lt;br&gt;
(10 &amp;gt; 10)`&lt;/p&gt;

&lt;p&gt;because it doesnot increment it displays the same number given and increment the number in the memory.&lt;/p&gt;

&lt;p&gt;(++no &amp;gt; 10) --&amp;gt; True&lt;br&gt;
(11 &amp;gt; 10)&lt;/p&gt;

&lt;p&gt;In this case it is pre increment operator. It displays the incremented number at the first.&lt;/p&gt;

&lt;p&gt;Logical AND and Logical OR.&lt;br&gt;
condition 1 &amp;amp;&amp;amp; condition 2 --&amp;gt; It is the operator for AND operator..&lt;/p&gt;

&lt;p&gt;condition 1 || condition 2 --&amp;gt; It is the operator for OR operator..&lt;/p&gt;

&lt;p&gt;In AND operator The condition passes when both the condition is true.&lt;/p&gt;

&lt;p&gt;In OR operator The condition passes when either one of the condition is true&lt;/p&gt;

&lt;p&gt;ex&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no = 10
(no ++ &amp;gt; 10 &amp;amp;&amp;amp; --no &amp;lt; 15)

result : False

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

&lt;/div&gt;



&lt;p&gt;Ans is 11. This is why because,the first compared value is false. So, it takes 1st value itself. The first condition itself false in the AND operator. So, it doesn't check the another condition..&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Javascript fundamentals</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Tue, 08 Jul 2025 23:26:50 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-fundamentals-316</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/javascript-fundamentals-316</guid>
      <description>&lt;p&gt;After a long days leave I am restarting my blog. I suffered from fever and i can't do things perfectly.&lt;/p&gt;

&lt;p&gt;I am fighting with brain fog now. Ok, thanks to nobody but me..&lt;br&gt;
Because I recovered from that......&lt;/p&gt;
&lt;h2&gt;
  
  
  First of all what is javascript and why javascript ?
&lt;/h2&gt;

&lt;p&gt;JavaScript, often abbreviated as JS, is a programming language and core technology of the World Wide Web, alongside HTML and CSS. Ninety-nine percent of websites use JavaScript on the client side for webpage behavior. Web browsers have a dedicated JavaScript engine that executes the client code. These engines are also utilized in some servers and a variety of apps. The most popular runtime system for non-browser usage is Node.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why Javascript ?
&lt;/h2&gt;

&lt;p&gt;JavaScript is used to create dynamic and interactive content on websites, enhancing user experience by enabling features like animations, form validation, and real-time updates. It is also employed in web applications, mobile app development, and server-side scripting, making it a versatile programming language.&lt;/p&gt;
&lt;h2&gt;
  
  
  Javascript Datatypes
&lt;/h2&gt;

&lt;p&gt;*String&lt;br&gt;
*Number&lt;br&gt;
*Bigint&lt;br&gt;
*Boolean&lt;br&gt;
*Undefined&lt;br&gt;
*Null&lt;br&gt;
*symbol&lt;br&gt;
*Object&lt;/p&gt;
&lt;h2&gt;
  
  
  What is an Object?
&lt;/h2&gt;

&lt;p&gt;Object has some shape and behaviour.Object is nothing bt Collection of attributes.&lt;/p&gt;

&lt;p&gt;person{&lt;br&gt;
name&lt;br&gt;
age&lt;br&gt;
qualification&lt;br&gt;
gender&lt;br&gt;
weight&lt;br&gt;
height&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;In this person is an object and these data are the attributes.&lt;/p&gt;

&lt;p&gt;Interview question:&lt;/p&gt;
&lt;h2&gt;
  
  
  Difference between Null and Undefined?
&lt;/h2&gt;

&lt;p&gt;In JavaScript, both null and undefined represent the absence of a value, but they convey different meanings and arise in different contexts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;undefined&lt;/strong&gt; indicates that a variable has been declared but has not yet been assigned a value. It also occurs when attempting to access a non-existent property of an object or when a function does not explicitly return a value.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;null&lt;/strong&gt; represents the intentional absence of any object value. It is a primitive value that signifies an empty or unknown value that has been explicitly assigned.&lt;/p&gt;

&lt;p&gt;In simple words from my understanding, &lt;br&gt;
If the assigned thing is single then it is variable.&lt;/p&gt;

&lt;p&gt;If the assigned thing is collective then it is a object.&lt;/p&gt;

&lt;p&gt;In Javascript variable consists of 3:&lt;br&gt;
var,let,const&lt;/p&gt;

&lt;p&gt;const - static or unchangeable once it is assigned.&lt;br&gt;
let - we can declare the variable at first and we cant declare twice but we can assign any variable&lt;br&gt;
var - we can declare it twice in the program&lt;/p&gt;

&lt;p&gt;Javascript can be written internally and externally.&lt;/p&gt;

&lt;p&gt;without index.html It can't be executed.&lt;/p&gt;

&lt;p&gt; &amp;lt;br&amp;gt;
            ----&amp;amp;gt; internal js file&amp;lt;br&amp;gt;
&amp;lt;script&amp;gt;  &amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;script src="myscripts.js"&amp;gt; ----&amp;gt; external js file&lt;/p&gt;

&lt;p&gt;log is a debugging function here..&lt;/p&gt;

&lt;p&gt;First program:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let i = 10;
console.log(i)


output:
10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;let i = true;&lt;br&gt;
console.log(type of(i));&lt;/p&gt;

&lt;p&gt;type of --&amp;gt;datatype identifier --&amp;gt; number or string or boolean..&lt;/p&gt;

&lt;p&gt;statically type :         |       dynamically type:&lt;br&gt;&lt;br&gt;
String name = "abc"       |       No need of mentioning&lt;br&gt;&lt;br&gt;
int no = 10;              |       data-type&lt;/p&gt;

&lt;p&gt;Basically statically typed programming is also called as duck-typed programming.&lt;/p&gt;
&lt;h2&gt;
  
  
  variable --&amp;gt; initialization , declaration.
&lt;/h2&gt;

&lt;p&gt;let i -- &amp;gt; declaration of the variable&lt;br&gt;
let i = 10; --&amp;gt; initialization of the variable&lt;/p&gt;

&lt;p&gt;let allows the assign the memory to anything after declaration&lt;/p&gt;

&lt;p&gt;constant:&lt;br&gt;
const i = 10;&lt;br&gt;
i=15;&lt;br&gt;
log(i);  Ans:10.&lt;/p&gt;

&lt;p&gt;because of constant variable. It value declaration is inchangeable.&lt;/p&gt;

&lt;p&gt;interpreter --&amp;gt; line by line execution.&lt;br&gt;
Compiler --&amp;gt; whole page execution.&lt;/p&gt;

&lt;p&gt;const i = 10;&lt;br&gt;
console.log("before" + i);&lt;br&gt;
i=15;&lt;br&gt;
console.log("after" + i);&lt;/p&gt;

&lt;p&gt;output:&lt;br&gt;
before10&lt;br&gt;
type error: constant variable can't be assigned&lt;/p&gt;
&lt;h2&gt;
  
  
  History of javascript
&lt;/h2&gt;

&lt;p&gt;JavaScript was created by Brendan Eich at Netscape in 1995, initially named Mocha, then LiveScript, and finally, JavaScript. It was designed to add dynamic and interactive elements to web pages, complementing the static nature of HTML and CSS. Its initial implementation was in Netscape Navigator, and it has since become the dominant scripting language for the web, standardized as ECMAScript. &lt;/p&gt;

&lt;p&gt;Variables and Datatypes..&lt;/p&gt;

&lt;p&gt;--&amp;gt; Dynamic type datascript.&lt;/p&gt;

&lt;p&gt;let i = 10;&lt;br&gt;
console.log(i+"5")&lt;/p&gt;

&lt;p&gt;It automatically recognises that it is a number datatype..&lt;/p&gt;

&lt;p&gt;ex: "pushpa" + 2&lt;/p&gt;

&lt;p&gt;If we give commands like "abc" - 5;&lt;br&gt;
it shows NaN which means not a number&lt;/p&gt;
&lt;h2&gt;
  
  
  increment operator and decrement operator
&lt;/h2&gt;

&lt;p&gt;variable++&lt;br&gt;
variable--&lt;/p&gt;

&lt;p&gt;is the syntax for the increment and decrement operator.&lt;/p&gt;

&lt;p&gt;It also consists of two :&lt;br&gt;
pre-increment (++no)&lt;br&gt;
post - increment (no++)&lt;/p&gt;
&lt;h2&gt;
  
  
  Difference between Var and let
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Scoping:
var (Function-scoped or Global-scoped):
Variables declared with var are scoped to the nearest function or, if declared outside any function, to the global scope. This means they are accessible throughout the entire function or globally, regardless of block boundaries (like if statements or for loops).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;let (Block-scoped):&lt;br&gt;
Variables declared with let are block-scoped, meaning they are only accessible within the specific block (defined by curly braces {}) where they are declared. This provides more granular control over variable visibility and helps prevent unintended side effects. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Hoisting:
var:
var declarations are hoisted to the top of their scope (function or global) and initialized with undefined. This means you can reference a var variable before its declaration in the code without a ReferenceError, though its value will be undefined until the declaration line is reached.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;let:&lt;br&gt;
let declarations are also hoisted, but they are not initialized with a default value. Attempting to access a let variable before its declaration results in a ReferenceError due to the "Temporal Dead Zone."&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Re-declaration:
var:
var allows for re-declaration of variables within the same scope without error. This can lead to accidental overwriting of variables, making code harder to debug.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;let:&lt;br&gt;
let does not allow re-declaration of variables within the same block scope. Attempting to re-declare a let variable will result in a SyntaxError. This helps enforce stricter variable management and reduce potential bugs.&lt;/p&gt;

&lt;p&gt;In summary:&lt;br&gt;
Use let (and const when a variable's value should not be reassigned) in modern JavaScript development to leverage block-scoping and prevent common pitfalls associated with var, leading to more predictable and robust code.&lt;/p&gt;

&lt;p&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;let k = 5;
console.log(k++ - --k + k++ - ++k + k--);
console.log(k)

output:
5
6
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;in first it displays 5 and stores 6 in the memory. Then due to pre decrement we have to set that into 5 again. then again it display 5 in third operator 5 and stores 6 again. then by increment in 4th operator. it shows 7 in the 4th operator and as the 6th operator has decrement it shows 7 only but it stores as 6.&lt;/p&gt;

&lt;p&gt;Avalothaan pa ithudan vilaiyattu seithigal mudivadaikirathu......&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Instagram replica using html, css</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Thu, 26 Jun 2025 21:13:31 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/instagram-replica-using-html-css-2n97</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/instagram-replica-using-html-css-2n97</guid>
      <description>&lt;p&gt;Two days I am leave.&lt;/p&gt;

&lt;p&gt;With my acquired knowledge. I am managed to create html,css.&lt;/p&gt;

&lt;p&gt;But there a lot of blunder.&lt;/p&gt;

&lt;p&gt;Athu epdi thimingalam. Antha vandi mattum mileage nalla poguthu(vijay sir work)&lt;/p&gt;

&lt;p&gt;Service vitta vandi athu apdi thaan pogum.(vijay sir work)&lt;br&gt;
Vandi - &lt;/p&gt;

&lt;p&gt;Practice makes a human perfect.&lt;/p&gt;

&lt;p&gt;naan ipa thaan vandi eduthuruken aana vandi vandiya illa partsaa.. irukku&lt;/p&gt;

&lt;p&gt;ipa thaan otti raceku vidanum..&lt;/p&gt;

&lt;p&gt;Ellame thappu thappa panren..&lt;br&gt;
etho panniruken. Epdi panrennu therla.&lt;/p&gt;

&lt;p&gt;Ore Confusionaa.. irukku rightuu.. polamburatha.. vitutu senjiten..&lt;/p&gt;

&lt;p&gt;git la publish pannen. aana branch connect aagala..&lt;/p&gt;

&lt;p&gt;mudiyala mudiyala....&lt;/p&gt;

&lt;p&gt;code is in my gilab account:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gitlab.com/june-webdesigning/front-end" rel="noopener noreferrer"&gt;https://gitlab.com/june-webdesigning/front-end&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>HTML class about tables</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Sat, 21 Jun 2025 00:06:40 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/html-class-about-tables-3obg</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/html-class-about-tables-3obg</guid>
      <description>&lt;p&gt;I am just writing the blog what i have learnt in that class.&lt;/p&gt;

&lt;p&gt;Note:&lt;br&gt;
Don't take this as a reference. Then, I am not responsibility for your exam marks.&lt;/p&gt;

&lt;p&gt;Ok, asusual late for class. Class started already iam just 5 to 9 minutes late. I think so, &lt;/p&gt;

&lt;p&gt;I learned about:&lt;/p&gt;

&lt;p&gt;display:flex;&lt;br&gt;
justify-content - center;&lt;/p&gt;

&lt;p&gt;This is for row-wise alignment.&lt;/p&gt;

&lt;p&gt;For column - wise &lt;br&gt;
align-items:center;&lt;/p&gt;

&lt;p&gt;then, unordered list and giving inside a list of ordered items.&lt;br&gt;
ul&lt;br&gt;
  li /li&lt;br&gt;
/ul&lt;/p&gt;

&lt;p&gt;Then I have learned about tables how it works.&lt;/p&gt;

&lt;p&gt;tables&lt;br&gt;
   head&lt;br&gt;
      tr&lt;br&gt;
        th /th&lt;br&gt;
      /tr&lt;br&gt;
   /head&lt;br&gt;
   body&lt;br&gt;
      tr&lt;br&gt;
         td /td&lt;br&gt;
       /tr&lt;br&gt;
    /body&lt;/p&gt;

&lt;p&gt;this is the method to create table.&lt;/p&gt;

&lt;p&gt;I cant use the tag symbol here. because, It is not showing anything. Don't think he is wrong.&lt;br&gt;
(Adthane paatu ketute eludhunaa thappu thappa thaan eludhuva)&lt;br&gt;
It is not like that.&lt;br&gt;
I think i caught you're mind voice..&lt;/p&gt;

&lt;p&gt;This will create borders on every tags you are given.&lt;br&gt;
If you want to remove borders inside that.&lt;br&gt;
border-collapse : collapse;&lt;/p&gt;

&lt;p&gt;for giving the body colour. Target the body tag and give&lt;br&gt;
background : linear-gradient(to left, colour, colour, colour)&lt;/p&gt;

&lt;p&gt;That's all for today, if you see any mistakes (add comments) and rectify me.&lt;/p&gt;

&lt;p&gt;If you want detailed information see internet.&lt;/p&gt;

&lt;p&gt;disclaimer: I am not internet. I am a student. Search yourself and learn. we are not in stone age.&lt;/p&gt;

&lt;p&gt;Subversion (SVN) is a centralized version control system where all files and revision history are maintained on a single central server. Developers work by checking out files, making changes, and committing them back to the server. This setup makes it easy to manage but requires a constant connection to the server and can create bottlenecks if the server is unavailable.&lt;/p&gt;

&lt;p&gt;Mercurial is a distributed version control system, meaning each user has a complete copy of the entire repository, including its history. It allows developers to work offline and commit locally before pushing changes to a shared repository. Mercurial is known for its speed, simplicity, and consistent command structure, although it's less widely adopted than Git.&lt;/p&gt;

&lt;p&gt;Perforce (Helix Core) is a version control system optimized for large-scale development environments, particularly where large binary assets are involved, such as in game or enterprise software development. While it can operate in a centralized way, it also supports distributed workflows. Perforce is powerful and scalable but often more complex to configure and use than other systems.&lt;/p&gt;

&lt;p&gt;As I said I told about other version control systems too..&lt;/p&gt;

&lt;p&gt;I'll to try to create a project resume and publish in gitlab.&lt;br&gt;
$$MaranaBeethi&lt;br&gt;
$$Nee Yeri adi kabila idhu namma kaalam&lt;/p&gt;

&lt;p&gt;If i put hastag it showcases like headings.(ennada ipdi kaal vaikura edam ellam kanni vedi vachaa enna thaan panrathu...)&lt;br&gt;
See you tomorrow. Eat healthy feel positive, Because you want some separate energy to read by blog..&lt;/p&gt;

&lt;p&gt;And Very Most important Stay alive for my next blog..&lt;/p&gt;

&lt;p&gt;Now go and sleep. Read in the morning everyone. Because it's get bored while reading in the morning..&lt;/p&gt;

&lt;p&gt;next blog time ..... Therla(You_fill_it)&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Today learning about html/Css</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Fri, 20 Jun 2025 23:39:40 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/today-learning-about-htmlcss-k8g</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/today-learning-about-htmlcss-k8g</guid>
      <description>&lt;p&gt;Of course, I joined in the middle of the class. Class started. I went to class by 12pm. It's late. &lt;/p&gt;

&lt;p&gt;Ok I sat in the first desk of the class. Vijay sir started teaching about how grid works.&lt;/p&gt;

&lt;p&gt;What is &lt;strong&gt;Grid&lt;/strong&gt; in Css?&lt;br&gt;
In Cascading Style Sheets, CSS grid layout or CSS grid creates complex responsive web design grid layouts more easily and consistently across browsers. Historically, there have been other methods for controlling web page layout methods, such as tables, floats, and more recently, CSS Flexible Box Layout.&lt;/p&gt;

&lt;p&gt;By using this command:&lt;br&gt;
display-grid&lt;br&gt;
grid-template-columns 1fr 2fr&lt;/p&gt;

&lt;p&gt;fr - fractional unit&lt;/p&gt;

&lt;p&gt;Literally I crashed in the middle of the class. So I don't know many commands in it.&lt;/p&gt;

&lt;p&gt;some of commands which I learnt:&lt;br&gt;
img src = " " alt=" "&lt;br&gt;
src-&amp;gt;source&lt;br&gt;
alt-&amp;gt;alternative &lt;/p&gt;

&lt;p&gt;this tag is used for adding image.&lt;/p&gt;

&lt;p&gt;border radius -&amp;gt; Used for image border circling.&lt;/p&gt;

&lt;p&gt;display : flex;&lt;br&gt;
justify-content : center;&lt;/p&gt;


 -&amp;gt; horizontal rule.&lt;br&gt;
hr is a standalone tag

&lt;p&gt; -&amp;gt; unordered list&lt;br&gt;
   li -&amp;gt; list tag&lt;br&gt;
colour : white;&lt;/p&gt;

&lt;p&gt;colour -&amp;gt; text-colour&lt;/p&gt;

&lt;p&gt;This all the commands I learnt in that class. &lt;br&gt;
There a website named Frogg flexbox to learn clearly about grid &lt;/p&gt;

&lt;p&gt;Suddenly a man crashed our class. Muthu Sir,&lt;/p&gt;

&lt;p&gt;**Started with F-droid opensource benefits &lt;/p&gt;

&lt;p&gt;Ended with his tea addiction.** &lt;/p&gt;

&lt;p&gt;Like Boarding the flight in Philippines&lt;/p&gt;

&lt;p&gt;Departing in the flight in USA&lt;/p&gt;

&lt;p&gt;Class ended there.&lt;/p&gt;

&lt;p&gt;Then Sir continued the class at 4pm.&lt;/p&gt;

&lt;p&gt;That's all for today's blog..&lt;/p&gt;

&lt;p&gt;Stay alive for my next blog&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Today no class (explained Toss conference)</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Wed, 18 Jun 2025 20:20:23 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/today-no-class-explained-toss-conference-1a1l</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/today-no-class-explained-toss-conference-1a1l</guid>
      <description>&lt;p&gt;Ok Blog starts....&lt;/p&gt;

&lt;p&gt;One of the friend from java class told me that it already starts at 11.00am. &lt;/p&gt;

&lt;p&gt;I went to class by 11.30am. It is not my fault. My class starts by 11.30am. Already it is a medical miracle. I came early to the class. which was clearly on time. &lt;/p&gt;

&lt;p&gt;Usually I come to class by 11.45am but today its unusual.&lt;/p&gt;

&lt;p&gt;My fate &lt;strong&gt;"Today no class"&lt;/strong&gt;. In corner of my mind a vadivelu joke is loading like -&lt;br&gt;
"pothum naa savaal vittathum pothum naa sangadapadurathu pothum"&lt;/p&gt;

&lt;p&gt;ok jokes apart..&lt;/p&gt;

&lt;p&gt;Today a seminar was conducted from tamil linux community related to toss conference.&lt;/p&gt;

&lt;p&gt;Speaker named himself as Syed Jaffer.&lt;br&gt;
he is working in Bosch international Company.&lt;/p&gt;

&lt;p&gt;I don't know who he is.&lt;br&gt;
and then I shocked..&lt;/p&gt;

&lt;p&gt;I'll tell later. Save your curiosity..for a short while..&lt;/p&gt;

&lt;p&gt;Then we went to upstairs due to overload of human availability.(I mean Students).&lt;/p&gt;

&lt;p&gt;Then he explained the importance of opensource tools and DSA (Data Structures and Algorithms)&lt;/p&gt;

&lt;p&gt;Then he said who are all interested to put stall in toss conf.&lt;br&gt;
everyone raised their hands.&lt;/p&gt;

&lt;p&gt;There are 3 options to put stall:&lt;br&gt;
i) If you are developing a tool and you want to showcase your tool to others.&lt;br&gt;
ii) If you know any open-source tool and you are ready to share your thoughts. &lt;br&gt;
iii) They give you any open-source tool and explain it to you. You have to explain, experience your thoughts.&lt;/p&gt;

&lt;p&gt;For me ofcourse,iii) option...&lt;/p&gt;

&lt;p&gt;They asked us to login their group through telegram..&lt;br&gt;
Toss conference is conducting for 2 days july19,july20 in St.joseph college chennai.&lt;/p&gt;

&lt;p&gt;After i logged in i shocked that.He is parotta salna. I mean he is the admin for the youtube channel parotta salna. clearly unexpected..&lt;/p&gt;

&lt;p&gt;ok this was the things happened today.&lt;/p&gt;

&lt;p&gt;There is nothing much to talk about. Again sleepy time..&lt;/p&gt;

&lt;p&gt;Wait for the next blog..Until then be alive for my next blog..&lt;br&gt;
Eat well, sleep well..&lt;br&gt;
Because you want some strength to read my blog..&lt;/p&gt;

&lt;p&gt;Ok i'll finish my confusion here.. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is git? and what is .yml file</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Tue, 17 Jun 2025 20:49:37 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/what-is-git-and-what-is-yml-file-3h7i</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/what-is-git-and-what-is-yml-file-3h7i</guid>
      <description>&lt;h2&gt;
  
  
  What is git?
&lt;/h2&gt;

&lt;p&gt;Git is a &lt;strong&gt;distributed version control system&lt;/strong&gt;, which means that a local clone of the project is a complete version control repository. These fully functional local repositories make it easy to work offline or remotely. Developers commit their work locally, and then sync their copy of the repository with the copy on the server. This paradigm differs from centralized version control where clients must synchronize code with a server before creating new versions of code.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is version control system?
&lt;/h2&gt;

&lt;p&gt;Version control, also known as source control, is the practice of tracking and managing changes to software code. Version control systems are software tools that help software teams manage changes to source code over time. As development environments have accelerated, version control systems help software teams work faster and smarter. They are especially useful for DevOps teams since they help them to reduce development time and increase successful deployments.&lt;/p&gt;

&lt;p&gt;There are two types of popular version control systems which I know:&lt;/p&gt;

&lt;p&gt;One is &lt;strong&gt;Github&lt;/strong&gt; and another one is &lt;strong&gt;Gitlab&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;But,Github is so popular which is used by many people across the world&lt;br&gt;
Why gitlab is not popular.&lt;/p&gt;

&lt;p&gt;I think my guess is, Microsoft bought github in 2018.so, that it became popular through promotions and many useful things to use.&lt;/p&gt;

&lt;p&gt;Gitlab is still an opensource why gitlab is not so popular compared to git hub&lt;/p&gt;

&lt;p&gt;GitHub has a slight edge here due to its &lt;strong&gt;extensive marketplace of third-party integrations.&lt;/strong&gt; It offers seamless integration with project management tools, code quality analysis tools, deployment platforms, and more. While also providing integrations, GitLab may have a smaller selection than GitHub&lt;/p&gt;

&lt;p&gt;Comparison chart:&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%2Fuze8b3724jdhv58m5qte.jpeg" 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%2Fuze8b3724jdhv58m5qte.jpeg" alt="Image description" width="800" height="887"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In my point of view, Both are good in its work. Github has more Projects and gitlab can add more contributors.&lt;/p&gt;

&lt;p&gt;But Local repository git commands works same on both github as well as gitlab.&lt;/p&gt;

&lt;p&gt;If you want to gossip with friends. when whatsapp and all social medias down.And show your manger that you are really working by showing blue colour contributed boxes Use gitlab...&lt;/p&gt;

&lt;p&gt;or if you want to steal projects for college purposes. Dont want to get zero mark on project final review and get a nice name among friends and try to put some ice on HOD's Head. Use Github..&lt;/p&gt;

&lt;p&gt;There are other Version Control Systems too...&lt;/p&gt;

&lt;p&gt;Subversion (SVN), Mercurial, and Perforce...&lt;br&gt;
Lets talk about next blog. Time is night 2..&lt;/p&gt;

&lt;h2&gt;
  
  
  What is yml?
&lt;/h2&gt;

&lt;p&gt;A .yml file, often referred to as a YAML file, is a human-readable data serialization format. It's commonly used for configuration files and data exchange between systems due to its simplicity and ease of understanding. YAML stands for "YAML Ain't Markup Language"&lt;/p&gt;

&lt;p&gt;YAML is a human-readable data serialization language that is often used for writing configuration files. Depending on whom you ask, YAML stands for yet another markup language or YAML ain't markup language (a recursive acronym), which emphasizes that YAML is for data, not documents.&lt;/p&gt;

&lt;p&gt;I took that yml data from 2 different internet sources. Take anything you like. It is also a open-source to use..(laugh emoji)&lt;/p&gt;

&lt;p&gt;Why so long gap? In writing blog?&lt;br&gt;
I dont know the answer. &lt;/p&gt;

&lt;p&gt;That's all about today's blog. I wrote that open_hearted,open_sourced, open_(you fill it)&lt;/p&gt;

&lt;p&gt;my mind stops working now. Let me take rest....BYE&lt;/p&gt;

&lt;p&gt;See you in Next blog. Until then be alive for my next blog and Take care... &lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>18 april at payilagam (For loop using string)</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Fri, 18 Apr 2025 14:24:55 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/18-april-at-payilagam-for-loop-using-string-3l1j</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/18-april-at-payilagam-for-loop-using-string-3l1j</guid>
      <description>&lt;p&gt;&lt;strong&gt;For Statement:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The for statement in Python differs a bit from what you may be used to in C or Pascal. Rather than always iterating over an arithmetic progression of numbers (like in Pascal), or giving the user the ability to define both the iteration step and halting condition (as C), Python’s for statement iterates over the items of any sequence (a list or a string), in the order that they appear in the sequence.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Vowels in name
name = "kuhan"
print("aeiou" in name)

sen = "today is a friday"
print("friday" in sen)
print("abcd" not in sen)
print("fri" in sen)
print("abcd" not in sen)
&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;# indexing
sentence = input("enter name : ")
print("Your First letter is : ",sentence[0])
print("Your Last letter is : ",sentence[-1])

sen = "salman"
for every_letter in sen:
    print(every_letter[0:1]) 
&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;name = "mohd salman"
for letter in name:
    print(letter)
&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;# count of y:

count = 0
sen="today is friday"
for letter in sen:
    if letter == 'y':
        count+=1
else:
    print(count)
&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;#Count of vowels

count_of_vowels=0
vowels = "aeiou"
name = "kuhanraja"
for every_letter in name:
    if every_letter in vowels:
        count_of_vowels+=1
else:
    print(count_of_vowels)

count_of_vowels = 0
vowels = "aeiou"
name = "kuhanraja"
for every_letter in name:
    if every_letter == 'n':
        break
    print(every_letter,end=' ')
else:
    print("Hi")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>for</category>
      <category>linux</category>
      <category>python</category>
      <category>programming</category>
    </item>
    <item>
      <title>Day - 10 at payilagam "Discussion"</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Fri, 11 Apr 2025 13:17:58 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/day-10-at-payilagam-discussion-3fp9</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/day-10-at-payilagam-discussion-3fp9</guid>
      <description>&lt;p&gt;&lt;strong&gt;Father And Daughter Story :&lt;/strong&gt;&lt;br&gt;
Small Girl Asking to her father 5rs daily. Instead, father saying he'll give 1re on day1 and so on until day 5.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;as per father :&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;total = 0
no = 1
while no&amp;lt;=5:
      total = total + no
      no=no+1
print(total)

Output:
15
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;As per Daughter :&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;total = 0
no = 1
while no &amp;lt; = 5:
      total = total + 5
      no = no + 1
print(total)

Output:
25
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>linux</category>
      <category>python</category>
      <category>loop</category>
      <category>programming</category>
    </item>
    <item>
      <title>Day - 9 at payilagam "Looping"</title>
      <dc:creator>Kuhanraja A R</dc:creator>
      <pubDate>Thu, 10 Apr 2025 11:18:18 +0000</pubDate>
      <link>https://dev.to/kuhanraja_ar_1df623b8e2e/day-9-at-payilagam-looping-55ai</link>
      <guid>https://dev.to/kuhanraja_ar_1df623b8e2e/day-9-at-payilagam-looping-55ai</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is loop&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Loops or Iteration Statements in Programming are helpful when we need a specific task in repetition. They're essential as they reduce hours of work to seconds. In this article, we will explore the basics of loops, with the different types and best practices&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;While loop :&lt;/strong&gt;&lt;br&gt;
Python While Loop is used to execute a block of statements repeatedly until a given condition is satisfied. When the condition becomes false, the line immediately after the loop in the program is executed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no1 = int(input("enter no :"))
no2 = int(input("enter no :"))

if no1&amp;gt;no2:
   print(no1)

elif no1&amp;lt;no2:
     print(no2)

else:
     print("no1 and no2 are not same")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no = 1
while no&amp;lt;=5
     print(no,end=' ')
     no+=1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Variable length argument.&lt;br&gt;
print statement take many arguments as possible.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
print("hi")
print("hi","hello")
print("mohammed","salman")
print(5,10,15)
print('09','April','2025',sep = '-',end='/')
print('09','April','2025',end='#')
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use &lt;strong&gt;python visualizer&lt;/strong&gt; to visualize&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Addition of first N nnumbers : *&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;no = 1
total = 0
while no&amp;lt;=5:
    print(no,end=' ')
    total = total+no
    no+=1
print('\n',total,sep=' ')
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Multiplication of First N numbers&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;no = 1
total = 5
while no &amp;lt; 5:
      print(no,end=' ')
      total = total * no
      no+=1
print('\n', total,sep=' ')
&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;no = 1
while no&amp;lt;=10:
      if no%6 ==0:
         break
      print(no)
      no+=1
&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;
no = 1
while no&amp;lt;=5:
     if no%4 == 0:
        break
     print(no)
     no+=1
else :
    print("hi",no)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PS1 = "[OPMB10 $]" PS1 is an environment variable in Linux that defines the primary command prompt's appearance in the terminal. It allows users to customize their prompt to include information like the username, hostname, current directory, and even colors, enhancing the terminal experience.&lt;/p&gt;

&lt;p&gt;TASK:&lt;br&gt;
1) odd or even&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no1 = 1
no2 = 10

while no1 &amp;lt;= no2:
    if start % 2 == 0:
        print("It is Even")
    else:
        print("It is Odd")
    no1 += 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2)prime number&lt;/p&gt;

&lt;p&gt;num = int(input("Enter a number: "))&lt;br&gt;
i = 2&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if num &amp;lt;= 1:
    print("Not Prime")
else:
    while i &amp;lt; num:
        if num % i == 0:
            print("Not Prime")
            break
        i += 1
    else:
        print("Prime")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>while</category>
      <category>linux</category>
      <category>python</category>
      <category>loop</category>
    </item>
  </channel>
</rss>
