<?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: Swetha</title>
    <description>The latest articles on DEV Community by Swetha (@swetha67).</description>
    <link>https://dev.to/swetha67</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%2F3217827%2F1fbb17ba-50b0-49d0-b1ad-ec4a90f4bb23.png</url>
      <title>DEV Community: Swetha</title>
      <link>https://dev.to/swetha67</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swetha67"/>
    <language>en</language>
    <item>
      <title>Function Declaration &amp; Function Expression</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Wed, 18 Jun 2025 16:10:40 +0000</pubDate>
      <link>https://dev.to/swetha67/function-declaration-function-expression-4m1d</link>
      <guid>https://dev.to/swetha67/function-declaration-function-expression-4m1d</guid>
      <description>&lt;p&gt;&lt;strong&gt;Function Declaration&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A function declaration also known as a function statement declares a function with a function keyword. The function declaration must have a function name.&lt;/li&gt;
&lt;li&gt;Function declaration does not require a variable assignment as they are standalone constructs and they cannot be nested inside a functional block.&lt;/li&gt;
&lt;li&gt;These are executed before any other code.&lt;/li&gt;
&lt;li&gt;The function in the function declaration can be accessed before and after the function definition.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;function functionName()&lt;br&gt;
{&lt;br&gt;
// set of statements&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function Expression&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A function Expression is similar to a function declaration without the function name.&lt;/li&gt;
&lt;li&gt;Function expressions can be stored in a variable assignment.&lt;/li&gt;
&lt;li&gt;Function expressions load and execute only when the program interpreter reaches the line of code.&lt;/li&gt;
&lt;li&gt;The function in the function expression can be accessed only after the function definition.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;let variableName = function (param1,param2)&lt;br&gt;
{&lt;br&gt;
// set of statements&lt;br&gt;
}&lt;br&gt;
console.log(variableName(args1,args2));&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2pq034oprktmpbitigk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2pq034oprktmpbitigk.png" alt="Image description" width="566" height="942"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reference Link&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/javascript/difference-between-function-declaration-and-function-expression-in-javascript/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/javascript/difference-between-function-declaration-and-function-expression-in-javascript/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>payilagam</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Hoisting</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Wed, 18 Jun 2025 15:50:47 +0000</pubDate>
      <link>https://dev.to/swetha67/hoisting-4bg5</link>
      <guid>https://dev.to/swetha67/hoisting-4bg5</guid>
      <description>&lt;p&gt;Hoisting refers to the behaviour where JavaScript moves the declarations of variables, functions, and classes to the top of their scope during the compilation phase. This can sometimes lead to surprising results, especially when using var, let, const, or function expressions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hoisting applies to variable and function declarations.&lt;/li&gt;
&lt;li&gt;Initializations are not hoisted, they are only declarations.&lt;/li&gt;
&lt;li&gt;'var' variables are hoisted with undefined, while 'let' and 'const' are hoisted but remain in the &lt;strong&gt;Temporal Dead Zone&lt;/strong&gt; until initialized.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Temporal Dead Zone (TDZ) :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It refers to the period between the entering of a scope (such as a function or block) and the actual initialization of a variable declared with let or const. During this time, any reference to the variable before its initialization will throw a ReferenceError.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Variables declared with let and const are hoisted to the top of their scope, but they are not initialized until their declaration line is reached.&lt;/li&gt;
&lt;li&gt;Any attempt to access these variables before their declaration will result in an error.&lt;/li&gt;
&lt;li&gt;The TDZ exists only for variables declared using let and const. Variables declared with var do not have this issue, as they are hoisted and initialized to undefined.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;var (Function / Global)&lt;br&gt;
      var avoids TDZ because it is initialized as undefined during hoisting.&lt;br&gt;
let &amp;amp; const (Block)&lt;br&gt;&lt;br&gt;
     let and const are not initialized until their declaration line, so TDZ applies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Variable Hoisting with var&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you use var to declare a variable, the declaration is hoisted to the top, but its value is not assigned until the code execution reaches the variable’s initialization. This results in the variable being assigned undefined during the hoisting phase.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;console.log(a); // undefined&lt;br&gt;
var a = 5;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Variable Hoisting with let and const&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Unlike var, let and const are also hoisted, but they remain in a Temporal Dead Zone (TDZ) from the start of the block until their declaration is encountered. Accessing them before their declaration will throw a ReferenceError.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;console.log(b); // ReferenceError: Cannot access 'b' before initialization&lt;br&gt;
let b = 10;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function Declaration Hoisting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Function declarations are hoisted with both their name and the function body. This means the function can be called before its definition in the code.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;greet(); // "Hello, world!"&lt;br&gt;
function greet() {&lt;br&gt;
    console.log("Hello, world!");&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function Expression Hoisting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Function expressions are treated like variable declarations. The variable itself is hoisted, but the function expression is not assigned until the line of execution. This means calling the function before its assignment will result in an error.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;hello(); // TypeError: hello is not a function&lt;br&gt;
var hello = function() {&lt;br&gt;
    console.log("Hi!");&lt;br&gt;
};&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Reference Link&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/javascript/javascript-hoisting/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/javascript/javascript-hoisting/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>payilagam</category>
      <category>javascript</category>
    </item>
    <item>
      <title>React Event</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Wed, 18 Jun 2025 14:57:30 +0000</pubDate>
      <link>https://dev.to/swetha67/react-event-2gab</link>
      <guid>https://dev.to/swetha67/react-event-2gab</guid>
      <description>&lt;p&gt;In React, events are actions that occur within an application, such as clicking a button, typing in a text field, or moving the mouse. React provides an efficient way to handle these actions using its event system. &lt;/p&gt;

&lt;p&gt;React event handling is similar to HTML event handling, but with some key differences. In React, event names are camelCase, and you pass a function as the event handler rather than a string.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;onChange&lt;/strong&gt;&lt;br&gt;
React onChange is an event handler that triggers when there is any change in the input field.&lt;/p&gt;

&lt;p&gt;This event captures the changes in an Input Field and executes the handler function. It is fired when the input field is modified and loses focus. It is one of the form events that updates when the input field is modified.&lt;/p&gt;



&lt;p&gt;handleChange: It is a function call that includes the code to be executed when an event triggers&lt;br&gt;
event: It is an event object containing information about the event like target element and values&lt;/p&gt;

&lt;p&gt;Reference Link&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/react-js-events/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/react-js-events/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/react-onchange-event/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/react-onchange-event/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>payilagam</category>
      <category>react</category>
    </item>
    <item>
      <title>Hooks</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Wed, 18 Jun 2025 14:57:11 +0000</pubDate>
      <link>https://dev.to/swetha67/hooks-4jia</link>
      <guid>https://dev.to/swetha67/hooks-4jia</guid>
      <description>&lt;p&gt;React Hooks are functions that allow functional components in React to manage state, handle side effects, and access other React features without needing class components. They provide a simpler and more efficient way to manage component logic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simplifies Code:&lt;/strong&gt; Hooks provide a simpler and cleaner way to write components by using functions instead of classes.&lt;br&gt;
&lt;strong&gt;State and Side Effects:&lt;/strong&gt; Hooks allow you to use state (useState) and side effects (useEffect) in functional components.&lt;br&gt;
&lt;strong&gt;Reusability:&lt;/strong&gt; Hooks make it easier to share logic across components by creating custom hooks.&lt;br&gt;
&lt;strong&gt;Readability:&lt;/strong&gt; Functional components with hooks tend to be more concise and easier to read than class components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;useState&lt;/strong&gt;&lt;br&gt;
The useState hook is used to declare state variables in functional components. It allows us to read and update the state within the component. It returns a state variable and a function to update that state.&lt;/p&gt;

&lt;p&gt;const [state, setState] = useState(initialState);&lt;/p&gt;

&lt;p&gt;state: It is the value of the current state.&lt;br&gt;
setState: It is the function that is used to update the state.&lt;br&gt;
initialState: It is the initial value of the state.&lt;/p&gt;

&lt;p&gt;Reference Links:&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs-hooks/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs-hooks/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/reactjs-usestate-hook/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/reactjs-usestate-hook/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>payilagam</category>
    </item>
    <item>
      <title>.js vs .jsx</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Fri, 13 Jun 2025 17:29:50 +0000</pubDate>
      <link>https://dev.to/swetha67/js-vs-jsx-5dj2</link>
      <guid>https://dev.to/swetha67/js-vs-jsx-5dj2</guid>
      <description>&lt;p&gt;The .js file is a file that contains standard JavaScript code. These files do not contain the UI related code and are used for writing the logics and the functions.&lt;/p&gt;

&lt;p&gt;Used for regular JavaScript code and logic.&lt;br&gt;
Does not include JSX (HTML-like syntax).&lt;br&gt;
Can be used for utility functions, state management, or simple React components.&lt;br&gt;
No extra tools needed to run.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;.jsx&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JSX (JavaScript XML) is an extension of JavaScript that lets developers write HTML-like code inside JavaScript. Files with the .jsx extension usually contain components written in JSX, which React then converts into JavaScript function calls.&lt;/p&gt;

&lt;p&gt;Used for React components with JSX (HTML-like syntax)&lt;br&gt;
Includes JSX to define the UI structure.&lt;br&gt;
Mainly for creating and rendering the user interface.&lt;br&gt;
Requires tools like &lt;strong&gt;Babel&lt;/strong&gt; to convert JSX into JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12einyyu8n0sfwb4iqhn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12einyyu8n0sfwb4iqhn.png" alt="Image description" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Babel&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Babel works through a series of transformations that take your modern JavaScript (including JSX) and convert it into backwards-compatible JavaScript. &lt;br&gt;
Babel is often referred to as a transpiler (A transpiler (short for source-to-source compiler) is a tool that converts code from one version of a language to another, often for compatibility reasons.) rather than a compiler because its primary function is to translate one version of JavaScript into another version of JavaScript.&lt;/p&gt;

&lt;p&gt;Transpiling usually refers to the process of translating source code from one version of a language to another version of the same language (e.g., from ES6 to ES5, or JSX to JavaScript).&lt;/p&gt;

&lt;p&gt;Reference Link&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/reactjs/what-is-the-difference-between-a-js-and-jsx-file-in-react/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/what-is-the-difference-between-a-js-and-jsx-file-in-react/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/reactjs-babel-introduction/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/reactjs-babel-introduction/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>payilagam</category>
      <category>javascript</category>
      <category>jsx</category>
    </item>
    <item>
      <title>React</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Fri, 13 Jun 2025 14:39:16 +0000</pubDate>
      <link>https://dev.to/swetha67/react-mgn</link>
      <guid>https://dev.to/swetha67/react-mgn</guid>
      <description>&lt;p&gt;React is a JavaScript Library known for front-end development (or user interface). It is popular due to its component-based architecture, Single Page Applications (SPAs), and Virtual DOM for building web applications that are fast, efficient, and scalable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual DOM&lt;/strong&gt;&lt;br&gt;
The Virtual DOM (VDOM) is a lightweight, in-memory representation of the real DOM (Document Object Model). It helps React manage UI updates more efficiently by keeping a virtual version of the UI in memory. When changes occur, React updates only the necessary parts of the real DOM, instead of re-rendering everything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual DOM and Real DOM&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsvluhhyasi0bq7bdygqd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsvluhhyasi0bq7bdygqd.png" alt="Image description" width="800" height="596"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Framework&lt;/strong&gt;&lt;br&gt;
Framework, on the other hand has defined open or unimplemented functions or objects which the user writes to create a custom application. Because a framework is itself an application, it has a wider scope and includes almost everything necessary to make a user application as per his own needs.&lt;br&gt;
&lt;strong&gt;Library&lt;/strong&gt;&lt;br&gt;
A library is a collection of pre-written code, functions, or resources that developers can use to perform common tasks or add specific features to their applications without having to write the code from scratch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JSX&lt;/strong&gt;(JavaScript Xml)&lt;br&gt;
JSX combines HTML and JavaScript in a single syntax, allowing you to create UI components in React. It simplifies rendering dynamic content by embedding JavaScript expressions inside HTML-like tags.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;npm and npx&lt;/strong&gt;&lt;br&gt;
npm is a package manager for JavaScript that is used to install, update, and manage packages (libraries and tools) in a Node.js or React project.&lt;br&gt;
npx is a tool that allows you to run Node.js packages directly from the command line without installing them globally on your system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Component&lt;/strong&gt;&lt;br&gt;
React components are independent, reusable building blocks in a React application that define what gets displayed on the UI. They accept inputs called props and return React elements describing the UI.&lt;br&gt;
A component is a building block that encapsulates a piece of the user interface (UI). It defines the structure and behavior of the UI, either by managing its own state or by receiving data through props and rendering content accordingly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Functional Components&lt;/strong&gt;&lt;br&gt;
Functional components are a core part of building user interfaces. They are simple, lightweight, and powerful tools for rendering UI and handling logic. Functional components can accept props as input and return JSX that describes what the component should render.&lt;br&gt;
ReactJS functional components are JavaScript functions that return a JSX element, which is a template used to define the component's structure. JSX looks similar to HTML, but it has a special syntax that lets it be converted into JavaScript code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SPA&lt;/strong&gt;(Single Page Application)&lt;br&gt;
An SPA is a web application that loads a single HTML page and dynamically updates the content as the user interacts with it. This is typically achieved using JavaScript frameworks like React.&lt;br&gt;
When a user navigates within an SPA, the application does not request new HTML pages from the server. Instead, it uses JavaScript to update the view in the browser.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MPA&lt;/strong&gt;(Multi Page Application)&lt;br&gt;
An MPA is a traditional web application where each interaction or navigation request results in the browser loading a new page from the server. &lt;br&gt;
Each page is a separate HTML document, and when a user navigates, the browser requests a new page from the server.&lt;/p&gt;

&lt;p&gt;Reference Link:&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/react/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/react/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/reactjs-virtual-dom/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/reactjs-virtual-dom/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/software-engineering/software-framework-vs-library/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/software-engineering/software-framework-vs-library/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/reactjs-jsx-introduction/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/reactjs-jsx-introduction/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/reactjs-components/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/reactjs-components/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/reactjs/reactjs-functional-components/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/reactjs/reactjs-functional-components/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>payilagam</category>
      <category>react</category>
    </item>
    <item>
      <title>DOM</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Thu, 29 May 2025 17:46:28 +0000</pubDate>
      <link>https://dev.to/swetha67/dom-36ci</link>
      <guid>https://dev.to/swetha67/dom-36ci</guid>
      <description>&lt;p&gt;The JavaScript HTML DOM (Document Object Model) is a powerful tool that represents the structure of an HTML document as a tree of objects. It allows JavaScript to interact with the structure and content of a webpage. By manipulating the DOM, you can update the content, structure, and styling of a page without requiring a page reload.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is DOM Required?&lt;/strong&gt;&lt;br&gt;
    Dynamic Content Updates: Without reloading the page, the DOM allows content updates (e.g., form validation, AJAX responses).&lt;br&gt;
    User Interaction: It makes your webpage interactive (e.g., responding to button clicks, form submissions).&lt;br&gt;
    Flexibility: Developers can add, modify, or remove elements and styles in real-time.&lt;br&gt;
    Cross-Platform Compatibility: It provides a standard way for scripts to interact with web documents, ensuring browser compatibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Undefined :&lt;/strong&gt;&lt;br&gt;
    A variable that is declared but not initialized will have the value undefined.&lt;br&gt;
  let x; // variable declared but not initialized&lt;br&gt;
  console.log(x); // Output: undefined&lt;br&gt;
&lt;strong&gt;Null :&lt;/strong&gt;&lt;br&gt;
   Null is basically an assignment value given to a variable. The variable which has been assigned as null contains no value.&lt;br&gt;
  let noValue = null&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Function</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Wed, 28 May 2025 13:20:50 +0000</pubDate>
      <link>https://dev.to/swetha67/function-391a</link>
      <guid>https://dev.to/swetha67/function-391a</guid>
      <description>&lt;p&gt;A function is a self-contained block of code that performs a specific task and can be reused multiple times by calling it.&lt;br&gt;
Syntax :&lt;br&gt;
function functionName(parameters) {&lt;br&gt;
  // code to be executed&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Variables :&lt;/strong&gt;&lt;br&gt;
A variable stores data that can be used and manipulated in a program.&lt;br&gt;
Global Variable :&lt;br&gt;
A global variable is declared outside any function or block, and it is accessible anywhere in your code, including inside functions.&lt;br&gt;
Local Variable :&lt;br&gt;
A local variable is declared inside a function or block, and it is accessible only within that function or block.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Event :&lt;/strong&gt;&lt;br&gt;
An event is an action or occurrence that happens in the browser, which your JavaScript code can detect and respond to.&lt;/p&gt;

&lt;p&gt;Events allow your website to be interactive and dynamic. Without events, a web page is just static content.&lt;/p&gt;

&lt;p&gt;Event   = Action that happens in the browser (like clicking or typing)&lt;/p&gt;

&lt;p&gt;Used to = Make web pages interactive&lt;/p&gt;

</description>
    </item>
    <item>
      <title>JavaScript</title>
      <dc:creator>Swetha</dc:creator>
      <pubDate>Wed, 28 May 2025 12:25:30 +0000</pubDate>
      <link>https://dev.to/swetha67/javascript-122h</link>
      <guid>https://dev.to/swetha67/javascript-122h</guid>
      <description>&lt;p&gt;JavaScript is a high-level, interpreted programming language primarily used to create interactive and dynamic content on websites. It is one of the core technologies of the web, along with HTML (for structure) and CSS (for styling).&lt;/p&gt;

&lt;p&gt;Internal = script is inside HTML file.&lt;/p&gt;

&lt;p&gt;External = script is in separate .js file and linked.&lt;/p&gt;

&lt;p&gt;Inline = script is inside element attribute.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Primitive Data Types :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;String    =&amp;gt; Text data&lt;br&gt;
Number    =&amp;gt; Numeric values (integers, decimals)&lt;br&gt;
Boolean   =&amp;gt; True or false&lt;br&gt;
undefined =&amp;gt; A variable declared but not assigned&lt;br&gt;
null      =&amp;gt; Represents intentional "no value"&lt;br&gt;
BigInt    =&amp;gt; Large integers&lt;br&gt;
Symbol    =&amp;gt; Unique and immutable identifier&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reference (Non-Primitive) Data Types :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Object   =&amp;gt; Collection of key-value pairs&lt;br&gt;
Array    =&amp;gt; Ordered list of value&lt;br&gt;
Function =&amp;gt; Block of reusable code&lt;br&gt;
Date     =&amp;gt; Built-in object types&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Variable Declarations:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;var   =&amp;gt; Can be redeclared and reassigned&lt;br&gt;
let   =&amp;gt; Can be reassigned, but not redeclared in the same scope&lt;br&gt;
const =&amp;gt; Cannot be reassigned or redeclared&lt;/p&gt;

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