<?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: Dharshini E</title>
    <description>The latest articles on DEV Community by Dharshini E (@dharshinieswaran).</description>
    <link>https://dev.to/dharshinieswaran</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3333693%2Ff68a84b7-1bb5-4c1f-922d-2841d1efd7cb.jpg</url>
      <title>DEV Community: Dharshini E</title>
      <link>https://dev.to/dharshinieswaran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dharshinieswaran"/>
    <language>en</language>
    <item>
      <title>Java Architecture</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Thu, 16 Oct 2025 06:50:16 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/java-architecture-81l</link>
      <guid>https://dev.to/dharshinieswaran/java-architecture-81l</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Java Architecture?&lt;/strong&gt;&lt;br&gt;
Java architecture explains how a Java program runs — starting from source code to the final output.&lt;br&gt;
It mainly involves three components: JDK (Java Development Kit), JRE (Java Runtime Environment), and JVM (Java Virtual Machine).&lt;br&gt;
When we write Java code, the compiler converts it into bytecode, which is platform independent.&lt;br&gt;
This bytecode is then executed by the JVM, which converts it into machine code for the specific operating system.&lt;br&gt;
This is what makes Java platform-independent and portable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is JDK?&lt;/strong&gt;&lt;br&gt;
The Java Development Kit (JDK) is the complete software package used by developers to create, compile, and run Java programs. It includes all necessary tools such as the compiler (javac), debugger, and other utilities, along with the Java Runtime Environment (JRE).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is JRE?&lt;/strong&gt;&lt;br&gt;
The Java Runtime Environment (JRE) provides the environment required to run Java applications. It contains the Java Virtual Machine (JVM), core class libraries, and other files that support program execution. In other words, the JRE does not help in developing programs but only in running them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;what is JVM?&lt;/strong&gt;&lt;br&gt;
The Java Virtual Machine (JVM) is the core part of Java architecture responsible for executing Java bytecode. It converts platform-independent bytecode into machine-specific code so the program can run on any operating system. The JVM also manages memory allocation, garbage collection, and provides security and exception handling. Together, the JDK, JRE, and JVM form the foundation of Java’s “write once, run anywhere” capability, making Java a truly platform-independent programming language.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JDK → Platform dependent (used for development).&lt;/li&gt;
&lt;li&gt;JRE → Platform independent (used for running programs).&lt;/li&gt;
&lt;li&gt;JVM → Platform independent at the bytecode level (executes Java code across all systems).&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>java</category>
      <category>architecture</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Types of Error in Java</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Tue, 14 Oct 2025 07:25:22 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/types-of-error-in-java-2mbh</link>
      <guid>https://dev.to/dharshinieswaran/types-of-error-in-java-2mbh</guid>
      <description>&lt;p&gt;&lt;strong&gt;Types of Error in Java:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Syntax Errors (Compile-Time Errors)&lt;/li&gt;
&lt;li&gt;Runtime Errors (Exceptions and Errors)&lt;/li&gt;
&lt;li&gt;Logical Errors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1.Syntax Errors (Compile-Time Errors):&lt;/p&gt;

&lt;p&gt;Compile Time Errors are those errors which prevent the code from running because of an &lt;strong&gt;incorrect syntax&lt;/strong&gt; such as a** missing semicolon** at the end of a statement or a &lt;strong&gt;missing bracket&lt;/strong&gt;, &lt;strong&gt;class not found&lt;/strong&gt;, etc. These errors are detected by the &lt;strong&gt;java compiler&lt;/strong&gt; and an error message is displayed on the screen while compiling. Compile Time Errors are sometimes also referred to as &lt;strong&gt;Syntax errors&lt;/strong&gt; .&lt;/p&gt;

&lt;p&gt;2.Runtime Errors (Exceptions and Errors):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run Time errors occur or are detected during the &lt;strong&gt;execution&lt;/strong&gt; of the program. Sometimes these are discovered when the user enters an &lt;strong&gt;invalid data&lt;/strong&gt; or data which is &lt;strong&gt;not relevant&lt;/strong&gt; .&lt;/li&gt;
&lt;li&gt;During compilation, the compiler has no technique to detect these kinds of errors. It is the &lt;strong&gt;JVM&lt;/strong&gt; (Java Virtual Machine) that detects it while the &lt;strong&gt;program is running&lt;/strong&gt;. To handle the error during the run time we can put our error code inside the &lt;strong&gt;try block **and catch the error inside the **catch block&lt;/strong&gt; . &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;3.Logical Error:&lt;/p&gt;

&lt;p&gt;A logic error is when your program &lt;strong&gt;compiles&lt;/strong&gt; and &lt;strong&gt;executes&lt;/strong&gt; , but does the wrong thing or &lt;strong&gt;returns an incorrect result&lt;/strong&gt; or no output when it should be returning an output. These errors are detected neither by the &lt;strong&gt;compiler nor by JVM.&lt;/strong&gt; &lt;/p&gt;

</description>
      <category>programming</category>
      <category>java</category>
      <category>backend</category>
      <category>fullstack</category>
    </item>
    <item>
      <title>Java</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Mon, 13 Oct 2025 10:04:37 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/java-3i4m</link>
      <guid>https://dev.to/dharshinieswaran/java-3i4m</guid>
      <description>&lt;p&gt;1.What is Java ?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Java is a high-level, object-oriented, and platform-independent programming language. It’s widely used for developing web, mobile, and enterprise applications.&lt;/li&gt;
&lt;li&gt; because it’s reliable, secure, and runs on any platform without modification. It also has a strong community support and is used in many real-world applications, including Android development. Learning Java helps me build a strong foundation in object-oriented concepts and prepares me for many software roles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1.Why do you prefer Java over other languages?&lt;/p&gt;

&lt;p&gt;Java is more stable and has strong memory management and security features compared to many other languages. It’s also in high demand in the industry, and the syntax is clean and beginner-friendly.&lt;/p&gt;

&lt;p&gt;2.Where is Java used?&lt;/p&gt;

&lt;p&gt;Java is used in Android app development, enterprise systems, banking software, and backend web applications using frameworks like Spring and Hibernate.&lt;/p&gt;

&lt;p&gt;3.What is the main feature of Java?&lt;/p&gt;

&lt;p&gt;Its main feature is platform independence — we can write code once and run it anywhere using the Java Virtual Machine (JVM).&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>ai</category>
    </item>
    <item>
      <title>Arrays</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Fri, 10 Oct 2025 02:09:07 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/arrays-16n7</link>
      <guid>https://dev.to/dharshinieswaran/arrays-16n7</guid>
      <description>&lt;p&gt;What is Array ?&lt;br&gt;
Array is a fundamental data structure that is a collection of elements stored in a single variable.&lt;br&gt;
Each element in an array is assigned a unique index, typically starting from zero, which allows for direct and efficient access to any element using its index.&lt;br&gt;
Why should we go for Arrays?&lt;br&gt;
Without arrays, we would need separate variables for each value, which is messy and inefficient.&lt;br&gt;
they make it easier to store, organize, and process large amounts of data efficiently instead of handling multiple variables separately.&lt;br&gt;
what is Array in java?&lt;br&gt;
An array is a container &lt;strong&gt;object&lt;/strong&gt; that holds a &lt;strong&gt;fixed number&lt;/strong&gt; of values of a &lt;strong&gt;single type&lt;/strong&gt;. The length of an &lt;strong&gt;array is established&lt;/strong&gt; when the array is created. After creation, its &lt;strong&gt;length is fixed.&lt;/strong&gt;&lt;br&gt;
Syntax:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Declaration of an Array:
int[] arr;
int arr[];&lt;/li&gt;
&lt;li&gt;Memory Allocation (Creating an Array)
After declaration, we must allocate memory using new:
arr = new int[5]; // creates an array of size 5&lt;/li&gt;
&lt;li&gt;Declaration + Allocation in One Line:
int[] arr = new int[5];&lt;/li&gt;
&lt;li&gt;Declaration + Initialization:
If you already know the values, you can initialize directly:
int[] arr = {10, 20, 30, 40, 50};
Why System.out.println(numbers); doesn’t print all values?&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In Java, numbers is an array reference variable, not the actual values.&lt;/li&gt;
&lt;li&gt;When you just print numbers, Java prints the memory reference (address in heap) in a default format.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;That’s why you see something like:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[I@5ca881b5 //output&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;[ → means it’s an array&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I → means it’s an array of int&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;@5ca881b5 → hashcode (memory reference)&lt;br&gt;
Java is object-oriented at its core. An array is just another object, and printing an object without overriding toString() will never show the internal data automatically.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>java</category>
      <category>javascript</category>
      <category>programming</category>
      <category>backend</category>
    </item>
    <item>
      <title>React Qustion and Answaer</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Mon, 06 Oct 2025 04:19:56 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/react-21ec</link>
      <guid>https://dev.to/dharshinieswaran/react-21ec</guid>
      <description>&lt;p&gt;1)What is the difference between a functional component and a class component in React?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In React, both functional components and class components are used to build &lt;strong&gt;user interfaces&lt;/strong&gt;, but they differ in how they are written and how they handle &lt;strong&gt;state and lifecycle methods.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;A functional component is simply a &lt;strong&gt;JavaScript function&lt;/strong&gt; that returns &lt;strong&gt;JSX&lt;/strong&gt;, and with the introduction of &lt;strong&gt;hooks&lt;/strong&gt; like useState and useEffect, it can now handle state and side effects in a &lt;strong&gt;clean and concise way.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;A class component is created using &lt;strong&gt;ES6 classes **and **extends React&lt;/strong&gt;. Component, where &lt;strong&gt;state&lt;/strong&gt; is managed using &lt;strong&gt;this.state&lt;/strong&gt; and &lt;strong&gt;updated&lt;/strong&gt; with &lt;strong&gt;this.setState()&lt;/strong&gt;. Class components also rely on built-in lifecycle methods such as &lt;strong&gt;componentDidMount and componentWillUnmount.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Functional components are generally shorter, easier to read, and are the modern standard in React development, while class components are more verbose and are mostly found in older codebases.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2)How does JSX work internally? Why do we need it instead of plain JavaScript?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JavaScript XML, is a syntax extension used in React that allows developers to write HTML-like code inside JavaScript. Internally, JSX is not understood by browsers; instead, it gets compiled by tools like Babel into plain JavaScript function calls such as React.createElement().&lt;/li&gt;
&lt;li&gt;For example, writing &lt;h1&gt;Hello&lt;/h1&gt; in JSX is converted into React.createElement("h1", null, "Hello"), which produces a React element that the Virtual DOM can use to update the UI efficiently.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We use JSX because it makes the code more readable, declarative, and closer to HTML, which is familiar to most web developers. Without JSX, we would have to manually call React.createElement() for every element, which becomes harder to maintain in large applications. Thus, JSX acts as a developer-friendly layer that simplifies UI building while still compiling down to efficient JavaScript.&lt;br&gt;
3)Explain props vs state with an example.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In React, props and state are both used to manage data, but they serve different purposes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Props (short for properties) are used to pass data from a parent component to a child component. They are read-only, which means a child component cannot modify the props it receives—it can only display or use them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;State, on the other hand, is data that is managed within a component itself. Unlike props, state is mutable and can change over time, usually in response to user actions.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Counter(props) {
  const [count, setCount] = useState(props.initialValue);

  return (
    &amp;lt;div&amp;gt;
      &amp;lt;h1&amp;gt;Count: {count}&amp;lt;/h1&amp;gt;
      &amp;lt;button onClick={() =&amp;gt; setCount(count + 1)}&amp;gt;Increase&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, initialValue is passed as a prop from the parent, while count is managed as state inside the component.&lt;/p&gt;

&lt;p&gt;4)You have a counter that should increase by 2 each time a button is clicked. Why does the following not work? How would you fix it?&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const [count, setCount] = useState(0);

const handleClick = () =&amp;gt; {
  setCount(count =&amp;gt; count + 1);
  setCount(count =&amp;gt; + 1);
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;5)What is the difference between useRef and useState? When would you choose one over the other?&lt;br&gt;
useState is used when you want React to &lt;strong&gt;re-render&lt;/strong&gt; the &lt;strong&gt;UI&lt;/strong&gt; whenever the &lt;strong&gt;value changes.&lt;/strong&gt; useRef is used to &lt;strong&gt;store values&lt;/strong&gt; that persist between renders but don’t trigger &lt;strong&gt;re-renders&lt;/strong&gt;, and it’s also handy for directly &lt;strong&gt;accessing DOM elements&lt;/strong&gt;. I’d use useState for things like &lt;strong&gt;counters&lt;/strong&gt; shown on screen, and useRef for things like &lt;strong&gt;input focus, timers, or values&lt;/strong&gt; I don’t want to cause a &lt;strong&gt;re-render.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;6)How can you use useRef to focus an input field when a button is clicked?&lt;br&gt;
The &lt;strong&gt;useRef&lt;/strong&gt; hook allows you to get a reference to a &lt;strong&gt;DOM element **in functional components. You can then **call methods&lt;/strong&gt; on that element, like &lt;strong&gt;.focus().&lt;/strong&gt;&lt;br&gt;
You can use &lt;strong&gt;useRef&lt;/strong&gt; to get a reference to the &lt;strong&gt;input element&lt;/strong&gt;, and then call &lt;strong&gt;.focus()&lt;/strong&gt; on it inside a function that runs on &lt;strong&gt;button click&lt;/strong&gt;. This allows the input field to gain focus &lt;strong&gt;programmatically&lt;/strong&gt; without causing a &lt;strong&gt;re-render.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;7)Does changing the value of a useRef variable cause re-render? Why?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;useRef returns a mutable ref object with a .current property.&lt;/li&gt;
&lt;li&gt;React does not track changes to .current for rendering purposes.&lt;/li&gt;
&lt;li&gt;Updating ref.current does not tell React to re-render the component because refs are meant to store values that persist across renders without affecting the UI.
No, changing a useRef value does not cause re-render because React does not track the .current property for UI updates. It’s mainly used to store persistent values or references to DOM elements without affecting rendering.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;8)How would you use useRef to store the previous render’s value of a state?&lt;br&gt;
You can use useRef to store the previous value of a state by updating the ref inside a useEffect that runs after each render. The ref persists across renders without triggering a re-render, so it effectively lets you track the previous state value.&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>react</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>React - Hook</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Wed, 01 Oct 2025 09:25:07 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/react-hook-4fkk</link>
      <guid>https://dev.to/dharshinieswaran/react-hook-4fkk</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is Hook?&lt;/strong&gt;&lt;br&gt;
Hooks are &lt;strong&gt;special functions&lt;/strong&gt; in React that let you “hook into” React features like &lt;strong&gt;state and lifecycle&lt;/strong&gt; methods—without writing a class.&lt;br&gt;
Before React 16.8, if you wanted to manage state or handle lifecycle events, you had to use &lt;strong&gt;class components&lt;/strong&gt;. Hooks changed that by giving &lt;strong&gt;functional components&lt;/strong&gt; the same powers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Were Hooks Introduced?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hooks solve several problems that developers faced with class components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Complexity&lt;/strong&gt; – Class components often became messy when dealing with multiple states and lifecycle methods.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code Reuse&lt;/strong&gt; – Sharing stateful logic between components was hard. Developers had to rely on patterns like higher-order components (HOCs) or render props.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Readability&lt;/strong&gt; – Class components required this keyword, which confused many beginners.&lt;/li&gt;
&lt;li&gt;With hooks, React made state management and side effects easier and more intuitive.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Built-in Hooks:&lt;/strong&gt; &lt;br&gt;
React provides several &lt;strong&gt;built-in Hooks&lt;/strong&gt; for common use cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;useState()&lt;/li&gt;
&lt;li&gt;useEffort()&lt;/li&gt;
&lt;li&gt;useRef()&lt;/li&gt;
&lt;li&gt;useContext()&lt;/li&gt;
&lt;li&gt;useReducer()&lt;/li&gt;
&lt;li&gt;useMemo()&lt;/li&gt;
&lt;li&gt;useCallback()&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>react</category>
      <category>reactnative</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>React-json</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Wed, 01 Oct 2025 09:06:39 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/react-json-1h97</link>
      <guid>https://dev.to/dharshinieswaran/react-json-1h97</guid>
      <description>&lt;p&gt;what is json ?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON stands for &lt;strong&gt;JavaScript Object Notation&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;JSON is a plain text format for &lt;strong&gt;storing&lt;/strong&gt; and &lt;strong&gt;transporting data&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;JSON is similar to the syntax for creating JavaScript objects.&lt;/li&gt;
&lt;li&gt;JSON is used to &lt;strong&gt;send, receive and store data.&lt;/strong&gt;
Example:
{"name":"Dharshini", "age":21, "car":null}
why json ?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;JSON is used because it's a lightweight, human-readable, and language-independent data format ideal for exchanging structured data between servers and web/mobile applications, as well as for configuration files and storing data in NoSQL databases. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;syntax:&lt;/strong&gt;&lt;br&gt;
JSON syntax is derived from JavaScript object notation syntax:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data is in name/value pairs&lt;/li&gt;
&lt;li&gt;Data is separated by commas&lt;/li&gt;
&lt;li&gt;Curly braces hold objects&lt;/li&gt;
&lt;li&gt;Square brackets hold arrays&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>ai</category>
    </item>
    <item>
      <title>Tailwind - CSS style</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Fri, 19 Sep 2025 04:39:58 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/tailwind-css-style-17ib</link>
      <guid>https://dev.to/dharshinieswaran/tailwind-css-style-17ib</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Tailwind CSS?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tailwind CSS is a utility-first CSS framework that allows developers to style elements directly in their HTML using small, reusable classes. Instead of relying on pre-built UI components, Tailwind provides utility classes such as text-center, p-4, m-2, and bg-blue-500, which can be combined to build completely custom user interfaces. This approach speeds up development and reduces the need for switching between HTML and CSS files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Choose Tailwind Over Other Frameworks?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Flexibility and Customization&lt;/li&gt;
&lt;li&gt;Tailwind does not lock you into predefined styles. Developers can create unique and modern UIs without overriding default styles, unlike Bootstrap where many sites often look similar.&lt;/li&gt;
&lt;li&gt;Faster Development&lt;/li&gt;
&lt;li&gt;Utility classes make it easy to prototype and build responsive designs directly in HTML.&lt;/li&gt;
&lt;li&gt;Consistency&lt;/li&gt;
&lt;li&gt;Since spacing, typography, and colors are controlled through a centralized configuration, projects stay consistent.&lt;/li&gt;
&lt;li&gt;Optimized Performance&lt;/li&gt;
&lt;li&gt;Tailwind automatically removes unused CSS in production, resulting in smaller file sizes and faster load times.&lt;/li&gt;
&lt;li&gt;Responsive and Mobile-First&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Tailwind comes with built-in responsive utilities (sm:, md:, lg:) that make mobile-friendly development seamless.&lt;br&gt;
&lt;strong&gt;Popular CSS Frameworks&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Bootstrap → Most popular, comes with ready-made UI components.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Bulma → Flexbox-based, simple and modern.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Foundation → Responsive and accessible, developed by Zurb.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Materialize → Based on Google’s Material Design.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;UIKit → Lightweight, modular framework.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tailwindcss</category>
      <category>frontend</category>
      <category>productivity</category>
      <category>css</category>
    </item>
    <item>
      <title>React - Components and props</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Fri, 19 Sep 2025 04:27:48 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/react-components-and-props-2p5p</link>
      <guid>https://dev.to/dharshinieswaran/react-components-and-props-2p5p</guid>
      <description>&lt;p&gt;&lt;strong&gt;Components :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In react , components is a reusable and independent piece of UI .&lt;/li&gt;
&lt;li&gt;Think of its like a function or building block that return html with javascript logic.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Components make your code modular , reusable and easy to maintain.&lt;br&gt;
&lt;strong&gt;Types of components :&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;functional components &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;class components&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Welcome(props) {
  return &amp;lt;h1&amp;gt;Hello, {props.name}!&amp;lt;/h1&amp;gt;;
}


function App() {
  return (
    &amp;lt;div&amp;gt;
      &amp;lt;Welcome name="Dharshini" /&amp;gt;
      &amp;lt;Welcome name="Ramya" /&amp;gt;
      &amp;lt;Welcome name="Arun" /&amp;gt;
    &amp;lt;/div&amp;gt;
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;props stands for properties.&lt;/li&gt;
&lt;li&gt;they are like function parameters in javascript&lt;/li&gt;
&lt;li&gt;props are used to pass data from parent componts to child component.&lt;/li&gt;
&lt;li&gt;props are read-only .child can not modify them.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Child(props) {
  return &amp;lt;h2&amp;gt;My favorite color is {props.color}&amp;lt;/h2&amp;gt;;
}

function Parent() {
  return &amp;lt;Child color="Blue" /&amp;gt;;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>react</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>React - XML , JSX &amp; Babel</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Mon, 15 Sep 2025 01:41:41 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/react-xml-jsx-babel-46j8</link>
      <guid>https://dev.to/dharshinieswaran/react-xml-jsx-babel-46j8</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is XML?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;XML - extensionble Markup Laguage.&lt;/li&gt;
&lt;li&gt;its a Markup Laguage like HTML but it mainly used for &lt;strong&gt;store&lt;/strong&gt; and &lt;strong&gt;transport the data&lt;/strong&gt; but not it display.&lt;/li&gt;
&lt;li&gt;it ueses custom tags but you define insead of using fixed tags like &lt;code&gt;&amp;lt;p&amp;gt; ,&amp;lt;h1&amp;gt;&lt;/code&gt; in html .&lt;/li&gt;
&lt;li&gt;it is both human readable and mechine readable.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;student&amp;gt;
&amp;lt;name&amp;gt;dharshini&amp;lt;/name&amp;gt;
&amp;lt;age&amp;gt;21&amp;lt;/age&amp;gt;
&amp;lt;/student&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;what is JSX?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSX - Javascript XML.&lt;/li&gt;
&lt;li&gt;JSX is a &lt;strong&gt;syntax extension&lt;/strong&gt; for javascript used in react.&lt;/li&gt;
&lt;li&gt;it allow you to write HTML like code in react.&lt;/li&gt;
&lt;li&gt;JSX let us to write UI code but look like HTML which easy to read but &lt;strong&gt;browser doesnot understand&lt;/strong&gt; ,a tool called &lt;strong&gt;babel&lt;/strong&gt; it &lt;strong&gt;translate&lt;/strong&gt; into &lt;strong&gt;normal javascript&lt;/strong&gt; that browser can run.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Different b/w javascript and javascript XML:&lt;/strong&gt;&lt;br&gt;
Javascript is a main &lt;strong&gt;programming language&lt;/strong&gt; but jsx is &lt;strong&gt;syntax extension&lt;/strong&gt; let us write UI code like HTML in react . JSX was introduced because write UI code in plain javascript is &lt;strong&gt;diffuclt and messy&lt;/strong&gt; so jsx made it &lt;strong&gt;easier&lt;/strong&gt; ,more &lt;strong&gt;readable&lt;/strong&gt; and &lt;strong&gt;developer-friendly&lt;/strong&gt; .jsx get complied to plain javascript using &lt;strong&gt;babel.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;what is babel?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Babel is a javascript &lt;strong&gt;complier&lt;/strong&gt; or &lt;strong&gt;transpiler.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;it is used to &lt;strong&gt;convert mordern javascript&lt;/strong&gt; into &lt;strong&gt;plain javascript ** that all **browser&lt;/strong&gt; can  **understand.&lt;/li&gt;
&lt;li&gt;**&lt;/li&gt;
&lt;li&gt;Browser &lt;strong&gt;doesnot understand&lt;/strong&gt; the &lt;strong&gt;jsx&lt;/strong&gt; or some modern javascript features like let ,const,arrow function ext...&lt;/li&gt;
&lt;li&gt;Babel &lt;strong&gt;translate&lt;/strong&gt; that code into an &lt;strong&gt;older version&lt;/strong&gt; of javascript so it  &lt;strong&gt;works every where&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>react</category>
      <category>java</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>React Introduction</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Sat, 13 Sep 2025 03:42:11 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/react-introduction-5bge</link>
      <guid>https://dev.to/dharshinieswaran/react-introduction-5bge</guid>
      <description>&lt;p&gt;What is react ?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React is a javascript &lt;strong&gt;library&lt;/strong&gt; used to build the &lt;strong&gt;UI(user interfaces)&lt;/strong&gt; especially &lt;strong&gt;single-page applications&lt;/strong&gt;(SPAs)&lt;/li&gt;
&lt;li&gt;where content &lt;strong&gt;updates dynamically&lt;/strong&gt; without &lt;strong&gt;reloading the page.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;React focuses only on the ** view layer** (UI rending) and makes it easy to build &lt;strong&gt;reusable,component-based UIs.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;React follows a &lt;strong&gt;component-based architecture&lt;/strong&gt;, meaning the UI is divided into ** small, reusable pieces** called &lt;strong&gt;components&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It uses a &lt;strong&gt;Virtual DOM&lt;/strong&gt; (Document Object Model) for faster rendering and better performance.&lt;/li&gt;
&lt;li&gt;React is declarative, meaning you describe what you want the UI to look like, and React updates the** real DOM** for you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;em&gt;Why React? *&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reusable Components&lt;/li&gt;
&lt;li&gt;Write once, reuse anywhere → saves time and effort.&lt;/li&gt;
&lt;li&gt;Virtual DOM = Faster Performance&lt;/li&gt;
&lt;li&gt;React only updates the parts of the page that change, not the entire page.&lt;/li&gt;
&lt;li&gt;Component-Based Architecture&lt;/li&gt;
&lt;li&gt;Easier to develop, maintain, and scale large applications.&lt;/li&gt;
&lt;li&gt;Strong Community &amp;amp; Ecosystem&lt;/li&gt;
&lt;li&gt;Backed by Facebook and has a huge developer community, with many libraries/tools.&lt;/li&gt;
&lt;li&gt;Cross-Platform Development&lt;/li&gt;
&lt;li&gt;With React Native, you can build mobile apps using the same React concepts.&lt;/li&gt;
&lt;li&gt;SEO Friendly&lt;/li&gt;
&lt;li&gt;React supports server-side rendering, which helps in better search engine optimization.&lt;/li&gt;
&lt;li&gt;Easy to Learn for JavaScript Developers&lt;/li&gt;
&lt;li&gt;If you know JavaScript + ES6, you can quickly pick up React.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Difference between Library and frameworks:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Library:&lt;/strong&gt;&lt;br&gt;
library is a set of &lt;strong&gt;read-made function **that I can call when I **need them&lt;/strong&gt;, so I &lt;strong&gt;control the flow **.&lt;br&gt;
**frameworks:&lt;/strong&gt;&lt;br&gt;
A framework already has a &lt;strong&gt;structure&lt;/strong&gt; and controls the &lt;strong&gt;flow of the application&lt;/strong&gt; — I just &lt;strong&gt;follow&lt;/strong&gt; its rules.&lt;/p&gt;

</description>
      <category>react</category>
      <category>programming</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Javascript-fetch()</title>
      <dc:creator>Dharshini E</dc:creator>
      <pubDate>Sat, 13 Sep 2025 03:27:23 +0000</pubDate>
      <link>https://dev.to/dharshinieswaran/javascript-fetch-24g6</link>
      <guid>https://dev.to/dharshinieswaran/javascript-fetch-24g6</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is fetch()?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;fetch() is used to &lt;strong&gt;request data from a server&lt;/strong&gt; (GET, POST, etc.).&lt;/p&gt;

&lt;p&gt;It returns a &lt;strong&gt;Promise&lt;/strong&gt; that resolves to a &lt;strong&gt;Response object&lt;/strong&gt;.&lt;br&gt;
example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let response = fetch("https://jsonplaceholder.typicode.com/posts");
console.log(response); // Promise { &amp;lt;pending&amp;gt; }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Why Promise with fetch()?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because fetching data from a server &lt;strong&gt;takes time&lt;/strong&gt; (network delay).&lt;/p&gt;

&lt;p&gt;Promise allows JS to &lt;strong&gt;continue running&lt;/strong&gt; other code until the &lt;strong&gt;response arrives.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example with .then() handling:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fetch("https://jsonplaceholder.typicode.com/posts/1")
  .then(response =&amp;gt; response.json())  // Convert response to JSON
  .then(data =&amp;gt; console.log(data))    // Handle the data
  .catch(error =&amp;gt; console.log("Error:", error));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Common Use Cases&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fetching user data from APIs.&lt;/li&gt;
&lt;li&gt;Sending form data to a server.&lt;/li&gt;
&lt;li&gt;Handling errors (like 404 or network failure).&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
