<?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: dharanidharan</title>
    <description>The latest articles on DEV Community by dharanidharan (@dharanidharan).</description>
    <link>https://dev.to/dharanidharan</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%2F4017411%2Fb7d05475-a3ea-4424-8cd1-02665b5131fc.jpeg</url>
      <title>DEV Community: dharanidharan</title>
      <link>https://dev.to/dharanidharan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dharanidharan"/>
    <language>en</language>
    <item>
      <title>JavaScript-Loops &amp; Strings</title>
      <dc:creator>dharanidharan</dc:creator>
      <pubDate>Mon, 27 Jul 2026 13:07:48 +0000</pubDate>
      <link>https://dev.to/dharanidharan/javascript-loops-strings-3ehi</link>
      <guid>https://dev.to/dharanidharan/javascript-loops-strings-3ehi</guid>
      <description>&lt;h2&gt;
  
  
  Loops
&lt;/h2&gt;

&lt;p&gt;Imagine you had to write console.log() 100 times just to print numbers 1 to 100. Sounds exhausting, right? That's exactly the problem loops solve — they let you repeat a task without repeating your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The for Loop
&lt;/h2&gt;

&lt;p&gt;The most common loop. It's perfect when you know exactly how many times you want to repeat something.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;for (let i = 1; i &amp;lt;= 5; i++) {&lt;br&gt;
  console.log(i);&lt;br&gt;
}&lt;br&gt;
// Output: 1 2 3 4 5&lt;/p&gt;

&lt;p&gt;Here's what's happening:&lt;br&gt;
 let i = 1 — start counting at 1&lt;br&gt;
 i &amp;lt;= 5 — keep going while this is true&lt;br&gt;
 i++ — add 1 after each round&lt;/p&gt;
&lt;h2&gt;
  
  
  2. The while Loop
&lt;/h2&gt;

&lt;p&gt;Use this when you don't know in advance how many times you'll loop ,you just know the condition that should keep it going.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;example&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;It checks the condition before running, so if the condition is false right away, the loop never runs at all.&lt;/p&gt;
&lt;h2&gt;
  
  
  4. The for...of Loop
&lt;/h2&gt;

&lt;p&gt;Great for looping through arrays (or any iterable) when you just want the values.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;example&lt;/strong&gt;&lt;br&gt;
 const fruits = ["apple", "banana", "mango"];&lt;br&gt;
 for (const fruit of fruits) {&lt;br&gt;
   console.log(fruit);&lt;br&gt;
 }&lt;/p&gt;
&lt;h3&gt;
  
  
  Reference
&lt;/h3&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://www.w3schools.com/js/js_loops.asp" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;w3schools.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Strings
&lt;/h2&gt;

&lt;p&gt;A string is just text — a name, a sentence, a URL, anything wrapped in quotes. It's one of the first data types you'll use in JavaScript, so let's cover the basics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;example&lt;/strong&gt;&lt;br&gt;
let text = "John Doe";&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;String Methods&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;length – Find string length.&lt;/li&gt;
&lt;li&gt;toUpperCase() – Convert to uppercase.&lt;/li&gt;
&lt;li&gt;toLowerCase() – Convert to lowercase.&lt;/li&gt;
&lt;li&gt;trim() – Remove extra spaces.&lt;/li&gt;
&lt;li&gt;charAt() – Get a character by index.&lt;/li&gt;
&lt;li&gt;indexOf() – Find the position of a character or word.&lt;/li&gt;
&lt;li&gt;includes() – Check if text exists.&lt;/li&gt;
&lt;li&gt;slice() – Extract part of a string.&lt;/li&gt;
&lt;li&gt;replace() – Replace text.&lt;/li&gt;
&lt;li&gt;split() – Convert a string into an array.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://www.w3schools.com/js/js_strings.asp" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;w3schools.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>JavaScript Part-2</title>
      <dc:creator>dharanidharan</dc:creator>
      <pubDate>Wed, 15 Jul 2026 15:10:32 +0000</pubDate>
      <link>https://dev.to/dharanidharan/javascript-part-2-1gi8</link>
      <guid>https://dev.to/dharanidharan/javascript-part-2-1gi8</guid>
      <description>&lt;h2&gt;
  
  
  Operators
&lt;/h2&gt;

&lt;p&gt;An operator is a symbol or keyword that tells JavaScript to perform a specific operation on one or more values (called operands).&lt;/p&gt;

&lt;p&gt;For example, in the expression:&lt;/p&gt;

&lt;p&gt;let sum = 10 + 5;&lt;em&gt;//10 and 5 are operands.+ is the operator.The result is 15.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript provides several types of operators:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Arithmetic Operators&lt;/strong&gt;&lt;br&gt;
Arithmetic operators perform mathematical calculations.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Addition            10 + 5&lt;/li&gt;
&lt;li&gt;  Subtraction         10 - 5&lt;/li&gt;
&lt;li&gt;  Multiplication          10 * 5
/   Division            10 / 5
%   Modulus (Remainder) 10 % 3
**  Exponentiation          2 ** 3&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Assignment Operators&lt;/strong&gt;&lt;br&gt;
Assignment operators assign values to variables.&lt;/p&gt;

&lt;p&gt;=   x = 5     Assign&lt;br&gt;
+=  x += 2    Add and assign&lt;br&gt;
-=  x -= 2    Subtract and assign&lt;br&gt;
*=  x *= 2    Multiply and assign&lt;br&gt;
/=  x /= 2    Divide and assign&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Comparison Operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Comparison operators compare two values and return true or false.&lt;/p&gt;

&lt;p&gt;==  Equal to&lt;br&gt;
!=  Not equal&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Greater than&lt;br&gt;
&amp;lt;   Less than&lt;br&gt;
=  Greater than or equal&lt;br&gt;
&amp;lt;=  Less than or equal&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;4. Logical Operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Logical operators combine multiple conditions.&lt;/p&gt;

&lt;p&gt;&amp;amp;&amp;amp;  AND&lt;br&gt;
||  OR&lt;br&gt;
!   NOT&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Increment &amp;amp; Decrement Operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These operators increase or decrease a value by 1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Increment (++)&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;6&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Decrement (--)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let count = 5;&lt;br&gt;
count--;&lt;br&gt;
console.log(count);&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;4&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Ternary Operator&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The ternary operator is a shorter way to write an if...else statement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;condition ? value1 : value2;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let age = 20;&lt;br&gt;
let result = age &amp;gt;= 18 ? "Adult" : "Minor";&lt;br&gt;
console.log(result);&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
   Adult&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/javascript/javascript-operators/" rel="noopener noreferrer"&gt;JavaScript Operators-Geeksforgeeks&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CONDITIONAL STATEMENTS
&lt;/h2&gt;

&lt;p&gt;A conditional statement is used to execute different blocks of code depending on whether a condition is true or false.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Conditional Statements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript provides the following conditional statements:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. if Statement&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The if statement executes a block of code only if the condition is true.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;br&gt;
if (condition) {&lt;br&gt;
    // Code to execute&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let age = 20;&lt;br&gt;
if (age &amp;gt;= 18) {&lt;br&gt;
    console.log("You are eligible to vote.");&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
   You are eligible to vote.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. if...else Statement&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The if...else statement executes one block if the condition is true, otherwise it executes another block.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;if (condition) {&lt;br&gt;
    // Executes if true&lt;br&gt;
} else {&lt;br&gt;
    // Executes if false&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
let age = 16;&lt;br&gt;
if (age &amp;gt;= 18) {&lt;br&gt;
    console.log("Eligible to vote");&lt;br&gt;
} else {&lt;br&gt;
    console.log("Not eligible to vote");&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
   Not eligible to vote&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. if...else if...else Statement&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Use this when you need to check multiple conditions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;if (condition1) {&lt;/p&gt;

&lt;p&gt;} else if (condition2) {&lt;/p&gt;

&lt;p&gt;} else {&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let marks = 85;&lt;/p&gt;

&lt;p&gt;if (marks &amp;gt;= 90) {&lt;br&gt;
    console.log("Grade A");&lt;br&gt;
}&lt;br&gt;
else if (marks &amp;gt;= 75) {&lt;br&gt;
    console.log("Grade B");&lt;br&gt;
}&lt;br&gt;
else if (marks &amp;gt;= 50) {&lt;br&gt;
    console.log("Grade C");&lt;br&gt;
}&lt;br&gt;
else {&lt;br&gt;
    console.log("Fail");&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
   Grade B&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Nested if&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A nested if means placing one if statement inside another.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let age = 20;&lt;br&gt;
let hasLicense = true;&lt;br&gt;
if (age &amp;gt;= 18) {&lt;br&gt;
    if (hasLicense) {&lt;br&gt;
        console.log("You can drive.");&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
   You can drive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. switch Statement&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The switch statement is used when you want to compare one value against many possible values.It is often cleaner than writing many else if statements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;switch(expression){&lt;br&gt;
    case value1:&lt;br&gt;
        // Code&lt;br&gt;
        break;&lt;br&gt;
    case value2:&lt;br&gt;
        // Code&lt;br&gt;
        break;&lt;br&gt;
    default:&lt;br&gt;
        // Code&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let day = 3;&lt;br&gt;
switch(day){&lt;br&gt;
    case 1:&lt;br&gt;
        console.log("Monday");&lt;br&gt;
        break;&lt;br&gt;
    case 2:&lt;br&gt;
        console.log("Tuesday");&lt;br&gt;
        break;&lt;br&gt;
    case 3:&lt;br&gt;
        console.log("Wednesday");&lt;br&gt;
        break;&lt;br&gt;
    default:&lt;br&gt;
        console.log("Invalid Day");&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
    Wednesday&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/javascript/conditional-statements-in-javascript/" rel="noopener noreferrer"&gt;JavaScript Conditional Statements -Geeksforgeeks&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>JavaScript Part-1</title>
      <dc:creator>dharanidharan</dc:creator>
      <pubDate>Tue, 14 Jul 2026 14:39:37 +0000</pubDate>
      <link>https://dev.to/dharanidharan/javascript-part-1-3po6</link>
      <guid>https://dev.to/dharanidharan/javascript-part-1-3po6</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is JavaScript?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript (JS) is a high-level, interpreted, and versatile programming language used to make websites interactive and dynamic. It is one of the three core technologies of web development, alongside HTML and CSS.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML creates the structure of a webpage.&lt;/li&gt;
&lt;li&gt;CSS styles the webpage.&lt;/li&gt;
&lt;li&gt;JavaScript adds behavior and functionality.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Variables
&lt;/h2&gt;

&lt;p&gt;A variable is like a container that stores data.Imagine you have a box labeled Name. Inside that box, you store the value "Dharanidharan".&lt;/p&gt;

&lt;p&gt;In JavaScript, variables work the same way—they store information that your program can use later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Variables&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript provides three ways to declare variables:&lt;br&gt;
     let&lt;br&gt;
     const&lt;br&gt;
     var&lt;/p&gt;
&lt;h2&gt;
  
  
  1. let
&lt;/h2&gt;

&lt;p&gt;The let keyword is used to declare a variable in JavaScript. It was introduced in ES6 (ECMAScript 2015) and is the recommended way to declare variables whose values may change during the execution of a program.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br&gt;
  let variableName = value;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reassigning a Variable-A variable declared with let can be reassigned.&lt;/li&gt;
&lt;li&gt;Redeclaring is Not Allowed-You cannot declare the same variable twice in the same block.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where Do We Use let?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The let keyword is used when the value of a variable may change during the execution of a program.Whenever you expect a variable to store different values at different times, let is the right choice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exzample&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;let y = 10;&lt;br&gt;
console.log(y); // 10&lt;br&gt;
let y = 20;     // ❌ Error: Cannot redeclare&lt;br&gt;
y = 20;         // ✅ Allowed&lt;br&gt;
console.log(y); // 20&lt;/p&gt;
&lt;h2&gt;
  
  
  2. const
&lt;/h2&gt;

&lt;p&gt;The &lt;em&gt;const&lt;/em&gt; keyword is used to declare a variable whose reference cannot be reassigned after it has been initialized. It was introduced in ES6 (ECMAScript 2015) and is the preferred choice for values that should remain the same throughout the program.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br&gt;
  const country = "India";&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;const Must Be initialized Unlike let, you cannot declare a const variable without giving it a value.&lt;/li&gt;
&lt;li&gt;both reassignment and redeclaration is not alowed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;where Do We Use Const?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The const keyword is used when a variable's reference should not be reassigned after it is created.Once a value is assigned to a const variable, you cannot assign a different value to that same variable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exzample&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;const z = 10;&lt;br&gt;
z = 20;         // ❌ Error: Assignment to constant variable&lt;br&gt;
console.log(z); // 10&lt;/p&gt;
&lt;h2&gt;
  
  
  3. var(Not Recommended)
&lt;/h2&gt;

&lt;p&gt;The var keyword was traditionally used to declare variables in JavaScript.Variables declared with var are function-scoped and can be re-declared within the same scope without causing an error.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br&gt;
  var name = "ABCD";&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reassigning a Variable-A variable declared with var can be reassigned.&lt;/li&gt;
&lt;li&gt;Redeclaring a Variable-One unique feature of var is that it can be redeclared in the same scope.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why is var Not Recommended?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;With var, you can declare the same variable multiple times in the same scope. This can accidentally overwrite values. &lt;/li&gt;
&lt;li&gt;var is function-scoped, not block-scoped. This means a variable declared inside an if block or for loop is still accessible outside that block.&lt;/li&gt;
&lt;li&gt;Variables declared with var are hoisted. They exist before the line where they are declared, but their value is undefined until the assignment happens.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Exzample&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;var x = 10;&lt;br&gt;
var x = 20;     // Redeclaration allowed&lt;br&gt;
console.log(x); // 20&lt;/p&gt;

&lt;p&gt;&lt;a href="//var%20x%20=%2010;&lt;br&gt;%0Avar%20x%20=%2020;%20//%20Redeclaration%20allowed&lt;br&gt;%0Aconsole.log(x);%20//%2020"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Referance:&lt;/strong&gt;&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://www.w3schools.com/js/js_variables.asp" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;w3schools.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>javascript</category>
    </item>
    <item>
      <title>HTML &amp; CSS</title>
      <dc:creator>dharanidharan</dc:creator>
      <pubDate>Mon, 13 Jul 2026 14:37:13 +0000</pubDate>
      <link>https://dev.to/dharanidharan/html-css-4oin</link>
      <guid>https://dev.to/dharanidharan/html-css-4oin</guid>
      <description>&lt;p&gt;Welcome to my very first blog.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is HTML?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML stands for Hyper Text Markup Language. It is the standard language used to create the structure of a web page.&lt;/p&gt;

&lt;p&gt;Think of HTML as the skeleton of a human body. It defines the headings, paragraphs, images, buttons, links, tables, and forms that appear on a webpage .For example, HTML helps us create:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Headings&lt;/li&gt;
&lt;li&gt;Paragraphs&lt;/li&gt;
&lt;li&gt;Images&lt;/li&gt;
&lt;li&gt;Links&lt;/li&gt;
&lt;li&gt;Lists&lt;/li&gt;
&lt;li&gt;Tables&lt;/li&gt;
&lt;li&gt;Forms&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without HTML, a webpage would have no structure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is CSS?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSS stands for Cascading Style Sheets.&lt;/p&gt;

&lt;p&gt;If HTML is the skeleton, CSS is the skin, clothes, and overall appearance. CSS is responsible for making websites attractive and responsive.Using CSS, we can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Change colors&lt;/li&gt;
&lt;li&gt;Add backgrounds&lt;/li&gt;
&lt;li&gt;Style fonts&lt;/li&gt;
&lt;li&gt;Create layouts&lt;/li&gt;
&lt;li&gt;Add spacing and borders&lt;/li&gt;
&lt;li&gt;Create animations&lt;/li&gt;
&lt;li&gt;Make websites responsive for mobile devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without CSS, websites would look plain and difficult to use.&lt;/p&gt;

&lt;p&gt;Here is an code website developed by self as a first step on learning Full stack&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Portfolio&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;style&amp;gt;&lt;/span&gt;
        &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;box-sizing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;border-box&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;header&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;

            &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="py"&gt;Padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;

            &lt;span class="nl"&gt;text-align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;margin-bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;

            &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;text-decoration&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;margin-right&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;nav&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;text-align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;section&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;border&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1px&lt;/span&gt; &lt;span class="nb"&gt;solid&lt;/span&gt; &lt;span class="m"&gt;#ccc&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;  &lt;span class="m"&gt;40px&lt;/span&gt; &lt;span class="m"&gt;80px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;40px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;border-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#d1b09a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;footer&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;text-align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;center&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;white&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;margin-bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nt"&gt;ul&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;list-style-type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;square&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;margin-left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;header&amp;gt;&lt;/span&gt; 
        &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Dharanidharan&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;nav&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;About me&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Projects&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Contact&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/nav&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/header&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;section&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h2&amp;gt;&lt;/span&gt;About Me&lt;span class="nt"&gt;&amp;lt;/h2&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Welcome to my portfolio!&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Current student looking to join the workforce to gain real-world experience. Ability to completetasks on time in both individual and team settings. Dependable and reliable, ready to learn and grow with your company.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;

    &lt;span class="nt"&gt;&amp;lt;section&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h2&amp;gt;&lt;/span&gt;Projects&lt;span class="nt"&gt;&amp;lt;/h2&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Here are some of my projects:&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&lt;/span&gt;FINTECH&lt;span class="nt"&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&lt;/span&gt;Temperature Monitoring Band for Babies using IoT and Cloud Data Analysis &lt;span class="nt"&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&lt;/span&gt;AI-Driven ECG Image Analysis and Clinical Interpretation System &lt;span class="nt"&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;section&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h2&amp;gt;&lt;/span&gt;Contact&lt;span class="nt"&gt;&amp;lt;/h2&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;You can reach me at iamdharanidharan@gmail.com&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Mobile: +91 8248355766&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;footer&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h4&amp;gt;&lt;/span&gt;&lt;span class="ni"&gt;&amp;amp;copy;&lt;/span&gt;  Dharanidharan.&lt;span class="nt"&gt;&amp;lt;/h4&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/footer&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;here is its Output:&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg3hiegb0nal487hs40e3.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg3hiegb0nal487hs40e3.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's Next?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thank you for reading my very first blog!&lt;/p&gt;

&lt;p&gt;Everyone starts as a beginner, and this is my first step into the world of web development. I hope you'll join me as I continue learning and building new projects.&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
    </item>
  </channel>
</rss>
