<?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: Mohamed Haarish</title>
    <description>The latest articles on DEV Community by Mohamed Haarish (@mohamed_haarish_).</description>
    <link>https://dev.to/mohamed_haarish_</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%2F4084383%2F98e95fbd-b8ae-4c43-8697-a462eabfa928.jpeg</url>
      <title>DEV Community: Mohamed Haarish</title>
      <link>https://dev.to/mohamed_haarish_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohamed_haarish_"/>
    <language>en</language>
    <item>
      <title>operators in javascrip.</title>
      <dc:creator>Mohamed Haarish</dc:creator>
      <pubDate>Thu, 27 Aug 2026 17:51:25 +0000</pubDate>
      <link>https://dev.to/mohamed_haarish_/operators-in-javascrip-2669</link>
      <guid>https://dev.to/mohamed_haarish_/operators-in-javascrip-2669</guid>
      <description>&lt;p&gt;Operators are special symbols used in JavaScript to perform calculations and compare values.&lt;/p&gt;

&lt;p&gt;In the example, a = 10 and b = 3.&lt;/p&gt;

&lt;p&gt;Arithmetic Operators&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Addition +&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(a + b); // 13 &lt;br&gt;
Adds two values.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Subtraction -&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(a - b); // 7&lt;br&gt;
Subtracts one value from another.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Multiplication *&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(a * b); // 30&lt;br&gt;
Multiplies two values.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Division /&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(a / b); // 3.333...&lt;br&gt;
Divides one value by another.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Modulus %&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(a % b); // 1&lt;br&gt;
Returns the remainder after division.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Exponentiation **&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(a ** b); // 1000&lt;/p&gt;

&lt;p&gt;Raises a to the power of b.&lt;/p&gt;

&lt;p&gt;Comparison Operators&lt;br&gt;
Comparison operators are used to compare two values.&lt;/p&gt;

&lt;p&gt;console.log("9" == 9);   // true&lt;br&gt;
console.log("9" === 9);  // false&lt;br&gt;
console.log("1" !== 1);  // true&lt;/p&gt;

&lt;p&gt;• == checks values and can convert the data type.&lt;br&gt;
• === checks both value and data type.&lt;br&gt;
• !== checks that the value or data type is different.&lt;/p&gt;

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

&lt;p&gt;JavaScript operators are important for calculations, comparisons, and decision-making in programs. Arithmetic operators perform mathematical operations, while comparison operators help us compare values.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>simple javascript calculator</title>
      <dc:creator>Mohamed Haarish</dc:creator>
      <pubDate>Wed, 26 Aug 2026 18:38:11 +0000</pubDate>
      <link>https://dev.to/mohamed_haarish_/simple-javascript-calculator-24kj</link>
      <guid>https://dev.to/mohamed_haarish_/simple-javascript-calculator-24kj</guid>
      <description>&lt;p&gt;this code is used to create a simple calculator using javascript.&lt;/p&gt;

&lt;p&gt;1.three important variables&lt;/p&gt;

&lt;p&gt;let previousvalues ="";&lt;br&gt;
 let operator = "";&lt;br&gt;
 let currentvalue ="";&lt;/p&gt;

&lt;p&gt;. Previous Value → first number&lt;br&gt;
. Operator → +, -, *, /&lt;br&gt;
. Current Value → second number  &lt;/p&gt;

&lt;p&gt;2.ENTERING NUMBER&lt;/p&gt;

&lt;p&gt;appendnumber() adds the number we press.&lt;/p&gt;

&lt;p&gt;for example;&lt;/p&gt;

&lt;p&gt;1 → 2 → 3&lt;/p&gt;

&lt;p&gt;plain text &lt;br&gt;
currentvalue =123&lt;/p&gt;

&lt;p&gt;3.selection an operator &lt;/p&gt;

&lt;p&gt;When we press +, -, *, or /, the calculator stores the operator.&lt;br&gt;
 example;&lt;/p&gt;

&lt;p&gt;plain text &lt;/p&gt;

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

&lt;p&gt;now;&lt;/p&gt;

&lt;p&gt;plain text&lt;/p&gt;

&lt;p&gt;This JavaScript code is used to create a simple calculator.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Three Variables&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;let previousValue = "";&lt;br&gt;
let operator = "";&lt;br&gt;
let currentValue = "";&lt;/p&gt;

&lt;p&gt;. Previous Value → first number&lt;br&gt;
. Operator → +, -, *, /&lt;br&gt;
. Current Value → second number&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Entering Numbers
appendNumber() adds the number we press.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;1 → 2 → 3&lt;br&gt;
currentValue = 123&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Selecting an Operator
When we press +, -, *, or /, the calculator stores the operator.
Example:
10 + 5&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now:&lt;br&gt;
the calculator uses three main values ;&lt;br&gt;
previousValue = 10&lt;br&gt;
operator = +&lt;br&gt;
currentValue = 5&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Calculating
The calculate() function performs the operation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;10 + 5 = 15&lt;br&gt;
10 - 5 = 5&lt;br&gt;
10 * 5 = 50&lt;br&gt;
10 / 5 = 2&lt;br&gt;
Number() converts the value into a number before calculating.&lt;/p&gt;

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

&lt;p&gt;Previous Value = First number&lt;br&gt;
Operator = What operation to do&lt;br&gt;
Current Value = Second number&lt;br&gt;
Calculate = Gives the answer&lt;/p&gt;

&lt;p&gt;So the calculator simply works like:&lt;/p&gt;

&lt;p&gt;First number → Operator → Second number → Answer&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>object of funtion in javascript</title>
      <dc:creator>Mohamed Haarish</dc:creator>
      <pubDate>Tue, 25 Aug 2026 18:10:39 +0000</pubDate>
      <link>https://dev.to/mohamed_haarish_/object-of-funtion-in-javascript-34gh</link>
      <guid>https://dev.to/mohamed_haarish_/object-of-funtion-in-javascript-34gh</guid>
      <description>&lt;p&gt;object:&lt;br&gt;
 an object is used to store data in key -value pairs.&lt;/p&gt;

&lt;p&gt;javascript &lt;/p&gt;

&lt;p&gt;let person={&lt;br&gt;
     name:"haarish",&lt;br&gt;
     age:21&lt;br&gt;
};&lt;br&gt;
console.log(person.name);&lt;/p&gt;

&lt;p&gt;output.&lt;br&gt;
 haarish&lt;/p&gt;

&lt;p&gt;funtion &lt;/p&gt;

&lt;p&gt;A funtion is a reusable block of code that perform a specific task.&lt;/p&gt;

&lt;p&gt;example?&lt;br&gt;
funtion great() {&lt;br&gt;
     console.log("Hello")&lt;br&gt;
}&lt;br&gt;
great();&lt;/p&gt;

&lt;p&gt;output.&lt;br&gt;
Hello&lt;/p&gt;

&lt;p&gt;in simple words:&lt;/p&gt;

&lt;p&gt;.object=store data &lt;br&gt;
.funtion=performs a task&lt;/p&gt;

</description>
    </item>
    <item>
      <title>primitive data type in javascript.</title>
      <dc:creator>Mohamed Haarish</dc:creator>
      <pubDate>Mon, 24 Aug 2026 12:20:07 +0000</pubDate>
      <link>https://dev.to/mohamed_haarish_/primitive-data-type-in-javascript-kk8</link>
      <guid>https://dev.to/mohamed_haarish_/primitive-data-type-in-javascript-kk8</guid>
      <description>&lt;p&gt;primitive data types are the basic types of  values in javascript has 7 primitive data types ;&lt;/p&gt;

&lt;p&gt;1.string -text&lt;br&gt;
*let name = "Haarish";&lt;/p&gt;

&lt;p&gt;2.number -r numbers(integer or decimal)&lt;br&gt;
*let age =25;&lt;/p&gt;

&lt;p&gt;3.boolean -true or false&lt;br&gt;
*let isstudebt =true;&lt;/p&gt;

&lt;p&gt;4.undefined  -A varible declard but no value assigned&lt;br&gt;
*let x;&lt;/p&gt;

&lt;p&gt;5.null -represent an intentionally empty value&lt;br&gt;
*let data =null&lt;/p&gt;

&lt;p&gt;6.biglnt -very larg integers&lt;br&gt;
*let big =12345678901234567890n;&lt;/p&gt;

&lt;p&gt;7.symbol -used to creat unique values&lt;br&gt;
*let id =symbol ("id"); &lt;/p&gt;

&lt;p&gt;&lt;code&gt;interview answer&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;" javascript has 7 primitive data types : string , numbrer ,boolean ,undefined ,null,biglnt,and symbol."&lt;/p&gt;

</description>
    </item>
    <item>
      <title>my first interview question html&amp;css :)</title>
      <dc:creator>Mohamed Haarish</dc:creator>
      <pubDate>Wed, 19 Aug 2026 07:26:32 +0000</pubDate>
      <link>https://dev.to/mohamed_haarish_/my-first-interview-question-htmlcss--4f8g</link>
      <guid>https://dev.to/mohamed_haarish_/my-first-interview-question-htmlcss--4f8g</guid>
      <description>&lt;p&gt;1.Tell me about yourself?&lt;br&gt;
Hi,im mohamed haarish .im from pudukkottai 'dc' ammapattinam .im stady in collage  jj collage arts and science pudukkottai 'dc' .im a motivated  and hardworking person with an interest in web development. i have basic knowledge of html and css , and im eager to learn new technologies and improve my skills. im looking for an opportunity where i can grow and contribute to the company.&lt;/p&gt;

&lt;p&gt;2.what is html?&lt;br&gt;
html(Hypertext markup language )is used to create the structure of web pages.&lt;/p&gt;

&lt;p&gt;3.what is css ?&lt;br&gt;
css(cascading style sheets ) is used to style and design html elements.&lt;/p&gt;

&lt;p&gt;4.what is flex?&lt;br&gt;
flex is css layout system.&lt;br&gt;
it is used to arrange and align elements in a row or column.&lt;br&gt;
it makes responsive layouts easier.&lt;/p&gt;

&lt;p&gt;5.what is div?&lt;br&gt;
&lt;/p&gt; is an html block- level container .&lt;br&gt;
it is used to group and organize html elements.&lt;br&gt;
it is commonly used for creating website layouts.

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