<?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: Narmatha</title>
    <description>The latest articles on DEV Community by Narmatha (@narmathachandra).</description>
    <link>https://dev.to/narmathachandra</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%2F4020834%2F7b160354-0b89-408e-baad-e9192d63ca87.png</url>
      <title>DEV Community: Narmatha</title>
      <link>https://dev.to/narmathachandra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/narmathachandra"/>
    <language>en</language>
    <item>
      <title>CONDITION STATEMENT IN JAVASCRIPT</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Tue, 01 Sep 2026 16:02:28 +0000</pubDate>
      <link>https://dev.to/narmathachandra/condition-statement-in-javascript-41d4</link>
      <guid>https://dev.to/narmathachandra/condition-statement-in-javascript-41d4</guid>
      <description>&lt;h2&gt;
  
  
  CONDITION STATEMENT IN JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;A conditional statement in JavaScript is a programming statement that is used to make decisions in a program based on whether a particular condition is true or false. It allows the program to control the flow of execution by checking a condition and then executing a specific block of code depending on the result of that condition.&lt;/p&gt;

&lt;h2&gt;
  
  
  IF STATEMENT:
&lt;/h2&gt;

&lt;p&gt;The if statement is a conditional statement used to execute a block of code only when a specified condition is true.&lt;/p&gt;

&lt;h2&gt;
  
  
  Syntax
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;if (condition) {&lt;br&gt;
    // code to execute if condition is true&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  EXAMPLE
&lt;/h2&gt;

&lt;p&gt;let age = 20;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;if (age &amp;gt;= 18) {&lt;br&gt;
    console.log("You are an adult");&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  IF ELSE STATEMENT:
&lt;/h2&gt;

&lt;p&gt;The if...else statement in JavaScript is a conditional statement that is used to execute one block of code if a condition is true and another block of code if the condition is false.&lt;/p&gt;

&lt;h2&gt;
  
  
  Syntax:
&lt;/h2&gt;

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

&lt;p&gt;`&lt;/p&gt;

&lt;h2&gt;
  
  
  EXAMPLE
&lt;/h2&gt;

&lt;p&gt;`let age = 16;&lt;/p&gt;

&lt;p&gt;if (age &amp;gt;= 18) {&lt;br&gt;
    console.log("You are an adult");&lt;br&gt;
} else {&lt;br&gt;
    console.log("You are a minor");&lt;br&gt;
}`&lt;/p&gt;

</description>
    </item>
    <item>
      <title>LOOP IN JAVASCRIPT</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Tue, 01 Sep 2026 15:47:43 +0000</pubDate>
      <link>https://dev.to/narmathachandra/loop-in-javascript-29pl</link>
      <guid>https://dev.to/narmathachandra/loop-in-javascript-29pl</guid>
      <description>&lt;h2&gt;
  
  
  For Loop in JavaScript
&lt;/h2&gt;

&lt;p&gt;A for loop in JavaScript is used to execute a block of code repeatedly as long as a given condition is true.&lt;/p&gt;

&lt;p&gt;Instead of writing the same code many times, we can use a loop to repeat it automatically.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;for (initialization; condition; increment/decrement) {&lt;br&gt;
    // code to be executed&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  for loop has three important parts:
&lt;/h2&gt;

&lt;p&gt;1.Initialization – Runs only once at the beginning.&lt;br&gt;
2.Condition – Checked before every iteration. If it is true, the loop runs.&lt;br&gt;
3.Increment/Decrement – Changes the value after each iteration.&lt;/p&gt;

&lt;h2&gt;
  
  
  While loop in javascript
&lt;/h2&gt;

&lt;p&gt;A while loop is used when you want to repeatedly execute a block of code as long as a condition is true.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check condition → Execute code → Update something → Check again
&lt;/h2&gt;

&lt;h2&gt;
  
  
  1. Basic syntax
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;while (condition) {&lt;br&gt;
    // code to execute&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  for example
&lt;/h2&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;h2&gt;
  
  
  output
&lt;/h2&gt;

&lt;p&gt;1&lt;br&gt;
2&lt;br&gt;
3&lt;br&gt;
4&lt;br&gt;
5&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Primitive data types in javascript</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Wed, 26 Aug 2026 08:02:53 +0000</pubDate>
      <link>https://dev.to/narmathachandra/primitive-data-types-in-javascript-4c57</link>
      <guid>https://dev.to/narmathachandra/primitive-data-types-in-javascript-4c57</guid>
      <description>&lt;h2&gt;
  
  
  PRIMITIVE DATA TYPES IN JAVASCRIPT
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;JavaScript has seven primitive data types: String, Number, BigInt, Boolean, Undefined, Null, and Symbol.Primitive types are the most basic building blocks of data in JavaScript.&lt;br&gt;
 They represent a single value and are immutable, meaning their internal values cannot be changed after creation.&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  The 7 Primitive Data Types&lt;br&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  1. String :
&lt;/h2&gt;

&lt;p&gt;Represents textual data. Strings must be enclosed in single quotes ('), double quotes ("), or backticks (`).&lt;/p&gt;

&lt;h2&gt;
  
  
  javascript
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;let name = "Alice";&lt;br&gt;
let greeting = 'Hello';&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Number :
&lt;/h2&gt;

&lt;p&gt;Represents both integers and floating-point (decimal) numbers. It also includes special values like NaN (Not a Number) an Infinity.&lt;/p&gt;

&lt;h2&gt;
  
  
  javascript
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;let age = 25;&lt;br&gt;
let weight = 50.1;&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. BigInt:
&lt;/h2&gt;

&lt;p&gt;Large integers beyond the safe calculation limit of the standard Number type (ends with an n, e.g., 9007199254740991n).&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Boolean:
&lt;/h2&gt;

&lt;p&gt;logical entity with only two possible values: true or false.&lt;/p&gt;

&lt;h2&gt;
  
  
  javascript
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;let isCoding = true;&lt;br&gt;
let isTired = false;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5.undefined
&lt;/h2&gt;

&lt;p&gt;Automatically assigned to a variable that has been declared but not yet given a value.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let x console.log(x);&lt;/code&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  6. Null
&lt;/h2&gt;

&lt;p&gt;Represents an intentional absence of any object value. It is used to explicitly state that a variable is empty.&lt;/p&gt;

&lt;h2&gt;
  
  
  javascript
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;let emptyValue = null;&lt;/code&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>css interview questions</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Thu, 20 Aug 2026 03:58:13 +0000</pubDate>
      <link>https://dev.to/narmathachandra/css-interview-questions-71h</link>
      <guid>https://dev.to/narmathachandra/css-interview-questions-71h</guid>
      <description>&lt;h2&gt;
  
  
  1. What is CSS?
&lt;/h2&gt;

&lt;p&gt;CSS stands for Cascading Style Sheets. It is a styling language used to design and control the appearance of HTML web pages.&lt;br&gt;
HTML is used to create the structure of a webpage, while CSS is used to make the webpage beautiful and user-friendly.&lt;/p&gt;

&lt;h2&gt;
  
  
  CSS can be used to change:
&lt;/h2&gt;

&lt;p&gt;Text color&lt;br&gt;
Font size and style&lt;br&gt;
Background color&lt;br&gt;
Width and height&lt;br&gt;
Margin and padding&lt;br&gt;
Borders&lt;br&gt;
Page layout&lt;br&gt;
Responsive design&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;p {&lt;br&gt;
  color: blue;&lt;br&gt;
  font-size: 20px;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
Here, the paragraph text becomes blue and its font size becomes 20px.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. What are the types of CSS?
&lt;/h2&gt;

&lt;h2&gt;
  
  
  There are three types of CSS:
&lt;/h2&gt;

&lt;h2&gt;
  
  
  1. Inline CSS
&lt;/h2&gt;

&lt;p&gt;CSS is written directly inside an HTML element using the style attribute.&lt;br&gt;
HTML&lt;/p&gt;

&lt;p&gt;Hello&lt;/p&gt;

&lt;p&gt;It is useful when we want to apply a style to a single element.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Internal CSS
&lt;/h2&gt;

&lt;p&gt;CSS is written inside the  tag in the HTML document.&amp;lt;br&amp;gt;
HTML&amp;lt;/p&amp;gt;

&amp;lt;style&amp;gt;
  p {
    color: blue;
  }


&lt;/p&gt;
&lt;p&gt;It is useful when styling a single webpage.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. External CSS
&lt;/h2&gt;

&lt;p&gt;CSS is written in a separate .css file and connected to the HTML file.&lt;br&gt;
HTML&lt;br&gt;
&lt;br&gt;
This is commonly preferred for larger websites because the same CSS file can be used for multiple webpages.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. What is a CSS Selector?
&lt;/h2&gt;

&lt;p&gt;A CSS selector is used to select HTML elements that we want to style.&lt;/p&gt;

&lt;h2&gt;
  
  
  For example:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;p {&lt;br&gt;
  color: red;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
Here, p is the selector, and the style is applied to all &lt;/p&gt;
&lt;p&gt; elements.&lt;br&gt;
Common selectors include:&lt;br&gt;
Element selector: p&lt;br&gt;
Class selector: .title&lt;br&gt;
ID selector: #header&lt;br&gt;
Universal selector: *&lt;br&gt;
Attribute selector: [type="text"]&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.title {&lt;br&gt;
  color: green;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
This applies the style to elements having the class title.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. What is the difference between Class and ID in CSS?
&lt;/h2&gt;

&lt;p&gt;Both class and ID are used to identify HTML elements, but they are used differently.&lt;/p&gt;

&lt;h2&gt;
  
  
  Class:
&lt;/h2&gt;

&lt;p&gt;Written using . in CSS.&lt;br&gt;
Can be used on multiple elements.&lt;br&gt;
Useful when applying the same style to several elements.&lt;br&gt;
&lt;code&gt;.student {&lt;br&gt;
  color: blue;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ID:
&lt;/h2&gt;

&lt;p&gt;Written using # in CSS.&lt;br&gt;
Normally used for one unique element.&lt;br&gt;
Useful when identifying a specific element.&lt;br&gt;
&lt;code&gt;#header {&lt;br&gt;
  color: red;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Simple difference:
&lt;/h2&gt;

&lt;p&gt;Class → Multiple elements&lt;br&gt;
ID → One unique element&lt;/p&gt;

&lt;h2&gt;
  
  
  5. What is the CSS Box Model?
&lt;/h2&gt;

&lt;p&gt;The CSS Box Model describes how every HTML element is represented as a rectangular box.&lt;/p&gt;

&lt;h2&gt;
  
  
  It consists of four parts:
&lt;/h2&gt;

&lt;p&gt;Content – The actual text or image.&lt;br&gt;
Padding – Space between the content and border.&lt;br&gt;
Border – The line around the padding and content.&lt;br&gt;
Margin – Space outside the border.&lt;/p&gt;

&lt;h2&gt;
  
  
  The order is:
&lt;/h2&gt;

&lt;p&gt;Content → Padding → Border → Margin&lt;br&gt;
Example:&lt;br&gt;
.box {&lt;br&gt;
  width: 200px;&lt;br&gt;
  padding: 20px;&lt;br&gt;
  border: 2px solid black;&lt;br&gt;
  margin: 10px;&lt;br&gt;
}&lt;br&gt;
The Box Model is very important for controlling the size and spacing of elements.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. What is Padding in CSS?
&lt;/h2&gt;

&lt;p&gt;Padding is the space between the content and the border of an element.&lt;/p&gt;

&lt;h2&gt;
  
  
  For example:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.box {&lt;br&gt;
  padding: 20px;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
This creates 20px of space between the content and the border.&lt;br&gt;
We can also specify padding for individual sides:&lt;br&gt;
.box {&lt;br&gt;
  padding-top: 10px;&lt;br&gt;
  padding-right: 20px;&lt;br&gt;
  padding-bottom: 10px;&lt;br&gt;
  padding-left: 20px;&lt;br&gt;
}&lt;/p&gt;

&lt;h2&gt;
  
  
  Simple example:
&lt;/h2&gt;

&lt;p&gt;If a box contains the word "Hello", padding creates space around "Hello" inside the box.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. What is Margin in CSS?
&lt;/h2&gt;

&lt;p&gt;Margin is the space outside the border of an element.&lt;br&gt;
It is used to create space between elements.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.box {&lt;br&gt;
  margin: 20px;&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;This creates 20px of space around the outside of the element.&lt;br&gt;
We can also use:&lt;br&gt;
margin-top: 10px;&lt;br&gt;
margin-right: 20px;&lt;br&gt;
margin-bottom: 10px;&lt;br&gt;
margin-left: 20px;&lt;br&gt;
Padding vs Margin&lt;br&gt;
Padding: Space inside the border.&lt;br&gt;
Margin: Space outside the border.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. What is display: flex in CSS?
&lt;/h2&gt;

&lt;p&gt;Flexbox is a CSS layout system used to arrange elements in a row or column.&lt;/p&gt;

&lt;h2&gt;
  
  
  To use Flexbox:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.container {&lt;br&gt;
  display: flex;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
By default, the child elements are arranged in a row.&lt;br&gt;
Some important Flexbox properties are:&lt;br&gt;
display: flex&lt;br&gt;
flex-direction&lt;br&gt;
justify-content&lt;br&gt;
align-items&lt;br&gt;
gap&lt;br&gt;
flex-wrap&lt;br&gt;
Example:&lt;br&gt;
.container {&lt;br&gt;
  display: flex;&lt;br&gt;
  justify-content: center;&lt;br&gt;
  align-items: center;&lt;br&gt;
}&lt;br&gt;
Flexbox is commonly used to create navigation bars, cards, buttons, and page layouts.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. What is CSS Grid?
&lt;/h2&gt;

&lt;p&gt;CSS Grid is a layout system used to arrange elements in rows and columns.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.container {&lt;br&gt;
  display: grid;&lt;br&gt;
  grid-template-columns: 1fr 1fr 1fr;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
This creates three columns of equal size.&lt;br&gt;
Grid is useful for creating:&lt;br&gt;
Website layouts&lt;br&gt;
Image galleries&lt;br&gt;
Product cards&lt;br&gt;
Dashboard layouts&lt;br&gt;
Rows and columns&lt;/p&gt;

&lt;h2&gt;
  
  
  Flexbox vs Grid
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Flexbox:
&lt;/h2&gt;

&lt;p&gt;Mainly works in one direction — row or column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Grid:
&lt;/h2&gt;

&lt;p&gt;Works in two directions — rows and columns.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. What is the difference between Flexbox and Grid?
&lt;/h2&gt;

&lt;p&gt;Both Flexbox and Grid are CSS layout systems, but they are designed for different purposes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Flexbox
&lt;/h2&gt;

&lt;p&gt;Flexbox is mainly a one-dimensional layout system.&lt;br&gt;
It is useful when arranging elements in:&lt;br&gt;
A row&lt;br&gt;
A column&lt;/p&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.container {&lt;br&gt;
  display: flex;&lt;br&gt;
  justify-content: space-between;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Grid
&lt;/h2&gt;

&lt;p&gt;Grid is a two-dimensional layout system.&lt;br&gt;
It is useful when working with:&lt;br&gt;
Rows&lt;br&gt;
Columns&lt;br&gt;
Complete page layouts&lt;/p&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;.container {&lt;br&gt;
  display: grid;&lt;br&gt;
  grid-template-columns: 1fr 1fr;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Css interview questions</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Wed, 19 Aug 2026 15:49:51 +0000</pubDate>
      <link>https://dev.to/narmathachandra/css-interview-questions-ek8</link>
      <guid>https://dev.to/narmathachandra/css-interview-questions-ek8</guid>
      <description>&lt;p&gt;&lt;strong&gt;1.What is CSS?&lt;/strong&gt;&lt;br&gt;
CSS stands for Cascading Style Sheets. It is a styling language used to design and control the appearance of HTML web pages.&lt;br&gt;
HTML is used to create the structure of a webpage, while CSS is used to make the webpage beautiful and user-friendly.&lt;br&gt;
&lt;strong&gt;CSS can be used to change:&lt;/strong&gt;&lt;br&gt;
Text color&lt;br&gt;
Font size and style&lt;br&gt;
Background color&lt;br&gt;
Width and height&lt;br&gt;
Margin and padding&lt;br&gt;
Borders&lt;br&gt;
Page layout&lt;br&gt;
Responsive design&lt;br&gt;
Example:&lt;br&gt;
&lt;code&gt;p {&lt;br&gt;
  color: blue;&lt;br&gt;
  font-size: 20px;&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
Here, the paragraph text becomes blue and its font size becomes 20px.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What are the types of CSS?
**There are three types of CSS:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;1. Inline CSS&lt;/strong&gt;&lt;br&gt;
CSS is written directly inside an HTML element using the style attribute.&lt;br&gt;
HTML&lt;br&gt;
&lt;code&gt;&amp;lt;p style="color: red;"&amp;gt;Hello&amp;lt;/p&amp;gt;&lt;br&gt;
&lt;/code&gt;It is useful when we want to apply a style to a single element.&lt;/p&gt;

&lt;p&gt;**2. Internal CSS&lt;br&gt;
**CSS is written inside the  tag in the HTML document.&amp;lt;br&amp;gt;
HTML&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;&amp;amp;lt;style&amp;amp;gt;&amp;lt;br&amp;gt;
  p {&amp;lt;br&amp;gt;
    color: blue;&amp;lt;br&amp;gt;
  }&amp;lt;br&amp;gt;
&amp;amp;lt;/style&amp;amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
It is useful when styling a single webpage.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;3. External CSS&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
CSS is written in a separate .css file and connected to the HTML file.&amp;lt;br&amp;gt;
HTML&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;&amp;amp;lt;link rel=&amp;amp;quot;stylesheet&amp;amp;quot; href=&amp;amp;quot;style.css&amp;amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
This is commonly preferred for larger websites because the same CSS file can be used for multiple webpages.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;3. What is a CSS Selector?&amp;lt;br&amp;gt;
**A CSS selector is used to select HTML elements that we want to style.&amp;lt;br&amp;gt;
**For example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;p {&amp;lt;br&amp;gt;
  color: red;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
Here, p is the selector, and the style is applied to all &amp;lt;p&amp;gt; elements.&amp;lt;br&amp;gt;
Common selectors include:&amp;lt;br&amp;gt;
Element selector: p&amp;lt;br&amp;gt;
Class selector: .title&amp;lt;br&amp;gt;
ID selector: #header&amp;lt;br&amp;gt;
Universal selector: *&amp;lt;br&amp;gt;
Attribute selector: [type=&amp;amp;quot;text&amp;amp;quot;]&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.title {&amp;lt;br&amp;gt;
  color: green;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
This applies the style to elements having the class title.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;4. What is the difference between Class and ID in CSS?&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
Both class and ID are used to identify HTML elements, but they are used differently.&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Class:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
Written using . in CSS.&amp;lt;br&amp;gt;
Can be used on multiple elements.&amp;lt;br&amp;gt;
Useful when applying the same style to several elements.&amp;lt;br&amp;gt;
.student {&amp;lt;br&amp;gt;
  color: blue;&amp;lt;br&amp;gt;
}&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;ID:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
Written using # in CSS.tq&amp;lt;br&amp;gt;
Normally used for one unique element.&amp;lt;br&amp;gt;
Useful when identifying a specific element.&amp;lt;/p&amp;gt;
&amp;lt;h1&amp;gt;
  &amp;lt;a name="header-" href="#header-" class="anchor"&amp;gt;
  &amp;lt;/a&amp;gt;
  header {
&amp;lt;/h1&amp;gt;

&amp;lt;p&amp;gt;color: red;&amp;lt;br&amp;gt;
}&amp;lt;br&amp;gt;
**Simple difference:&amp;lt;br&amp;gt;
**Class → Multiple elements&amp;lt;br&amp;gt;
ID → One unique element&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;5. What is the CSS Box Model?&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
The CSS Box Model describes how every HTML element is represented as a rectangular box.&amp;lt;br&amp;gt;
It consists of four parts:&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Content&amp;lt;/strong&amp;gt; – The actual text or image.&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Padding&amp;lt;/strong&amp;gt; – Space between the content and border.&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Border&amp;lt;/strong&amp;gt; – The line around the padding and content.&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Margin&amp;lt;/strong&amp;gt; – Space outside the border.&amp;lt;br&amp;gt;
The order is:&amp;lt;br&amp;gt;
Content → Padding → Border → Margin&amp;lt;br&amp;gt;
*&amp;lt;em&amp;gt;Example:&amp;lt;br&amp;gt;
*&amp;lt;/em&amp;gt;.&amp;lt;code&amp;gt;box {&amp;lt;br&amp;gt;
  width: 200px;&amp;lt;br&amp;gt;
  padding: 20px;&amp;lt;br&amp;gt;
  border: 2px solid black;&amp;lt;br&amp;gt;
  margin: 10px;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
The Box Model is very important for controlling the size and spacing of elements.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;6. What is Padding in CSS?&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
Padding is the space between the content and the border of an element.&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;For example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
.&amp;lt;code&amp;gt;box {&amp;lt;br&amp;gt;
  padding: 20px;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
This creates 20px of space between the content and the border.&amp;lt;br&amp;gt;
We can also specify padding for individual sides:&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.box {&amp;lt;br&amp;gt;
  padding-top: 10px;&amp;lt;br&amp;gt;
  padding-right: 20px;&amp;lt;br&amp;gt;
  padding-bottom: 10px;&amp;lt;br&amp;gt;
  padding-left: 20px;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Simple example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
If a box contains the word &amp;amp;quot;Hello&amp;amp;quot;, padding creates space around &amp;amp;quot;Hello&amp;amp;quot; inside the box.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;7. What is Margin in CSS?&amp;lt;br&amp;gt;
**Margin is the space outside the border of an element.&amp;lt;br&amp;gt;
It is used to create space between elements.&amp;lt;br&amp;gt;
**Example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.box {&amp;lt;br&amp;gt;
  margin: 20px;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
This creates 20px of space around the outside of the element.&amp;lt;br&amp;gt;
We can also use:&amp;lt;br&amp;gt;
margin-top: 10px;&amp;lt;br&amp;gt;
margin-right: 20px;&amp;lt;br&amp;gt;
margin-bottom: 10px;&amp;lt;br&amp;gt;
margin-left: 20px;&amp;lt;br&amp;gt;
Padding vs Margin&amp;lt;br&amp;gt;
**Padding: **Space inside the border.&amp;lt;br&amp;gt;
**Margin: **Space outside the border.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;8. What is display: flex in CSS?&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
Flexbox is a CSS layout system used to arrange elements in a row or column.&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;To use Flexbox:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.container {&amp;lt;br&amp;gt;
  display: flex;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
By default, the child elements are arranged in a row.&amp;lt;br&amp;gt;
Some important Flexbox properties are:&amp;lt;br&amp;gt;
display: flex&amp;lt;br&amp;gt;
flex-direction&amp;lt;br&amp;gt;
justify-content&amp;lt;br&amp;gt;
align-items&amp;lt;br&amp;gt;
gap&amp;lt;br&amp;gt;
flex-wrap&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.container {&amp;lt;br&amp;gt;
  display: flex;&amp;lt;br&amp;gt;
  justify-content: center;&amp;lt;br&amp;gt;
  align-items: center;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
Flexbox is commonly used to create navigation bars, cards, buttons, and page layouts.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;9. What is CSS Grid?&amp;lt;br&amp;gt;
**CSS Grid is a layout system used to arrange elements in rows and columns.&amp;lt;br&amp;gt;
**Example&amp;lt;/strong&amp;gt;:&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.container {&amp;lt;br&amp;gt;
  display: grid;&amp;lt;br&amp;gt;
  grid-template-columns: 1fr 1fr 1fr;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
This creates three columns of equal size.&amp;lt;br&amp;gt;
Grid is useful for creating:&amp;lt;br&amp;gt;
Website layouts&amp;lt;br&amp;gt;
Image galleries&amp;lt;br&amp;gt;
Product cards&amp;lt;br&amp;gt;
Dashboard layouts&amp;lt;br&amp;gt;
Rows and columns&amp;lt;br&amp;gt;
Flexbox vs Grid&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Flexbox: **Mainly works in one direction — row or column.&amp;lt;br&amp;gt;
**Grid:&amp;lt;/strong&amp;gt; Works in two directions — rows and columns.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;10. What is the difference between Flexbox and Grid?&amp;lt;br&amp;gt;
**Both Flexbox and Grid are CSS layout systems, but they are designed for different purposes.&amp;lt;br&amp;gt;
**Flexbox&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
Flexbox is mainly a one-dimensional layout system.&amp;lt;br&amp;gt;
It is useful when arranging elements in:&amp;lt;br&amp;gt;
A row&amp;lt;br&amp;gt;
A column&amp;lt;br&amp;gt;
&amp;lt;strong&amp;gt;Example:&amp;lt;br&amp;gt;
**&amp;lt;code&amp;gt;.container {&amp;lt;br&amp;gt;
  display: flex;&amp;lt;br&amp;gt;
  justify-content: space-between;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;
Grid&amp;lt;br&amp;gt;
Grid is a two-dimensional layout system.&amp;lt;br&amp;gt;
It is useful when working with:&amp;lt;br&amp;gt;
Rows&amp;lt;br&amp;gt;
Columns&amp;lt;br&amp;gt;
Complete page layouts&amp;lt;br&amp;gt;
**Example:&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;code&amp;gt;.container {&amp;lt;br&amp;gt;
  display: grid;&amp;lt;br&amp;gt;
  grid-template-columns: 1fr 1fr;&amp;lt;br&amp;gt;
}&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;
&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HTML INTERVIEW QUESTION</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Wed, 19 Aug 2026 07:31:09 +0000</pubDate>
      <link>https://dev.to/narmathachandra/html-interview-question-229l</link>
      <guid>https://dev.to/narmathachandra/html-interview-question-229l</guid>
      <description>&lt;p&gt;&lt;strong&gt;1.WHAT IS HTML ?&lt;/strong&gt;&lt;br&gt;
HTML (HyperText Markup Language) is the standard language used to structure content on the web. It tells the browser how to display text, images, and other elements on a webpage.&lt;/p&gt;

&lt;p&gt;1.HTML is a markup language, not a programming language.&lt;br&gt;
2.It defines the structure of a webpage using tags and elements.&lt;br&gt;
3.HTML is static; CSS styles it and JavaScript adds interactivity.&lt;br&gt;
4.It forms the foundation of almost every website today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. What are HTML tags?&lt;/strong&gt;&lt;br&gt;
HTML tags are special keywords enclosed in angle brackets (&amp;lt; &amp;gt;) that tell a web browser how to structure and display content on a webpage.&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="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Hello!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- This makes a big **heading** --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;A **paragraph** goes here.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. What’s the difference between HTML and HTML5?&lt;/strong&gt;&lt;br&gt;
HTML is the general name for HyperText Markup Language, and HTML5 is the latest launched version in 2014. HTML5 added awesome features like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Aspect             HTML                    HTML5    
Doctype          Long &amp;amp; complex          Simple: &amp;lt;!DOCTYPE html&amp;gt;
Multimedia   Needs plugins (Flash)   &amp;lt;audio&amp;gt;, &amp;lt;video&amp;gt;
Graphics     No native support   &amp;lt;canvas&amp;gt;, &amp;lt;svg&amp;gt;
Forms            Basic inputs            New inputs: email, date, etc.

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;4. What’s the basic structure of an HTML document?&lt;/strong&gt;&lt;br&gt;
Every HTML document needs a specific setup so browsers know how to read it. It’s like the blueprint for your web page. Here’s what goes in it:&lt;/p&gt;

&lt;p&gt;&amp;lt;!DOCTYPE html&amp;gt;: Tells the browser this is an HTML5 page.&lt;br&gt;
: The main container for everything else.&lt;br&gt;
: Holds behind-the-scenes info like the page title or links to CSS and JavaScript.&lt;br&gt;
: Where all the visible stuff goes, like text, images, or links.&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;title&amp;gt;&lt;/span&gt;My Cool **Website**&lt;span class="nt"&gt;&amp;lt;/title&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;h1&amp;gt;&lt;/span&gt;Hey There!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Welcome to my **page**.&lt;span class="nt"&gt;&amp;lt;/p&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;&lt;strong&gt;5. What are attributes in HTML?&lt;/strong&gt;&lt;br&gt;
Attributes are extra details you add to an opening tag to give it more powers. They look like name="value". For example, they can tell a link where to go or an image what picture to show. Common ones are href for links, src for images, and id to give something a unique name.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gs"&gt;**Attribute         Purpose                     Example**&lt;/span&gt;
  id           Gives a unique ID              &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"intro"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 class         Assigns a class                    &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 href          Specifies a link                   &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;"page.html"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 src           Specifies a file/source            &lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"photo.jpg"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 alt           Alternative text for image     &lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"Photo"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 style         Adds CSS styling                   &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"color:red"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 title         Shows tooltip information      &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;title=&lt;/span&gt;&lt;span class="s"&gt;"Hello"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
 disabled       Disables an element           &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;disabled&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

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

&lt;/div&gt;



</description>
      <category>beginners</category>
      <category>html</category>
      <category>interview</category>
      <category>webdev</category>
    </item>
    <item>
      <title>JAVASCRIPT VARIABLES INTERVIEW QUESTION</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Wed, 19 Aug 2026 06:49:49 +0000</pubDate>
      <link>https://dev.to/narmathachandra/html-interview-question-3l8m</link>
      <guid>https://dev.to/narmathachandra/html-interview-question-3l8m</guid>
      <description>&lt;p&gt;&lt;strong&gt;WHAT IS VARIABLES IN JAVASCRIPT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Variables in JavaScript are used to store data values. They can be declared in different ways depending on how the value should behave.&lt;/p&gt;

&lt;p&gt;Variables can be declared using var, let, or const.&lt;br&gt;
JavaScript is dynamically typed, so types are decided at runtime.&lt;br&gt;
You don’t need to specify a data type when creating a variable.&lt;/p&gt;
&lt;h2&gt;
  
  
  TYPES OF VARIABLES
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. var keyword&lt;/strong&gt;&lt;br&gt;
var is a keyword in JavaScript used to declare variables and it is Function-scoped and hoisted, allowing redeclaration but can lead to unexpected bugs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hello Geeks&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. let keyword&lt;/strong&gt;&lt;br&gt;
let is a keyword in JavaScript used to declare variables and it is Block-scoped and not hoisted to the top, suitable for mutable variables&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;gfg&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. const keyword&lt;/strong&gt;&lt;br&gt;
const is a keyword in JavaScript used to declare variables and it is Block-scoped, immutable bindings that can't be reassigned, though objects can still be mutated.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;gfg&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Rules for Naming Variables
&lt;/h2&gt;

&lt;p&gt;1.Variable names must begin with a letter, underscore (_), or dollar sign ($).&lt;br&gt;
2.Subsequent characters can be letters, numbers, underscores, or dollar signs.&lt;br&gt;
3.Variable names are case-sensitive (e.g., age and Age are different variables).&lt;br&gt;
4.Reserved keywords (like function, class, return, etc.) cannot be used as variable names.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>interview</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Bootstrap</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Mon, 03 Aug 2026 05:42:24 +0000</pubDate>
      <link>https://dev.to/narmathachandra/bootstrap-2fbg</link>
      <guid>https://dev.to/narmathachandra/bootstrap-2fbg</guid>
      <description>&lt;p&gt;*&lt;em&gt;What is Bootstrap?&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Bootstrap is a free, open-source CSS framework that helps developers build responsive and attractive websites quickly. It also includes JavaScript components for common UI elements.&lt;/p&gt;

&lt;p&gt;Instead of writing all your CSS from scratch, Bootstrap provides ready-made styles and components.&lt;/p&gt;

&lt;p&gt;For example, instead of creating a button style yourself, you can write:&lt;/p&gt;

&lt;p&gt;Click Me&lt;/p&gt;

&lt;p&gt;Bootstrap automatically makes it look like a modern button.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;How does Bootstrap help?&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Bootstrap saves time and makes web development easier in several ways:&lt;/p&gt;

&lt;p&gt;Responsive design: Websites automatically adjust to phones, tablets, and desktops using Bootstrap's grid system.&lt;/p&gt;

&lt;p&gt;Pre-built components: Includes buttons, forms, navigation bars, cards, modals, alerts, tables, and more.&lt;/p&gt;

&lt;p&gt;Consistent design: Your pages have a clean and professional appearance without extensive custom CSS.&lt;/p&gt;

&lt;p&gt;Faster development: You can build interfaces much more quickly by using Bootstrap's classes.&lt;/p&gt;

&lt;p&gt;Cross-browser compatibility: Bootstrap is designed to work well across modern web browsers.&lt;br&gt;
Example&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Without Bootstrap:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Submit&lt;/p&gt;

&lt;p&gt;You would need to write CSS:&lt;/p&gt;

&lt;p&gt;button {&lt;br&gt;
    background: blue;&lt;br&gt;
    color: white;&lt;br&gt;
    padding: 10px 20px;&lt;br&gt;
    border: none;&lt;br&gt;
    border-radius: 5px;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With Bootstrap:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Submit&lt;/p&gt;

&lt;p&gt;No extra CSS is needed for the basic styling.&lt;/p&gt;

&lt;p&gt;Bootstrap Grid System&lt;/p&gt;

&lt;p&gt;Bootstrap uses a 12-column grid to create responsive layouts.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Example:&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Left
Right
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;On medium and larger screens, each column takes half the width. On smaller screens, they stack automatically.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Common Bootstrap Components&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Some of the most commonly used components are:&lt;/p&gt;

&lt;p&gt;Buttons&lt;br&gt;
Navigation bars (Navbar)&lt;br&gt;
Forms&lt;br&gt;
Cards&lt;br&gt;
Tables&lt;br&gt;
Alerts&lt;br&gt;
Badges&lt;br&gt;
Modals (pop-up dialogs)&lt;br&gt;
Carousels (image sliders)&lt;br&gt;
Dropdown menus&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>ui</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS POSITIONING</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Tue, 28 Jul 2026 08:10:19 +0000</pubDate>
      <link>https://dev.to/narmathachandra/css-positioning-2402</link>
      <guid>https://dev.to/narmathachandra/css-positioning-2402</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is CSS Position?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-CSS position is a property that tells the browser how and where to place an HTML element on a webpage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simple definition:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The position property controls the location of an element on the webpage.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Types of CSS Position&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
There are 5 types of CSS positioning:&lt;/p&gt;

&lt;p&gt;1.static&lt;br&gt;
2.relative&lt;br&gt;
3.absolute&lt;br&gt;
4.fixed&lt;br&gt;
5.sticky&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. position: relative&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The element starts in its normal position.&lt;/p&gt;

&lt;p&gt;Then you can move it using top, left, right, or bottom.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
.box {&lt;br&gt;
    position: relative;&lt;br&gt;
    left: 20px;&lt;br&gt;
}&lt;br&gt;
&lt;strong&gt;How it works&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before:&lt;/p&gt;

&lt;p&gt;[BOX]&lt;/p&gt;

&lt;p&gt;After:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; [BOX]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The box moves 20 pixels to the right, but its original space is still kept.&lt;/p&gt;

&lt;p&gt;Use&lt;br&gt;
Small adjustments&lt;br&gt;
Creating a parent for absolutely positioned elements&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. position: absolute&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The element is removed from the normal layout.&lt;/p&gt;

&lt;p&gt;It is placed relative to its nearest parent that has a position other than static.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
.parent {&lt;br&gt;
    position: relative;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;.box {&lt;br&gt;
    position: absolute;&lt;br&gt;
    top: 20px;&lt;br&gt;
    right: 20px;&lt;br&gt;
}&lt;br&gt;
&lt;strong&gt;HOW ITS WORKS&lt;/strong&gt;&lt;br&gt;
+------------------+&lt;br&gt;
|             BOX  |&lt;br&gt;
|                  |&lt;br&gt;
|                  |&lt;br&gt;
+------------------+&lt;/p&gt;

&lt;p&gt;The box is placed exactly where you tell it.&lt;/p&gt;

&lt;p&gt;Use&lt;br&gt;
Badges&lt;br&gt;
Popups&lt;br&gt;
Icons&lt;br&gt;
Labels on images&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.position: sticky&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The element behaves like relative at first.&lt;/p&gt;

&lt;p&gt;When you scroll to it, it sticks to the top (or another specified position).&lt;/p&gt;

&lt;p&gt;header {&lt;br&gt;
    position: sticky;&lt;br&gt;
    top: 0;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before scrolling:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Header&lt;/p&gt;

&lt;p&gt;Content&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;After scrolling:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Header  ← stays at the top&lt;/p&gt;

&lt;p&gt;Content keeps moving&lt;br&gt;
Use when:&lt;br&gt;
Navigation bars&lt;br&gt;
Table headers&lt;br&gt;
Side menus&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Easy Way to Remember&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;relative - Move a little from the normal position.&lt;br&gt;
absolute - Place the element exactly where you want inside its parent.&lt;br&gt;
sticky   - Move normally, then stick to the top when scrolling.&lt;/p&gt;

&lt;p&gt;**Real-Life Example&lt;/p&gt;

&lt;p&gt;**Imagine a classroom:&lt;br&gt;
Relative → One student slides their chair a little but keeps their place.&lt;br&gt;
Absolute → A teacher hangs a poster at a specific spot on the wall.&lt;br&gt;
Sticky → A notice board scrolls with the page until it reaches the top, then it stays visible&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>TOSS CONFERENCE DAY-2 LEARN</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Sun, 26 Jul 2026 18:10:28 +0000</pubDate>
      <link>https://dev.to/narmathachandra/toss-conference-day-2-learn-3di0</link>
      <guid>https://dev.to/narmathachandra/toss-conference-day-2-learn-3di0</guid>
      <description>&lt;p&gt;WHAT IS OPENTELEMETRY?&lt;br&gt;
OpenTelemetry (OTel) is an open-source observability framework that helps you collect, process, and export telemetry data from your applications and infrastructure. It is a project of the Cloud Native Computing Foundation.&lt;/p&gt;

&lt;p&gt;SIGNAL OF OPENTELEMETRY&lt;/p&gt;

&lt;p&gt;1.Traces&lt;/p&gt;

&lt;p&gt;Show the path of a request through multiple services.&lt;br&gt;
Help you identify where latency or failures occur.&lt;/p&gt;

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

&lt;p&gt;User Request&lt;br&gt;
    │&lt;br&gt;
    ▼&lt;br&gt;
API Gateway&lt;br&gt;
    │&lt;br&gt;
    ▼&lt;br&gt;
Auth Service&lt;br&gt;
    │&lt;br&gt;
    ▼&lt;br&gt;
Payment Service&lt;br&gt;
    │&lt;br&gt;
    ▼&lt;br&gt;
Database&lt;/p&gt;

&lt;p&gt;Each step is a span, and together they form a trace.&lt;/p&gt;

&lt;p&gt;2.Metrics&lt;/p&gt;

&lt;p&gt;Numeric measurements over time.&lt;br&gt;
Examples:&lt;br&gt;
CPU usage&lt;br&gt;
Memory usage&lt;br&gt;
Request rate&lt;br&gt;
Error count&lt;br&gt;
Response time&lt;/p&gt;

&lt;p&gt;3.Logs&lt;/p&gt;

&lt;p&gt;Timestamped records of events.&lt;/p&gt;

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

&lt;p&gt;2026-07-25 10:15:23 ERROR Payment failed: Timeout&lt;/p&gt;

&lt;p&gt;KEY PRPPERITIES OF OPENTELEMETRY:&lt;/p&gt;

&lt;p&gt;1.Vendor-Neutral&lt;br&gt;
Works with many observability platforms (such as Prometheus, Grafana, Jaeger, Datadog, and Splunk).&lt;br&gt;
Avoids vendor lock-in.&lt;/p&gt;

&lt;p&gt;2.Open Source&lt;br&gt;
Developed under the Cloud Native Computing Foundation.&lt;br&gt;
Free to use and supported by a large community.&lt;/p&gt;

&lt;p&gt;3.Unified Observability&lt;br&gt;
Collects all three types of telemetry:&lt;br&gt;
.Traces&lt;br&gt;
.Metrics&lt;br&gt;
.Logs&lt;/p&gt;

&lt;p&gt;4.Automatic and Manual Instrumentation&lt;br&gt;
Supports automatic instrumentation with little or no code changes.&lt;br&gt;
Allows manual instrumentation for custom business logic.&lt;/p&gt;

&lt;p&gt;5.Multi-Language Support&lt;br&gt;
Supports many programming languages, including:&lt;br&gt;
Java&lt;br&gt;
Python&lt;br&gt;
Go&lt;br&gt;
.NET&lt;br&gt;
Node.js&lt;br&gt;
C++&lt;br&gt;
PHP&lt;br&gt;
Ruby&lt;br&gt;
Rust&lt;/p&gt;

&lt;p&gt;6.Context Propagation&lt;br&gt;
Preserves request context across multiple services.&lt;br&gt;
Makes it possible to trace a request end-to-end in distributed systems.&lt;/p&gt;

&lt;p&gt;7.Extensible and Modular&lt;br&gt;
Components can be customized or extended.&lt;br&gt;
Supports custom exporters, processors, and receivers.&lt;/p&gt;

&lt;p&gt;8.OpenTelemetry Collector&lt;br&gt;
A standalone service that:&lt;br&gt;
Receives telemetry&lt;br&gt;
Processes and filters data&lt;br&gt;
Batches data&lt;br&gt;
Exports it to one or more monitoring backends&lt;/p&gt;

&lt;p&gt;9.Standardized APIs and SDKs&lt;br&gt;
Provides consistent APIs and SDKs across supported languages.&lt;br&gt;
Simplifies instrumentation and improves portability.&lt;/p&gt;

&lt;p&gt;10.High Scalability&lt;br&gt;
Suitable for cloud-native applications, microservices, containers, and large distributed systems.&lt;br&gt;
Handles telemetry from many services efficiently&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>devops</category>
      <category>monitoring</category>
      <category>opensource</category>
    </item>
    <item>
      <title>HTML FORMS</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Thu, 16 Jul 2026 14:33:38 +0000</pubDate>
      <link>https://dev.to/narmathachandra/html-forms-413f</link>
      <guid>https://dev.to/narmathachandra/html-forms-413f</guid>
      <description>&lt;p&gt;WHAT IS HTML FORM?&lt;/p&gt;

&lt;p&gt;An HTML form is used to collect information from users and send the data to a server for processing. It is created using the &lt;/p&gt; tag and contains different form elements like text fields, checkboxes, radio buttons, and buttons

&lt;p&gt;USAGE OF THE HTML FORMS&lt;/p&gt;

&lt;p&gt;1.User Registration&lt;br&gt;
     Collects user information such as name, email, and password.&lt;br&gt;
2.Login Pages&lt;br&gt;
     Used to enter usernames and passwords for authentication.&lt;br&gt;
3.Contact Forms&lt;br&gt;
     Allows users to send messages, queries, or feedback.&lt;br&gt;
4.Search Forms&lt;br&gt;
     Used to search information on websites.&lt;br&gt;
5.Online Shopping&lt;br&gt;
     Collects customer details, addresses, and order information.&lt;br&gt;
6.Surveys and Feedback&lt;br&gt;
     Helps collect opinions and responses from users.&lt;/p&gt;

&lt;p&gt;Common HTML Form Elements&lt;/p&gt;

&lt;p&gt;Text Field ()&lt;/p&gt;

&lt;p&gt;Used to enter single-line text such as name, username, or address.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Password Field ()&lt;/p&gt;

&lt;p&gt;Used to enter passwords. The entered characters are hidden.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Radio Button ()&lt;/p&gt;

&lt;p&gt;Allows the user to select only one option from a group.&lt;br&gt;
Example:&lt;br&gt;
 Male&lt;/p&gt;

&lt;p&gt;Checkbox ()&lt;/p&gt;

&lt;p&gt;Allows the user to select multiple options.&lt;br&gt;
Example:&lt;br&gt;
 Music&lt;/p&gt;

&lt;p&gt;Dropdown List ()

Provides a list of options from which the user can select one.
Example:
&lt;br&gt;
  India&lt;br&gt;
  USA&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Textarea ()&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;Used to enter multiple lines of text, such as comments or messages.&amp;lt;br&amp;gt;
Example:&amp;lt;br&amp;gt;
&amp;lt;textarea&amp;gt;&lt;/p&gt;

&lt;p&gt;Submit Button ()&lt;/p&gt;

&lt;p&gt;Used to submit form data to the server.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;File Upload ()&lt;/p&gt;

&lt;p&gt;Allows users to upload files like images or documents.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HTML ATTRIBUTES</title>
      <dc:creator>Narmatha</dc:creator>
      <pubDate>Thu, 16 Jul 2026 14:23:46 +0000</pubDate>
      <link>https://dev.to/narmathachandra/html-attributes-214e</link>
      <guid>https://dev.to/narmathachandra/html-attributes-214e</guid>
      <description>&lt;p&gt;&lt;strong&gt;WHAT IS HTML ATTRIBUTES&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML attributes are special properties that provide additional information about an HTML element or modify its behavior and appearance. They are written inside the opening tag of an HTML element and usually have the format attribute="value".&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;href Attribute *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The href (Hypertext Reference) attribute is used to specify the destination URL of a hyperlink. It is mainly used with the &lt;a&gt; (anchor) tag to link one web page to another, or to files, email addresses, or sections within the same page.&lt;/a&gt;&lt;/p&gt;
&lt;a&gt;

&lt;/a&gt;&lt;p&gt;&lt;a&gt;Syntax&lt;br&gt;
&lt;/a&gt;&lt;a href="URL"&gt;Link Text&lt;/a&gt;&lt;br&gt;
Example&lt;br&gt;
&lt;a href="https://www.google.com" rel="noopener noreferrer"&gt;Visit Google&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common HTML Attributes&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;id **– Gives an HTML element a unique name or identifier. It is used to target a specific element with CSS or JavaScript.&lt;br&gt;
**Example:&lt;/strong&gt;&lt;/p&gt;

&lt;p id="intro"&gt;Welcome&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;class *&lt;/em&gt;– Groups multiple HTML elements together so they can be styled or controlled using CSS or JavaScript.&lt;br&gt;
*&lt;em&gt;Example:&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Hello&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;style **– Applies CSS styles directly to an HTML element (inline CSS).&lt;br&gt;
**Example:&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;Heading&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;title&lt;/strong&gt; – Provides extra information about an element and displays it as a tooltip when the mouse is placed over it.&lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;p title="This is a paragraph"&gt;Hello&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;href *&lt;/em&gt;– Specifies the URL or destination of a link. It is mainly used with the &lt;a&gt; tag.&lt;br&gt;
*&lt;em&gt;Example:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
&lt;/a&gt;&lt;a href="https://example.com" rel="noopener noreferrer"&gt;Visit&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;src *&lt;/em&gt;– Specifies the source location of an image, video, or other media files. It is mainly used with tags like &lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt;, , and .&lt;br&gt;
*&lt;em&gt;Example:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/image.jpg" 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/image.jpg" alt="Picture" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

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