<?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: Harish raj</title>
    <description>The latest articles on DEV Community by Harish raj (@harishraj01100boop).</description>
    <link>https://dev.to/harishraj01100boop</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%2F4110792%2F5e035965-4bd5-401a-8ff6-3e35efc56359.jpg</url>
      <title>DEV Community: Harish raj</title>
      <link>https://dev.to/harishraj01100boop</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harishraj01100boop"/>
    <language>en</language>
    <item>
      <title>shift operator, ternary operator / conditional operator in python</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 21:23:52 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/shift-operator-ternary-operator-conditional-operator-in-python-3mc</link>
      <guid>https://dev.to/harishraj01100boop/shift-operator-ternary-operator-conditional-operator-in-python-3mc</guid>
      <description>&lt;p&gt;print(4 &amp;gt;&amp;gt; 1)  → 2&lt;br&gt;
print(4 &amp;lt;&amp;lt; 1)  → 8&lt;br&gt;
print(4 &amp;lt;&amp;lt; 2)  → 16&lt;br&gt;
print(4 &amp;lt;&amp;lt; 3)  → 32&lt;/p&gt;

&lt;p&gt;Left Shift: &amp;lt;&amp;lt;&lt;br&gt;
Right Shift: &amp;gt;&amp;gt;.&lt;/p&gt;

&lt;p&gt;The ternary operator is a short way of writing an if-else condition in a single line.&lt;br&gt;
result = value_if_true if condition else value_if_false&lt;/p&gt;

&lt;p&gt;no1, no2 = 10, 20&lt;/p&gt;

&lt;p&gt;result = 100 if no1 &amp;gt; no2 else 200&lt;/p&gt;

&lt;p&gt;print(result)&lt;br&gt;
Because 10 &amp;gt; 20 is False, the value 200 is assigned to result.&lt;/p&gt;

&lt;p&gt;no1, no2, no3 = 10, 20, 30&lt;/p&gt;

&lt;p&gt;result = no3 if no3 &amp;gt; no2 and no3 &amp;gt; no1 else no2&lt;/p&gt;

&lt;p&gt;print(result)&lt;br&gt;
Output:30&lt;br&gt;
| Operator | Meaning | Example |&lt;br&gt;
| &lt;code&gt;is&lt;/code&gt; | Same object | &lt;code&gt;a is b&lt;/code&gt; |&lt;br&gt;
| &lt;code&gt;is not&lt;/code&gt; | Different objects | &lt;code&gt;a is not b&lt;/code&gt; |&lt;br&gt;
| &lt;code&gt;in&lt;/code&gt; | Value exists | &lt;code&gt;x in list&lt;/code&gt; |&lt;br&gt;
| &lt;code&gt;not in&lt;/code&gt; | Value doesn't exist | &lt;code&gt;x not in list&lt;/code&gt; |&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>coding</category>
      <category>programming</category>
      <category>python</category>
    </item>
    <item>
      <title>use ref() in react</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 20:52:59 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/use-ref-in-react-15kd</link>
      <guid>https://dev.to/harishraj01100boop/use-ref-in-react-15kd</guid>
      <description>&lt;p&gt;const next=()=&amp;gt;{&lt;br&gt;
set currentquestion(currentquestion+1);&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;function next(){&lt;br&gt;
set currentquestion (currentquestion+1)&lt;/p&gt;

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

&lt;p&gt;useing useref();&lt;/p&gt;

&lt;p&gt;const userref=useref();&lt;/p&gt;

&lt;p&gt;useffect (()=&amp;gt;{&lt;br&gt;
useref.current.focus();&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
&amp;lt;input ref={user Ref}

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

&lt;p&gt;start with inputbox dont drag the mouse inside the box.&lt;/p&gt;

&lt;p&gt;direct dom access.&lt;/p&gt;

&lt;p&gt;use ref();&lt;br&gt;
it will store the data.&lt;br&gt;
mutable store the value .changing data can store the access the dom &lt;/p&gt;

</description>
    </item>
    <item>
      <title>React Quiz Application: Navigation, Routing, and JSON Data</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 20:07:36 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/react-quiz-application-navigation-routing-and-json-data-52o</link>
      <guid>https://dev.to/harishraj01100boop/react-quiz-application-navigation-routing-and-json-data-52o</guid>
      <description>&lt;p&gt;use navigate is used to change component to component .browser is used to change file to file json is a array of object[(),(),()]&lt;/p&gt;

&lt;p&gt;import json from file &lt;br&gt;
question.json----&amp;gt; is file &lt;/p&gt;

&lt;p&gt;in jsx file &lt;br&gt;
import question from '../assets/question.jsons'&lt;br&gt;
                      |&lt;br&gt;
                      V&lt;br&gt;
                the dot used for go out to file &lt;/p&gt;

&lt;p&gt;assest &amp;lt;--- src&lt;br&gt;
any outsource file in assets like store image.json                      &lt;/p&gt;

</description>
    </item>
    <item>
      <title>tailwindcss</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 19:43:50 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/tailwindcss-16l4</link>
      <guid>https://dev.to/harishraj01100boop/tailwindcss-16l4</guid>
      <description>&lt;p&gt;Today I started learning Tailwind CSS and understood how to install it, use utility classes, and work with spacing and borders.&lt;/p&gt;

&lt;p&gt;Installing Tailwind CSS&lt;br&gt;
npm install tailwindcss &lt;a class="mentioned-user" href="https://dev.to/tailwindcss"&gt;@tailwindcss&lt;/a&gt;/vite&lt;/p&gt;

&lt;p&gt;Tailwind CSS Classes&lt;br&gt;
One of the main advantages of Tailwind CSS is that we can style HTML elements directly using predefined utility classes&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
    Button&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Border Colors and Border Sides&lt;/p&gt;

&lt;p&gt;Tailwind&lt;/p&gt;

&lt;p&gt;Meaning&lt;/p&gt;

&lt;p&gt;border-l&lt;/p&gt;

&lt;p&gt;Border Left&lt;/p&gt;

&lt;p&gt;border-r&lt;/p&gt;

&lt;p&gt;Border Right&lt;/p&gt;

&lt;p&gt;border-t&lt;/p&gt;

&lt;p&gt;Border Top&lt;/p&gt;

&lt;p&gt;border-b&lt;/p&gt;

&lt;p&gt;Border Bottom&lt;/p&gt;

&lt;p&gt;it is not a internal because it have prebulid .Tailwind&lt;/p&gt;

&lt;p&gt;Meaning&lt;/p&gt;

&lt;p&gt;border-l Border Left&lt;/p&gt;

&lt;p&gt;border-r Border Right&lt;/p&gt;

&lt;p&gt;border-t Border Top&lt;/p&gt;

&lt;p&gt;border-b Border Bottom&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Content
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;This applies a border only to the left side.&lt;/p&gt;

&lt;p&gt;We can also apply a border color using Tailwind's color utilities.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Tailwind CSS is Not Internal CSS&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Tailwind CSS is different from writing normal internal CSS.&lt;/p&gt;

&lt;p&gt;Normally, we might write:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;button {
    border: 1px solid black;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;But with Tailwind CSS, we can directly write utility classes:&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
    Button&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Tailwind provides pre-built utility classes that we can use directly in our HTML or JSX.&lt;/p&gt;

&lt;p&gt;Padding in Tailwind CSS&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Hello
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;In Tailwind CSS:&lt;/p&gt;

&lt;p&gt;p-4 = 16px&lt;/p&gt;

&lt;p&gt;So:&lt;/p&gt;




&lt;p&gt;applies 16px padding on all four sides&lt;/p&gt;

&lt;p&gt;Margin in Tailwind CSS&lt;br&gt;
Class&lt;/p&gt;

&lt;p&gt;Meaning&lt;/p&gt;

&lt;p&gt;mt-*Margin Top&lt;/p&gt;

&lt;p&gt;mr-*Margin Right&lt;/p&gt;

&lt;p&gt;ml-*Margin Left&lt;/p&gt;

&lt;p&gt;mb-*Margin Bottom&lt;/p&gt;

</description>
      <category>ai</category>
      <category>tailwindcss</category>
    </item>
    <item>
      <title>useNavigate() in React</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 19:26:33 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/usenavigate-in-react-kfk</link>
      <guid>https://dev.to/harishraj01100boop/usenavigate-in-react-kfk</guid>
      <description>&lt;p&gt;React Router v6 introduces the useNavigate() hook, making it easier and more flexible to navigate between different pages in your app. It replaces the older useHistory() hook.&lt;/p&gt;

&lt;p&gt;functionapp(){&lt;br&gt;
const navigate = usenavigate();&lt;br&gt;
function changeintoabout(){&lt;br&gt;
navigate("/&lt;br&gt;
about")&lt;br&gt;
return (&lt;br&gt;
&lt;/p&gt;


&lt;p&gt;o/p if the button click it will be navigate &lt;/p&gt;


</description>
    </item>
    <item>
      <title>browserRouter in react</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 19:15:10 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/browserrouter-in-react-4pfl</link>
      <guid>https://dev.to/harishraj01100boop/browserrouter-in-react-4pfl</guid>
      <description>&lt;p&gt;browser router  we often need to create multiple pages such as Home, About, and Contact. Instead of loading a completely new HTML page every time, React can handle navigation using React Router.&lt;/p&gt;

&lt;p&gt;npm i react-router-dom in cmd&lt;/p&gt;

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

&lt;p&gt;import { BrowserRouter } from "react-router-dom";&lt;br&gt;
import App from "./App";&lt;/p&gt;

&lt;p&gt;function Main() {&lt;br&gt;
    return (&lt;br&gt;
        &lt;br&gt;
            &lt;br&gt;
        &lt;br&gt;
    );&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;export default Main;&lt;/p&gt;

&lt;p&gt;The important part is:&lt;/p&gt;



&lt;p&gt;Creating Routes&lt;/p&gt;

&lt;p&gt;Inside App.jsx, we can use Routes and Route.&lt;/p&gt;

&lt;p&gt;import { Routes, Route } from "react-router-dom";&lt;/p&gt;

&lt;p&gt;function App() {&lt;br&gt;
    return (&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;Route path="/" element={&amp;lt;Home /&amp;gt;} /&amp;gt;

        &amp;lt;Route path="/about" element={&amp;lt;About /&amp;gt;} /&amp;gt;

        &amp;lt;Route path="/contact" element={&amp;lt;Contact /&amp;gt;} /&amp;gt;

    &amp;lt;/Routes&amp;gt;
);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

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

&lt;p&gt;export default App;&lt;/p&gt;

&lt;p&gt;↓&lt;br&gt;
npm i react-router-dom&lt;br&gt;
 ↓&lt;br&gt;
BrowserRouter&lt;br&gt;
 ↓&lt;br&gt;
Routes&lt;br&gt;
 ↓&lt;br&gt;
Route&lt;br&gt;
 ↓&lt;br&gt;
Different React Pages&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>paiyalagm (restructing in react ,use context)</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 18:51:12 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/paiyalagm-restructing-in-react-use-context-4g5n</link>
      <guid>https://dev.to/harishraj01100boop/paiyalagm-restructing-in-react-use-context-4g5n</guid>
      <description>&lt;p&gt;import parent &lt;br&gt;
function parent(){&lt;/p&gt;

&lt;p&gt;return(&lt;/p&gt;

&lt;p&gt;parent {child id={1},name ={abc},age={2}&lt;/p&gt;

&lt;p&gt;import child&lt;br&gt;
function child ({id,name,age}){&lt;/p&gt;

&lt;p&gt;return(&lt;/p&gt;

&lt;p&gt;child{id}&lt;br&gt;
            {name}&lt;br&gt;
            {age}&lt;/p&gt;

&lt;p&gt;the key should not be change like "id"&lt;br&gt;
don't receive differnt name.&lt;/p&gt;

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

&lt;p&gt;the solution of props drilling is &lt;br&gt;
hoock ---&amp;gt; use context &lt;/p&gt;

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

&lt;p&gt;create context ---&amp;gt; provide&lt;br&gt;&lt;br&gt;
import { createContext, useState } from "react";&lt;/p&gt;

&lt;p&gt;export const UserContext = createContext();&lt;/p&gt;

&lt;p&gt;function UserProvider({ children }) {&lt;/p&gt;

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

return (
    &amp;lt;UserContext.Provider value={{ username, setUsername }}&amp;gt;
        {children}
    &amp;lt;/UserContext.Provider&amp;gt;
);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

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

&lt;p&gt;export default UserProvider;&lt;/p&gt;

</description>
      <category>rea</category>
    </item>
    <item>
      <title>4/11/26 in paiyalagam (props in react)</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 18:22:33 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/41126-in-paiyalagam-props-in-react-2jk2</link>
      <guid>https://dev.to/harishraj01100boop/41126-in-paiyalagam-props-in-react-2jk2</guid>
      <description>&lt;p&gt;syntax : &lt;br&gt;
import parent &lt;br&gt;
function parent (){&lt;br&gt;
let amount =10000;                -------------&amp;gt;send&lt;br&gt;
return(&lt;/p&gt;

&lt;p&gt;parent { childmat={amount}/&amp;gt;&lt;/p&gt;

&lt;p&gt;import child&lt;br&gt;
function child (props){&lt;br&gt;
console.log(props.amt)&lt;br&gt;
return(&lt;br&gt;
&lt;/p&gt; child{props.amt}&lt;br&gt;
                        ----------------&amp;gt;receive&lt;br&gt;&lt;br&gt;
)&lt;br&gt;
}&lt;br&gt;
export default child 

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;          |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;return (      V&lt;br&gt;
              object more than one value is object so use {{value}} in expection function . send the function file to file &lt;br&gt;
&lt;/p&gt; child  {{amount.setamount}}.&lt;br&gt;
             |&lt;br&gt;
             V&lt;br&gt;
          expreaction function 

</description>
      <category>react</category>
    </item>
    <item>
      <title>3/11/26 in paiyalagam (mounting,update,unmounting)</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Mon, 16 Nov 2026 17:15:46 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/31126-in-paiyalagam-mountingupdateunmounting-1bp5</link>
      <guid>https://dev.to/harishraj01100boop/31126-in-paiyalagam-mountingupdateunmounting-1bp5</guid>
      <description>&lt;p&gt;use effect in mounting :&lt;br&gt;
the component called at 1st time using effect will be mounting&lt;/p&gt;

&lt;p&gt;update: you have 10 usestate you want  to render 2 times use[v1,v2].&lt;/p&gt;

&lt;p&gt;unmounting: use effect(efn,[];&lt;br&gt;
                function efn(){&lt;br&gt;
             return (()=&amp;gt;{ &lt;br&gt;
             -----&amp;gt; if you want to stop the component rendering &lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;if you want clean up ao use unmounting it will work on return()&lt;/p&gt;

&lt;p&gt;render: render is mean react executes your component function to figure out what should be displayed on the screeen . &lt;/p&gt;

&lt;p&gt;rerender:rerendering mean React execute the same component  function again because somthing has changed.&lt;/p&gt;

</description>
      <category>react</category>
    </item>
    <item>
      <title>28/10/26 react (fetch)</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Sun, 15 Nov 2026 19:29:48 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/281026-react-fetch-548</link>
      <guid>https://dev.to/harishraj01100boop/281026-react-fetch-548</guid>
      <description>&lt;p&gt;fetch(url).then(res--&amp;gt;resjson()&lt;br&gt;
.then((data)=&amp;gt;data this is old method in js .&lt;/p&gt;

&lt;p&gt;new method &lt;br&gt;
NPM i asios in ---&amp;gt; cmd&lt;/p&gt;

&lt;p&gt;asios.get (url)&lt;br&gt;
then ((res=&amp;gt;res.data);  ---&amp;gt;it is use to fetch the api.&lt;/p&gt;

&lt;p&gt;asios.get (url)&lt;br&gt;
then ((res=&amp;gt;res.)=&amp;gt;console.log(res data.data.product))&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;           |
           |
           V
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;dont change json manualy in react . &lt;br&gt;
it will change automatically change. &lt;/p&gt;

&lt;p&gt;mounting :&lt;br&gt;
first the call the html file (app.jsx to main.jsx)&lt;/p&gt;

&lt;p&gt;update:&lt;br&gt;
using to set to give value.&lt;/p&gt;

&lt;p&gt;unmounting:&lt;br&gt;
to remove like if else .else using remove.&lt;/p&gt;

&lt;p&gt;in axios method:&lt;br&gt;
if you use usestate fetch data will be renddering because of usestate . but it fetching same value . then why should render because . the api data  will state[],[] lot of arrays so it is rendering  if you let i=10, j=10, is support it will not rendering . to resolve the render issue using useeffect (c)={. &lt;/p&gt;

</description>
      <category>re</category>
    </item>
    <item>
      <title>27/10/26 react class in paiyalagam</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Sun, 15 Nov 2026 18:46:39 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/271026-react-class-in-paiyalagam-4a9e</link>
      <guid>https://dev.to/harishraj01100boop/271026-react-class-in-paiyalagam-4a9e</guid>
      <description>&lt;p&gt;&lt;strong&gt;prevent&lt;/strong&gt;&lt;br&gt;
prevent is defaultly use for to reduce the reload submitting button.&lt;br&gt;
object entries() you can take key , and value ,entry in seprate .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;return&lt;/strong&gt;&lt;br&gt;
in return can't run the loop for each and for of use ternary operator .&lt;/p&gt;

&lt;p&gt;object.value ()show the exact value in the object inside. &lt;/p&gt;

&lt;p&gt;in cheack box []sql click toggle like tick,dot ect... use . &lt;/p&gt;

&lt;p&gt;on input ---&amp;gt; input="text'  user can give give text.&lt;br&gt;
on change ---&amp;gt; use for checkbox box .&lt;/p&gt;

&lt;p&gt;.map() ---&amp;gt; transform vistit each element in the array &amp;amp; create new array .&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>programming</category>
    </item>
    <item>
      <title>3rd day python</title>
      <dc:creator>Harish raj</dc:creator>
      <pubDate>Tue, 27 Oct 2026 18:59:08 +0000</pubDate>
      <link>https://dev.to/harishraj01100boop/3rd-day-python-2039</link>
      <guid>https://dev.to/harishraj01100boop/3rd-day-python-2039</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Introduction to Operators
Operators in Python are special symbols or keywords used to perform operations on variables and values.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python has several types of operators:&lt;/p&gt;

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

&lt;p&gt;Relational (Comparison) Operators&lt;/p&gt;

&lt;p&gt;Logical Operators&lt;/p&gt;

&lt;p&gt;Assignment Operators&lt;/p&gt;

&lt;p&gt;Bitwise Operators&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Arithmetic Operators
Arithmetic operators are used to perform mathematical calculations.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let us take two variables:&lt;/p&gt;

&lt;p&gt;no1 = 10&lt;br&gt;
no2 = 3&lt;br&gt;
Operator    Name    Example Output&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Addition    no1 + no2   13&lt;/li&gt;
&lt;li&gt;  Subtraction no1 - no2   7&lt;/li&gt;
&lt;li&gt;  Multiplication  no1 * no2   30
/   Division    no1 / no2   3.3333...
//  Floor Division  no1 // no2  3
%   Modulus no1 % no2   1
**  Exponentiation (Power)  no1 ** no2  1000
Example:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;no1 = 10&lt;br&gt;
no2 = 3&lt;/p&gt;

&lt;p&gt;print(no1 + no2)&lt;br&gt;
print(no1 - no2)&lt;br&gt;
print(no1 * no2)&lt;br&gt;
print(no1 / no2)&lt;br&gt;
print(no1 // no2)&lt;br&gt;
print(no1 % no2)&lt;br&gt;
print(no1 ** no2)&lt;br&gt;
Important: Division by zero causes a ZeroDivisionError.&lt;/p&gt;

&lt;p&gt;no1 = 10&lt;br&gt;
no2 = 0&lt;/p&gt;

&lt;p&gt;print(no1 / no2)   # ZeroDivisionError&lt;br&gt;
print(no1 // no2)  # ZeroDivisionError&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Variable Assignment and Multiple Variables
Python allows us to assign values to variables in different ways.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Separate assignment:&lt;/p&gt;

&lt;p&gt;no1 = 10&lt;br&gt;
no2 = 20&lt;br&gt;
Multiple assignment:&lt;/p&gt;

&lt;p&gt;no1, no2 = 10, 20&lt;br&gt;
print(no1)&lt;br&gt;
print(no2)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;10&lt;br&gt;
20&lt;br&gt;
The statement no1 = 10, no2 = 20 is invalid Python syntax because two assignments cannot be separated by a comma in this way.&lt;/p&gt;

&lt;p&gt;Python also supports assigning the same value to multiple variables:&lt;/p&gt;

&lt;p&gt;no1 = no2 = 10&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Single and Double Quotes in Python
Python supports both single quotes (' ') and double quotes (" ") for strings.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;name1 = 'Sanjay'&lt;br&gt;
name2 = "Vishnu"&lt;/p&gt;

&lt;p&gt;print(name1)&lt;br&gt;
print(name2)&lt;br&gt;
Both quotation styles work in the same way for ordinary strings.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Relational (Comparison) Operators
Comparison operators compare two values and return either True or False.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Operator    Meaning Example Output&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Greater than    10 &amp;gt; 5  True&lt;br&gt;
&amp;lt;   Less than   10 &amp;lt; 5  False&lt;br&gt;
=  Greater than or equal to    10 &amp;gt;= 10    True&lt;br&gt;
&amp;lt;=  Less than or equal to   5 &amp;lt;= 10 True&lt;br&gt;
==  Equal to    10 == 10    True&lt;br&gt;
!=  Not equal to    10 != 5 True&lt;br&gt;
Example:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;no1 = 100&lt;br&gt;
no2 = 200&lt;br&gt;
no3 = 300&lt;/p&gt;

&lt;p&gt;print(no3 &amp;gt; no2 &amp;gt; no1)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;True&lt;br&gt;
This is called operator chaining. Python evaluates it as:&lt;/p&gt;

&lt;p&gt;no3 &amp;gt; no2 and no2 &amp;gt; no1&lt;br&gt;
Both comparisons are true.&lt;/p&gt;

&lt;p&gt;String Comparison&lt;br&gt;
name1 = 'sanjay'&lt;br&gt;
name2 = 'sanjay'&lt;/p&gt;

&lt;p&gt;print(name1 == name2)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;True&lt;br&gt;
The == operator checks whether two values are equal.&lt;/p&gt;

&lt;p&gt;The = operator is an assignment operator, not a comparison operator. For example, name1 = name2 assigns the value of name2 to name1.&lt;/p&gt;

&lt;p&gt;Python also compares strings lexicographically using Unicode code points. For example, 'A' has code point 65 and 'a' has code point 97, so:&lt;/p&gt;

&lt;p&gt;print('A' &amp;lt; 'a')&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;True&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Logical Operators
Logical operators are used to combine or reverse conditions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python has three logical operators:&lt;/p&gt;

&lt;p&gt;and&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;not&lt;/p&gt;

&lt;p&gt;A. AND Operator&lt;br&gt;
The and operator returns a truthy result only when both operands are truthy. If either operand is falsy, it returns a falsy result.&lt;/p&gt;

&lt;p&gt;no1 = 10&lt;br&gt;
no2 = 20&lt;/p&gt;

&lt;p&gt;print(no1 and no2)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;20&lt;br&gt;
Important: Python's and operator does not always return the Boolean value True or False. It can return one of its operands.&lt;/p&gt;

&lt;p&gt;print(0 and 20)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;0&lt;br&gt;
Zero is a falsy value.&lt;/p&gt;

&lt;p&gt;B. OR Operator&lt;br&gt;
The or operator returns the first truthy operand. If all operands are falsy, it returns the last operand.&lt;/p&gt;

&lt;p&gt;print(0 or 20)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;20&lt;br&gt;
C. NOT Operator&lt;br&gt;
The not operator reverses the truth value and always returns a Boolean value.&lt;/p&gt;

&lt;p&gt;print(not 10)&lt;br&gt;
print(not 0)&lt;br&gt;
print(not 'Vishnu')&lt;br&gt;
print(not '')&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;False&lt;br&gt;
True&lt;br&gt;
False&lt;br&gt;
True&lt;br&gt;
A non-empty string is truthy, whereas an empty string is falsy.&lt;/p&gt;

&lt;p&gt;Remember: not ' ' returns False because a string containing a space is not empty.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Assignment Operators
Assignment operators assign values to variables and provide shortcuts for updating them.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;no1 = 5&lt;br&gt;
no1 = no1 + 10&lt;/p&gt;

&lt;p&gt;print(no1)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;15&lt;br&gt;
The shortcut version is:&lt;/p&gt;

&lt;p&gt;no1 = 5&lt;br&gt;
no1 += 10&lt;/p&gt;

&lt;p&gt;print(no1)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;15&lt;br&gt;
Other arithmetic assignment operators include:&lt;/p&gt;

&lt;p&gt;Operator    Equivalent expression&lt;br&gt;
+=  no1 = no1 + 10&lt;br&gt;
-=  no1 = no1 - 10&lt;br&gt;
&lt;em&gt;=  no1 = no1 * 10&lt;br&gt;
/=  no1 = no1 / 10&lt;br&gt;
//= no1 = no1 // 10&lt;br&gt;
%=  no1 = no1 % 10&lt;br&gt;
*&lt;/em&gt;= no1 = no1 ** 10&lt;br&gt;
These operators make code shorter and easier to read.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Bitwise Operators
Bitwise operators perform operations on the binary representation of integers.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Operator    Name    Purpose&lt;br&gt;
&amp;amp;   Bitwise AND Sets a bit to 1 when both corresponding bits are 1&lt;br&gt;
|   Bitwise OR  Sets a bit to 1 when either corresponding bit is 1&lt;br&gt;
^   Bitwise XOR Sets a bit to 1 when the corresponding bits differ&lt;br&gt;
~   Bitwise NOT Inverts the integer's bits&lt;br&gt;
&amp;lt;&amp;lt;  Left shift  Shifts bits to the left&lt;/p&gt;

&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Right shift Shifts bits to the right&lt;br&gt;
Example:&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/blockquote&gt;

&lt;p&gt;no1 = 5&lt;br&gt;
no2 = 3&lt;/p&gt;

&lt;p&gt;print(no1 &amp;amp; no2)&lt;br&gt;
print(no1 | no2)&lt;br&gt;
print(no1 ^ no2)&lt;br&gt;
print(~no1)&lt;br&gt;
print(no1 &amp;lt;&amp;lt; 1)&lt;br&gt;
print(no1 &amp;gt;&amp;gt; 1)&lt;br&gt;
Output:&lt;/p&gt;

&lt;p&gt;1&lt;br&gt;
7&lt;br&gt;
6&lt;br&gt;
-6&lt;br&gt;
10&lt;br&gt;
2&lt;br&gt;
For understanding bitwise operators, convert the numbers to binary.&lt;/p&gt;

&lt;p&gt;5 = 101&lt;br&gt;
3 = 011&lt;br&gt;
For example, 5 &amp;amp; 3 gives 001, which equals 1 in decimal.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Conclusion
Today, I learned about Python operators and how they work with variables and values. I practised arithmetic calculations, comparisons, logical operations, assignment shortcuts, and bitwise operations.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Understanding these operators is an important foundation for learning conditional statements, loops, functions, and more advanced Python programming.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
