<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sri Vaishnavi on Medium]]></title>
        <description><![CDATA[Stories by Sri Vaishnavi on Medium]]></description>
        <link>https://medium.com/@srivaishnavi0602?source=rss-c6ea0bd16930------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eEec0qCOZwzpUPop88T_yQ.jpeg</url>
            <title>Stories by Sri Vaishnavi on Medium</title>
            <link>https://medium.com/@srivaishnavi0602?source=rss-c6ea0bd16930------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:34:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@srivaishnavi0602/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[React resources which should be used by every dev]]></title>
            <link>https://medium.com/@srivaishnavi0602/react-resources-which-should-be-used-by-every-dev-72284ebe6cab?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/72284ebe6cab</guid>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Sat, 30 Aug 2025 19:19:15 GMT</pubDate>
            <atom:updated>2025-08-30T19:19:15.504Z</atom:updated>
            <content:encoded><![CDATA[<p>I used to spend hours building every component from scratch — until I realized there was a smarter way.</p><p>Hello reader! You might be thinking: <em>“Why bother with prebuilt components? I can just build my own.”</em></p><p>I made the same mistake when I was learning React. Honestly, it wasn’t a bad thing — building everything yourself helps you understand the fundamentals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CzUVPBz-X0BM-UZIPRyw3A.png" /></figure><p>But once you’re comfortable with basic React components and can read other developers’ code, prebuilt components can <strong>supercharge your workflow</strong>.</p><p>If you already know how to build basic React components, this list of resources will be <strong>extremely helpful</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ruWdEQI4e0jGdfo0PZuqLg.png" /></figure><h3>📚 <strong>Libraries (Component + Animation)</strong></h3><p>1️⃣ MUI (React Component Library)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HE5KJ6iX7cFvkX6ero1M8A.png" /></figure><p><a href="https://mui.com/"><strong>Visit MUI</strong></a></p><p>Install with:</p><pre>npm install @mui/base</pre><p>Example usage:</p><pre>import * as React from &#39;react&#39;;<br>import { Button } from &#39;@mui/base/Button&#39;;export default function App() {<br>  return &lt;Button&gt;Click Me&lt;/Button&gt;;<br>}</pre><p>Read the docs to explore more components.</p><p>2️⃣ Lucide React (Icon Library)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ViPg8Gt_c7t5e9paKeDsjQ.png" /></figure><p><a href="https://lucide.dev/"><strong>Visit Lucide React</strong></a></p><p>Install with:</p><pre>npm install lucide-react</pre><p>Example usage:</p><pre>import { Camera } from &#39;lucide-react&#39;;const App = () =&gt; {<br>  return &lt;Camera color=&quot;red&quot; size={48} /&gt;;<br>};export default App;</pre><p>3️⃣ Motion.dev</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P3aNbX_mbn4DnBRnPU0Keg.png" /></figure><p><a href="https://motion.dev/"><strong>Visit Motion.dev</strong></a><br>Contains a variety of UI components and web animations to enhance your React projects.</p><p>4️⃣ Shadcn/ui</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UlR3KhEj6m2IWKNiEaR_9g.png" /></figure><p><a href="https://ui.shadcn.com/"><strong>Visit Shadcn/ui</strong><br></a>Build beautiful, accessible components while integrating with your favorite frameworks and AI models. It’s open source and open code. Unlike a typical component library, it shows you <strong>how to create your own library from scratch</strong>.</p><p>5️⃣ SyntaxUI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_d7I1qlmaYWD5OAxWHWtqA.png" /></figure><p><a href="https://syntaxui.com/"><strong>Visit SyntaxUI</strong></a><br> Offers components like buttons, preloaders, text, and much more.</p><h3>🎨 <strong>Icons</strong></h3><p>6️⃣ FlatIcons</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fR-Gn9sx7kC3-ma7I2dLbw.png" /></figure><p><a href="https://www.flaticon.com/"><strong>Visit FlatIcons</strong></a><br>Contains animated icons, gradient icons, and personalized options.</p><p>7️⃣ UX Wing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EJkEzoEg8vDkZdhqnAQTA.png" /></figure><p><a href="https://uxwing.com/"><strong>Visit UX Wing</strong></a><strong><br></strong>A website for icons (not a library). You can download PNG, SVG, or copy SVG code directly.</p><h3>📑 <strong>Templates &amp; Inspiration</strong></h3><p>8️⃣ Dribbble</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWBUd0RURsjdU5fgv7Bm8w.png" /></figure><p><a href="https://dribbble.com/"><strong>Visit Dribbble</strong></a><br> I use it mostly for website design inspiration.</p><p>9️⃣ Radio Buttons</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_3cubk5c3a8iGa25wu29pQ.png" /></figure><p><a href="https://uiverse.io/"><strong>Visit Radio Buttons</strong></a><br>A website full of amazing button components, navbars, toggle buttons, loaders, and more. I personally use it a lot in my projects.</p><h3>✍️ Fonts</h3><p>🔟 Google Fonts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EcDdAM60Bf56_Q_8xH0XA.png" /></figure><p><a href="https://fonts.google.com/"><strong>Visit Google Fonts</strong></a><br>An amazing source for icons and fonts. Quick tip: some font names in Figma differ from Google Fonts, so double-check.</p><p>These are resources I use daily, if you find it useful make sure to give it a clap which makes me feel motivated to write more blogs like this.</p><p>Till then, less scrolling, more coding 😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72284ebe6cab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redux tutorial]]></title>
            <link>https://medium.com/@srivaishnavi0602/redux-tutorial-07893c9a0809?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/07893c9a0809</guid>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 05:05:00 GMT</pubDate>
            <atom:updated>2025-08-02T05:05:00.566Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you managing too many states and finding it difficult to keep track ? When working on larger projects, managing multiple states can get complicated. That’s where Redux comes in — it provides a centralized system to manage your application’s state more efficiently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RhNMUqNtMZYxh0WJc2aJsA.png" /></figure><p>Redux is a state management library commonly used with frontend technologies like React to manage and centralize application state.</p><p>“If you’re building a project with many components, each having its own state, managing state across the entire application can become complex. Redux helps by providing a centralized system to store and manage all the states in one place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eDbxmBWBlrN9Ur2XOmfGbQ.png" /></figure><p>Redux introduces a concept called the <em>store</em>, which holds the entire state of the application. You can create this store using the createStore() method, which takes a <em>reducer function</em> as its argument. The reducer is responsible for handling how the state should change based on dispatched actions.</p><p>Let us know about some terms in redux,</p><h3>🔑 Key Terms in Redux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RolOkWNqQGPoTkldJUMX5w.png" /></figure><h3>1. State</h3><ul><li>The <strong>current data</strong> of your application (like the number of items in a cart, whether a user is logged in, etc.).</li><li>Think of it as the “truth” of your app at a given time.</li></ul><h3>2. Action</h3><ul><li>A plain JavaScript object that <strong>describes what happened</strong> in the app.</li><li>Every action <strong>must have a </strong><strong>type property</strong>.</li></ul><pre>const action = {<br>  type: &#39;INCREMENT&#39;<br>}</pre><h3>3. Action Creator</h3><ul><li>A function that returns an action object.</li><li>Helps avoid repeating code and makes dispatching easier.</li></ul><pre>const increment = () =&gt; {<br>  return { type: &#39;INCREMENT&#39; };<br>};</pre><pre>// Usage<br>store.dispatch(increment());</pre><h3>4. Reducer</h3><ul><li>A <strong>pure function</strong> that decides <strong>how the state should change</strong> when an action is dispatched.</li><li>Takes the current state and an action, and returns a <strong>new state</strong>.</li></ul><pre>function counterReducer(state = { count: 0 }, action) {<br>  switch (action.type) {<br>    case &#39;INCREMENT&#39;:<br>      return { count: state.count + 1 };<br>    default:<br>      return state;<br>  }<br>}</pre><h3>5. Store</h3><ul><li>A special object that holds the <strong>entire application state</strong>.</li><li>Created using createStore() (classic Redux) or configureStore() (Redux Toolkit).</li></ul><p><strong>Main Methods:</strong></p><ul><li>store.getState() → Returns the current state of the app.</li><li>store.dispatch(action) → Sends an action to the reducer.</li><li>store.subscribe(listener) → Registers a function to run whenever the state updates.</li><li>store.replaceReducer(newReducer) → Replaces the current reducer with a new one.</li></ul><pre>const store = Redux.createStore(counterReducer);</pre><h3>6. Dispatch</h3><ul><li>The way to <strong>send actions</strong> to the store.</li><li>Tells the reducer <strong>what happened</strong>, so it can update the state.</li></ul><pre>store.dispatch({ type: &#39;INCREMENT&#39; });</pre><h3>WHAT IS REDUX TOOLKIT 🛠️</h3><p>Redux Toolkit is the official way to write Redux apps easily.<br>You don’t need to manually write actions and reducers anymore — <strong>RTK does it for you</strong> with createSlice().</p><p>Now let us make a project setup. I am using Vite which is modern and fastest tool in react.</p><p>If you have built some projects using react, then you would have node in your system.</p><ol><li>Now create a folder and in that path run the following command.</li></ol><pre>npm create vite@latest</pre><p><strong>You’ll be prompted to:</strong></p><ul><li>Enter the project name</li><li>Choose a framework (select <strong>React</strong>)</li><li>Choose a variant (select <strong>JavaScript</strong> or <strong>TypeScript</strong>, depending on your preference)</li></ul><p>2. Navigate to your project folder</p><pre>cd &lt;project_name&gt;</pre><p>3. Install dependencies</p><pre>npm install</pre><p>4. Run the development server</p><pre>npm run dev</pre><h4>Now you have your react setup is ready, now lets set up redux.</h4><ol><li>Install Redux Toolkit and React Redux</li></ol><pre>npm install @reduxjs/toolkit react-redux</pre><p>2. Folder setup</p><pre>src/<br>├── assets/<br>├── components/<br>│   ├── Card.jsx<br>│   ├── CardinCart.jsx<br>│   ├── CartItems.jsx<br>│   ├── Home.jsx<br>│   └── Nav.jsx<br>├── data/<br>│   └── productData.js<br>├── Features/<br>│   └── cartSlicer/<br>│       └── store.js<br>├── App.css<br>├── App.jsx<br>├── index.css<br>└── main.jsx</pre><p>3. I have built a carty website to practice react, so let’s see how it’s made</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EMpX_kxwI2-07qT4aTkKBA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YUTsVnxy31ubcklf2QP3EA.png" /></figure><p>Imagine where the states are used:</p><ul><li>To track how many times an item needed to be added.</li><li>What products are added to cart</li><li>To display number on cart image.</li><li>To display the product in next page, you need what are added into the cart.</li></ul><p>Please don’t mind, this product is made only for practicing so I didn’t make any complex site, let’s learn through this project.</p><p>Features folder is to keep all the states in it.</p><p>Store.js is brain of state management, it stores all the states.</p><p>Now, in features folder, I have cartSlicer folder =&gt; this folder created just for personalization, to understand what feature is in it, and next one cartSlice.js has the state management code.</p><pre>// cartSlice.js<br><br>import { createSlice } from &#39;@reduxjs/toolkit&#39;<br><br>// Create a Redux slice for cart functionality<br>export const counterSlice = createSlice({<br>  name: &#39;countItems&#39;, // The slice name → becomes the key in the Redux store<br>  initialState: {     <br>    // The initial state of this slice<br>    items: {}, <br>    // items is an object where each product&#39;s ID will be a key,<br>    // and its value will be the quantity in the cart<br>  },<br>  reducers: { <br>    // Reducers define how the state changes in response to actions<br><br>    increment: (state, action) =&gt; {  <br>      // action.payload contains the product ID<br>      const id = action.payload;  <br>      // Increase the quantity of the given product by 1<br>      state.items[id] = (state.items[id] || 0) + 1; <br>    },<br><br>    decrement: (state, action) =&gt; {<br>      const id = action.payload;<br>      // Decrease the quantity of the given product by 1 (minimum logic can be added later)<br>      state.items[id] = (state.items[id] || 0) - 1;<br>    },<br><br>    reset: (state, action) =&gt; {<br>      const id = action.payload;<br>      // Reset the quantity of this product back to 0<br>      state.items[id] = 0; <br>    }<br>  },<br>})<br><br>// Export actions → used by components to trigger state updates<br>export const { increment, decrement, reset } = counterSlice.actions<br><br>// Export reducer → used by store.js to add this slice into the global state<br>export default counterSlice.reducer</pre><ul><li>The <strong>name</strong> (&#39;countItems&#39;) determines the <strong>slice name</strong>.</li><li>This slice name is used as a <strong>key in your Redux store state</strong> when you combine reducers.</li><li>if store is a pizza, then countItems is a slice i.e a single state out of many states.</li><li>Don’t worry about <strong>Redux store state </strong>and <strong>combine reducers</strong>, you will understand as you read this blog further.</li><li>I have added comments to explain the code, pls read carefully to understand the code</li></ul><pre>// store.js<br><br>import { configureStore } from &#39;@reduxjs/toolkit&#39;<br>import cartReducer from &quot;./cartSlicer/cartSlice&quot; <br>// Importing the reducer we created in cartSlice.js<br><br>// Create the Redux store<br>export const store = configureStore({<br>    reducer: {<br>        // Here we combine all slices (like each slice on a pizza 🍕)<br>        // &quot;countItems&quot; is the key (slice name in the store)<br>        // &quot;cartReducer&quot; is the reducer function from cartSlice.js<br>        countItems: cartReducer,<br>    },<br>})<br><br>// Final state structure in the store looks like:<br>// {<br>//   countItems: {<br>//     items: { /* productId: quantity */ }<br>//   }<br>// }</pre><p>Let me give you a good example to make you understand about this.</p><h3>🥪 Think of Redux like a Tiffin Box</h3><blockquote><strong>Store</strong> = the whole lunchbox 🍱 (holds all your food = states).</blockquote><blockquote><strong>Slice</strong> = one section inside the lunchbox 🍛 (like rice, curry, or pickle).</blockquote><blockquote><strong>Reducer</strong> = the person deciding how much food goes where 🍴.</blockquote><blockquote><strong>Action</strong> = a chit you give saying “Add 2 more chapatis!”.</blockquote><blockquote><strong>Dispatch</strong> = the act of handing over the chit.</blockquote><pre>// Card Component:<br>// Displays a product with options to add, remove, or reset its quantity in the cart<br>// Uses Redux Toolkit for state management<br><br>import React from &quot;react&quot;;<br>import { AiOutlinePlus, AiOutlineMinus } from &quot;react-icons/ai&quot;;<br>import { useSelector, useDispatch } from &quot;react-redux&quot;;<br>import { increment, decrement, reset } from &quot;../Features/cartSlicer/cartSlice&quot;;<br><br>export default function Card({ img, id }) {<br>  const dispatch = useDispatch(); // useDispatch → to send actions to Redux store<br><br>  // itemCount = quantity of this specific product in the cart<br>  const itemCount = useSelector((state) =&gt; state.countItems.items[id] || 0);<br><br>  // Dispatch sends an action (with product id)<br>  // → reducer updates state<br>  // → useSelector re-renders this component with new data<br>  const handleIncrement = (id) =&gt; dispatch(increment(id));<br>  const handleDecrement = (id) =&gt; dispatch(decrement(id));<br>  const handleReset = (id) =&gt; dispatch(reset(id));<br><br>  return (<br>    &lt;div className=&quot;border border-red-300 p-4 flex flex-col items-center justify-between rounded-md shadow-md&quot;&gt;<br>      {/* Product Image */}<br>      &lt;img src={img} alt=&quot;Product&quot; className=&quot;w-40 h-40 object-contain mb-4&quot; /&gt;<br><br>      {/* Buttons Section */}<br>      &lt;div className=&quot;flex flex-col sm:flex-row gap-[10px] mt-4&quot;&gt;<br>        {itemCount === 0 ? (<br>          &lt;button<br>            disabled={itemCount &gt;= 4}<br>            onClick={() =&gt; handleIncrement(id)} // Add item to cart<br>            className=&quot;bg-[#ffb3b3] w-[145px] h-[35px] text-black font-medium py-1 px-6 rounded-[12px]&quot;<br>          &gt;<br>            Add<br>          &lt;/button&gt;<br>        ) : (<br>          &lt;button className=&quot;bg-[#ffb3b3] w-[145px] h-[35px] text-black font-medium py-1 px-4 rounded-[12px] flex items-center gap-4&quot;&gt;<br>            {/* Remove one item */}<br>            &lt;AiOutlineMinus<br>              onClick={() =&gt; handleDecrement(id)}<br>              className=&quot;text-2xl hover:bg-[#E15F5F] p-1 rounded-full&quot;<br>            /&gt;<br><br>            {/* Display current quantity */}<br>            &lt;div className=&quot;text-base bg-white p-3&quot;&gt;{itemCount}&lt;/div&gt;<br><br>            {/* Add one more item */}<br>            &lt;AiOutlinePlus<br>              onClick={() =&gt; handleIncrement(id)}<br>              className=&quot;text-2xl hover:bg-[#E15F5F] p-1 rounded-full&quot;<br>            /&gt;<br>          &lt;/button&gt;<br>        )}<br><br>        {/* Remove all items of this product */}<br>        &lt;button<br>          onClick={() =&gt; handleReset(id)}<br>          disabled={itemCount === 0}<br>          className={`bg-[#ffb3b3] text-black font-medium py-1 px-6 rounded-[12px] ${<br>            itemCount === 0 ? &quot;opacity-70&quot; : &quot;hover:bg-[#ff9e9e]&quot;<br>          } `}<br>        &gt;<br>          Remove from cart<br>        &lt;/button&gt;<br>      &lt;/div&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><p>For the person reading this blog — I truly encourage you to go through the code carefully.<br>I’ve added comments everywhere because I believe they make understanding much easier. Without them, explaining Redux wouldn’t have been as effective.<br>I really hope the comments helped you connect the dots.</p><p>If you’d like to explore the <strong>complete project code</strong>, you can check it out here:</p><p>👉🏻 <a href="https://github.com/msv6264/cartyRedux">Repo link</a></p><p>If you made it till the end — <strong>thank you so much</strong> 🫱🏻‍🫲🏻<br>I know learning Redux in one go can feel overwhelming, but even if you understood <strong>just 1% today</strong>, that’s a win! 🎉<br>If this blog helped you in any way, give it a clap ❤️ — it keeps me motivated to share more tutorials.</p><p>Till then — stay curious, keep learning, and happy coding 👩🏻‍💻✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07893c9a0809" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sass: Syntactically awesome style sheets]]></title>
            <link>https://medium.com/@srivaishnavi0602/sass-syntactically-awesome-style-sheets-f7b0e87cbe0c?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7b0e87cbe0c</guid>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[cascading-style-sheets]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[style]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Thu, 24 Jul 2025 10:23:03 GMT</pubDate>
            <atom:updated>2025-07-24T10:23:03.889Z</atom:updated>
            <content:encoded><![CDATA[<p>Do you want to explore more CSS features which do not exist in CSS, then SASS comes to play.</p><p>Sass (Syntactically Awesome Style Sheets) is a CSS preprocessor that extends CSS by adding features like variables, nesting, mixins, and more, making CSS more maintainable and efficient.</p><p>In SASS you can also use variables, since SASS is a preprocessor, that means language that is compiled into standard CSS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*r6lbaHGa3fpFUl0xTfQPwQ.png" /></figure><h3>🛠️ How to Use SASS: Compiling SCSS to CSS</h3><p>Before your SCSS code works in the browser, you need to <strong>compile it into regular CSS</strong>. SASS files use the .scss extension and are not understood by the browser directly.</p><p>There are two main ways to compile:</p><ol><li><strong>VS Code Extension (Recommended for beginners)</strong></li></ol><ul><li>Install the <strong>Live Sass Compiler</strong> extension</li><li>Open your .scss file and click <strong>“Watch Sass”</strong> at the bottom</li><li>It will automatically generate a .css file in the same folder</li></ul><p><strong>2. Command Line (for advanced users)</strong><br> If you have Node and Sass installed:</p><pre>sass input.scss output.css</pre><p>Or watch for changes:</p><pre>sass --watch input.scss:output.css</pre><p>Once compiled, you can include the output.css file in your HTML like this:</p><pre>&lt;link rel=&quot;stylesheet&quot; href=&quot;output.css&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*8MIEIZCDeNDWUdg6CabV2g.png" /></figure><h3>Declaring variables in SASS</h3><p>In c we use int, float etc.. In JS we use let, var, const, similarly in SASS ‘$’ is used to declare variable name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*IGgM0nhDpRbJ7i2BJ3GXsQ.png" /></figure><p>For example, you are building a big project and in that, some needed standard font colors and font sizes, Like for headings you need some #333 color and font size as 35px, For some sub headings some other properties, In such cases you can use SASS variables.</p><pre>$primary-color: white;<br>$secondary-color: #4344;<br>$primary-font: 33px;<br>$secondary-font: 12px;</pre><pre>    h1 {<br>      font-size: $primary-font;<br>      color: $primary-color;<br>      text-align: center;<br>    }<br><br>    h2 {<br>      font-size: $secondary-font;<br>      color: $primary-color;<br>      text-decoration: underline;<br>    }<br><br>    h3 {<br>      font-size: 26px;<br>      color: $secondary-color;<br>      font-style: italic;<br>    }<br><br>    h4 {<br>      font-size: 22px;<br>      color: $secondary-color;<br>      letter-spacing: 2px;<br>    }<br><br>    h5 {<br>      font-size: 18px;<br>      color: $secondary-color;<br>      font-weight: bold;<br>    }<br><br>    p {<br>      font-size: $secondary-font;<br>      color: $secondary-color;<br>      line-height: 1.6;<br>    }<br><br>    .info-box {<br>      font-size: $primary-font;<br>      color: $primary-color;<br>      background-color: #e6f0ff;<br>      padding: 10px;<br>      border-radius: 8px;<br>      margin: 10px 0;<br>    }<br><br>    .alert-box {<br>      font-size: $secondary-font;<br>      color: $secondary-color;<br>      background-color: #f8d7da;<br>      padding: 12px;<br>      border: 1px solid #f5c6cb;<br>      border-radius: 6px;<br>    }</pre><p>The above code showcase how SASS is used to give styles.</p><h3>mixins</h3><p><strong>Mixins are reusable groups of CSS properties defined with a name, allowing you to apply them throughout your CSS file wherever needed.</strong></p><p>For example, if we want to group some color and font-size properties together, we can create a mixin for that.</p><p>But before we dive into the example, let me also tell you — mixins can accept parameters too. This means we can use mixins like functions, allowing us to make them more flexible and dynamic.</p><pre>@mixin addingProps{<br>  margin: 10px;<br>  padding: 2px;<br>  justify-content: center;<br>}</pre><pre>.usingMixin{<br>  @include addingProps;<br>}</pre><p>The above example is usage of mixin without using any parameters.</p><p>If we want to use same properties present in mixin but with different values, then mixin function with parameters comes to play.</p><pre>@mixin addingProps($margin, $padding, $justify) {<br>  margin: $margin;<br>  padding: $padding;<br>  justify-content: $justify;<br>}</pre><pre>.customBox {<br>  @include addingProps(20px, 5px, space-between);<br>}<br><br>#customSection {<br>  @include addingProps(15px, 8px, center);<br>}</pre><h3>if-else in SASS</h3><p>We can use if else conditions and loops like we use in other programming languages, let us see a demonstration of usage of if — else in SASS.</p><pre>@mixin fontStyle($styleType) {<br>  @if $styleType == &#39;heading&#39; {<br>    font-size: 32px;<br>    font-weight: bold;<br>    font-style: normal;<br>  } @else if $styleType == &#39;subheading&#39; {<br>    font-size: 24px;<br>    font-weight: 600;<br>    font-style: italic;<br>  } @else if $styleType == &#39;paragraph&#39; {<br>    font-size: 16px;<br>    font-weight: normal;<br>    font-style: normal;<br>  } @else {<br>    font-size: 14px;<br>    font-weight: 300;<br>    font-style: oblique;<br>  }<br>}</pre><pre>.titleText {<br>  @include fontStyle(&#39;heading&#39;);<br>}<br><br>.subtitleText {<br>  @include fontStyle(&#39;subheading&#39;);<br>}<br><br>.bodyText {<br>  @include fontStyle(&#39;paragraph&#39;);<br>}<br><br>#customNote {<br>  @include fontStyle(&#39;quote&#39;); <br>}</pre><p>Now, let’s see about loops.</p><h3>For loop in SASS</h3><p><strong>The </strong><strong>@for directive in SCSS can be used in two ways: </strong><strong>start through end and </strong><strong>start to end.</strong><br> The key difference is:</p><ul><li><strong>start through end</strong> includes the end value in the loop.</li><li><strong>start to end</strong> excludes the end value from the loop.</li></ul><pre>&lt;div class=&quot;box-1&quot;&gt;1&lt;/div&gt;<br>&lt;div class=&quot;box-2&quot;&gt;2&lt;/div&gt;<br>&lt;div class=&quot;box-3&quot;&gt;3&lt;/div&gt;<br>&lt;div class=&quot;box-4&quot;&gt;4&lt;/div&gt;<br>&lt;div class=&quot;box-5&quot;&gt;5&lt;/div&gt;</pre><pre>@for $i from 1 through 5 {<br>  .box-#{$i} {<br>    width: $i * 50px;<br>  }<br>}</pre><p>you can use mapping also, similar to JS.</p><h3>Mapping in SASS</h3><pre>&lt;button class=&quot;btn-primary&quot;&gt;Primary&lt;/button&gt;<br>&lt;button class=&quot;btn-success&quot;&gt;Success&lt;/button&gt;<br>&lt;button class=&quot;btn-danger&quot;&gt;Danger&lt;/button&gt;<br>&lt;button class=&quot;btn-warning&quot;&gt;Warning&lt;/button&gt;</pre><pre>$colors: (primary: #007bff, success: #28a745, danger: #dc3545, warning: #ffc107)<br><br>@each $key, $col in $colors{<br>  .btn-#{$key} {<br>    background-color: $col;<br>  }<br>}</pre><h3>While loop in SASS</h3><pre>&lt;div class=&quot;box-1&quot;&gt;1&lt;/div&gt;<br>&lt;div class=&quot;box-2&quot;&gt;2&lt;/div&gt;<br>&lt;div class=&quot;box-3&quot;&gt;3&lt;/div&gt;<br>&lt;div class=&quot;box-4&quot;&gt;4&lt;/div&gt;<br>&lt;div class=&quot;box-5&quot;&gt;5&lt;/div&gt;</pre><pre>$i: 1;<br><br>@while $i &lt;= 5 {<br>  .box-#{$i} {<br>    width: $i * 50px;<br>  }<br><br>  $i: $i + 1;<br>}</pre><h3>🔚 Final Words</h3><blockquote><em>Remember, learning how to code is all about doing 80% learning 20% 🧑🏻‍💻</em></blockquote><p>If you found this blog helpful, give it a clap so I stay motivated to write more content like this! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7b0e87cbe0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is jQuery]]></title>
            <link>https://medium.com/@srivaishnavi0602/what-is-jquery-d5648f7b2cf2?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5648f7b2cf2</guid>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Wed, 23 Jul 2025 17:31:39 GMT</pubDate>
            <atom:updated>2025-07-23T17:45:36.125Z</atom:updated>
            <content:encoded><![CDATA[<p>If you want to know about jQuery or just want to brush up a bit, then this blog is for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*KYKvXHqVDW2OLIXfNsxYVw.png" /></figure><h4><strong>jQuery is a JavaScript library</strong>.</h4><p>It helps you <strong>write less code</strong> compared to plain JavaScript by simplifying tasks like DOM manipulation, event handling, animations, and AJAX.</p><p>To write jQuery code, you have to enclose it in</p><pre>$document.ready(function() { <br>	&lt;jQuery code here&gt; <br>});</pre><p>or shorthand:</p><pre>$(function() {<br>	// jQuery code here<br>});</pre><blockquote>Sometimes, the image may not reload or the data might not yet be received from the backend. However, you might still attempt to perform operations on that data. To avoid such issues, it’s important to ensure that your jQuery code runs only after the document is fully loaded. That’s why we use $(document).ready(function() { ... });.</blockquote><h3>✅ Add a Class — JavaScript vs jQuery</h3><p>JavaScript</p><pre>let element = document.getElementById(&#39;myElement&#39;);<br>element.classList.add(&#39;newClass&#39;);</pre><p>jQuery</p><pre>$(&#39;#myElement&#39;).addClass(&#39;newClass&#39;)</pre><h3>✅ jQuery Selectors</h3><p><strong>Selector Type</strong> <strong>Syntax in jQuery</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*9T5YmUbn56-oqjaiG3cNQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YBuabFDVK4oJpglFFs3oKg.png" /></figure><p>Let me just show you a code snippet and imagine how many more lines of code would be if it was plain JS</p><pre>$(document).ready(function () {<br>  console.log(&quot;hello&quot;);<br><br>  $(&#39;p&#39;).on(&#39;click&#39;, function(){<br>    $(this).css(&#39;color&#39;, &#39;red&#39;)<br>  })<br>});</pre><blockquote>‘this’ is another type of selector, in the above code, when any ‘p’ element is clicked and you want to change the color of that <strong>particular </strong>line then <strong>‘this’</strong> is used, in the last 3 lines if this is not used, <strong>all the ‘p’ tag statements </strong>would have changed their color.</blockquote><h3>✅ Remove a Class — JavaScript vs jQuery</h3><p><strong>JavaScript:</strong></p><pre>function myFunction() {<br>  var element = document.getElementById(&quot;myDIV&quot;);<br>  element.classList.remove(&quot;mystyle&quot;);<br>}</pre><p><strong>jQuery:</strong></p><pre>$(&#39;#myDIV&#39;).removeClass(&#39;mystyle&#39;);</pre><p>There are many events in jQuery, let us know some of them 🚀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*-zNsYYpQvBL30vymW8ZGNg.png" /></figure><ol><li><strong>Mouse Events : </strong>click, dblclick, mouseenter, mouseleave.</li><li><strong>Keyboard Events: </strong>keypress, keydown, keyup.</li><li><strong>Form Events: </strong>submit, change, blur.</li><li><strong>Window Events: </strong>load, resize, scroll.</li></ol><h3>Here’s an example code snippet, showcasing events:</h3><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>  &lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot; /&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot; /&gt;<br>    &lt;title&gt;jQuery&lt;/title&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;h1&gt;Welcome to jQuery lab&lt;/h1&gt;<br>    &lt;p&gt;This is body&lt;/p&gt;<br>    &lt;p&gt;This is body&lt;/p&gt;<br>    &lt;p id=&quot;bdy&quot;&gt;This is diff p tag&lt;/p&gt;<br>    &lt;p&gt;This is body&lt;/p&gt;<br>  &lt;/body&gt;<br>  &lt;script src=&quot;jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;<br>  &lt;script src=&quot;myjq.js&quot;&gt;&lt;/script&gt;<br>&lt;/html&gt;</pre><pre>// This is myjq.js<br><br>$(document).ready(function () {<br>  console.log(&quot;hello&quot;);<br>  $(&quot;p&quot;).click(function () {<br>    console.log(&quot;clicked p&quot;);<br>    $(this).css(&#39;color&#39;, &#39;red&#39;);<br>  });<br>  console.log(&#39;new file&#39;);<br><br>  $(document).on(&quot;keypress&quot;, function(event){<br>    if (event.key === &quot;s&quot;){<br>      $(&#39;p&#39;).css(&quot;background-color&quot;, &quot;blue&quot;);<br>    }<br>  })<br><br>  $(&#39;#bdy&#39;).mouseenter(function(){<br>    $(&#39;p&#39;).css(&#39;color&#39;, &#39;aqua&#39;);<br>  })<br><br>  $(document).on(&quot;keydown&quot;, function(event) {<br>    if (event.key === &quot;c&quot;) {<br>      $(&quot;h1&quot;).css(&quot;background-color&quot;, &quot;orange&quot;);<br>    }<br>  });  <br><br>  $(document).on(&quot;keyup&quot;, function(event) {<br>    if (event.key === &quot;c&quot;) {<br>      $(&quot;h1&quot;).css(&quot;background-color&quot;, &quot;pink&quot;);<br>    }<br>  });  <br>});</pre><p>Try this code and have fun 🎉</p><h3>🔚 Final Words</h3><blockquote>Remember, learning how to code is all about doing 80% learning 20% 🧑🏻‍💻</blockquote><p>If you found this blog helpful, give it a clap so I stay motivated to write more content like this! 🌟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5648f7b2cf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS Tutorial.]]></title>
            <link>https://medium.com/@srivaishnavi0602/css-tutorial-a483be9cb508?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/a483be9cb508</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[cascading-style-sheets]]></category>
            <category><![CDATA[style]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css3]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Mon, 14 Jul 2025 06:06:24 GMT</pubDate>
            <atom:updated>2025-07-14T06:06:24.074Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Whether you’re brushing up on your CSS skills or just starting out, this blog has something valuable for you — from foundational concepts to practical tips including my personal experience.</em></p><h3>💡 What is CSS?</h3><p>CSS stands for <strong>Cascading Style Sheets</strong>, and it’s used to <strong>style and design websites</strong>. Think of it as the <em>makeup</em> or <em>clothing</em> of your webpage — while HTML provides the structure, CSS makes it <strong>visually appealing</strong>.</p><p>CSS adds:</p><ul><li>🎨 <strong>Colors</strong></li><li>🔠 <strong>Fonts</strong></li><li>📏 <strong>Sizes</strong></li><li>🖼️ <strong>Spacing</strong></li><li>📐 <strong>Layouts</strong></li><li>🧭 <strong>Positioning</strong></li><li>🖱️ <strong>Hover effects</strong>, animations, and more</li></ul><h3>🌊 What does “Cascade” mean?</h3><p>The word <strong>cascade</strong> means “falling in order” — like a waterfall. In CSS, it refers to <strong>how style rules are applied when there are conflicts</strong>. CSS follows a priority system (called the cascade) to decide <strong>which style should win</strong>.</p><h3>📂 What are Stylesheets?</h3><p><strong>Stylesheets</strong> are files or code blocks that contain CSS. They control how HTML elements look on a page. There are three main ways to use CSS:</p><ul><li><strong>External stylesheets</strong> (style.css)</li><li><strong>Internal stylesheets</strong> (inside &lt;style&gt; tag)</li><li><strong>Inline styles</strong> (inside an HTML element)</li></ul><h3>📷 Image Explanation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ur8eZI05jpQvn3KYd2FMmw.png" /><figcaption>Netflix clone before and after CSS</figcaption></figure><p>The image above shows the importance of CSS. Before adding CSS, the website looks bland 😅 — but once CSS is added, it becomes vibrant and beautiful!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*Gjwz6IL9eHS4wADLRW_acA.png" /></figure><p>Let’s discuss all the 3 types of writing CSS with examples. These examples involve using</p><p>1.INLINE CSS: First of all let me tell you that to give any color or gaps (inner or outer), or any style we use CSS, right ? So, to understand the examples I write here you need to know HTML first, if you don’t know HTML, then you can read my previous blog here =&gt; click <a href="https://medium.com/@srivaishnavi0602/html-cheat-sheet-summary-all-tags-explained-f4fbc19d9e56"><strong><em>here</em></strong></a></p><pre>&lt;section&gt;<br>   &lt;p style=&quot;background-color: aqua; display: inline&quot;&gt;<br>      Hello student, Welcome to my CSS blog :)<br>   &lt;/p&gt;<br>&lt;/section&gt;</pre><p>Look at the above example there is inline CSS here I have used <strong><em>“style” attribute in HTML</em></strong> to give style to the information present in paragraph tag.</p><p>If you didn’t understand what is meant by attribute then let me tell you attribute means <em>the special words used within HTML open tags to give some properties to the element.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/0*4PTGncQhDpXhRyOJ.png" /></figure><p>While using inline css we have to be careful with the syntax if you want to apply more than one style property, you have to separate each CSS property with “;” .</p><p>2. EXTERNAL CSS: I will tell you about external CSS before internal because before knowing about internal or external you need to now what are classes and ID’s, in this blog I wont go deeper into classes and ID’s because it has many things like prority order and all.</p><p>classes : Class means we can give a name to html using attribute “class” .</p><pre>&lt;section&gt;<br>   &lt;p class=&quot;description&quot;&gt;<br>      Hello student, Welcome to my CSS blog :)<br>   &lt;/p&gt;<br>&lt;/section&gt;</pre><p>I added class attribute to the “p” tag.</p><p>Now if you want to give any style to the p tag you can use .description in external or internal CSS.</p><pre>.description{<br>  width: 250px;<br>  height: 30px;<br>  background-color: rgb(247, 249, 224);<br>}</pre><p>The above type of code should be written in another file which must be saved with .css as extension, (this type of usage is called external CSS)</p><p>But you need to link the css file to HTML, let’s see that syntax too:</p><pre>&lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot; /&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot; /&gt;<br>    &lt;title&gt;survey form&lt;/title&gt;<br>    &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; /&gt;<br>&lt;/head&gt;</pre><p>Inside “head” tag there is “link” tag which is used to connect CSS with HTML, style.css is the file name where I saved my external CSS, you can use any name but it should have .css extension.</p><p>I knew you will have many doubts in your mind if you are new to CSS, but don’t worry, you will understand everything slowly.</p><p>To make you understand everything, you need to know about CSS selectors.</p><h3><strong>🎯 CSS Selectors — What, Why, and How?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*Sly7a-ur44Tq4QdCHUqR3A.png" /></figure><p>Now you might be thinking what is this CSS selector ? — I got you, css selectors are used to “select” that HTML element which you want to give style, I mean let’s say you want to mark attendance to a person, you can either call her by name or ID number or nick name or you simply see her and mark attendance, — similarly you will give style to an element using various selection methods called as CSS selectors.</p><h3>1️⃣ <strong>Universal selectors “*”</strong></h3><p>This selects <strong>every</strong> element on the page.</p><pre>* {<br>  margin: 0;<br>  padding: 0;<br>  box-sizing: border-box;<br>}</pre><p><strong>💡 <em>This is often used to remove default spacing from browsers.</em></strong></p><h3>2️⃣ Element Selector</h3><p>This selects all elements of a specific type (like all &lt;p&gt; tags, all &lt;h1&gt; tags, etc.</p><pre>p {<br>  color: blue;<br>  font-size: 18px;<br>}</pre><p>This will style <strong>every </strong><strong>&lt;p&gt; tag</strong> in your HTML.</p><h3>3️⃣ Class Selector (.)</h3><p>You use this when an element has a <strong>class attribute</strong>.</p><pre>&lt;p class=&quot;welcome&quot;&gt;Hello there!&lt;/p&gt;</pre><pre>.welcome {<br>  color: green;<br>  font-weight: bold;<br>}</pre><p>🔖 Use this when <strong>you want to style multiple elements</strong> the same way.</p><h3>4️⃣ ID Selector (#)</h3><p>Used for elements with an <strong>id attribute</strong>.</p><pre>&lt;p id=&quot;intro&quot;&gt;This is the intro.&lt;/p&gt;</pre><pre>#intro {<br>  font-size: 20px;<br>  color: purple;<br>}</pre><p>⚠️ IDs should be <strong>unique</strong> on a page — only one element per ID!</p><h3>5️⃣ Group Selector (,)</h3><p>You can apply the same style to multiple elements at once.</p><pre>h1, h2, p {<br>  font-family: Arial, sans-serif;<br>}</pre><p>✅ This is super handy for keeping your CSS neat and reducing repetition.</p><h3>6️⃣ Descendant Selector (Space)</h3><p>This targets elements <strong>inside other elements</strong>.</p><pre>&lt;div class=&quot;box&quot;&gt;<br>   &lt;p&gt;This is inside a box&lt;/p&gt;<br>&lt;/div&gt;</pre><pre>.box p {<br>  color: red;<br>}</pre><p>🎯 This only styles &lt;p&gt; tags that are <strong>inside</strong> elements with class box.</p><p>Using these selectors you can give different styles to the elements.</p><p>Now let’s see about Internal CSS.</p><p>3. INTERNAL CSS: If we write CSS inside &lt;style&gt; tag which is inside &lt;head&gt; tag of HTML file, then that’s called internal CSS.</p><p>Ex:</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br><br>&lt;head&gt;<br>    &lt;title&gt;Internal CSS&lt;/title&gt;<br>    &lt;style&gt;<br>        /* Internal CSS  */<br>        h1 {<br>            color: green;<br>            font-size: 50px;<br>        }<br><br>        p {<br>            color: blue;<br>            font-size: 25px;<br>        }<br>    &lt;/style&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br>    &lt;h1&gt;Example Insline css&lt;/h1&gt;<br>    &lt;p&gt;Read about whole CSS in this blog :)&lt;/p&gt;<br>&lt;/body&gt;<br><br>&lt;/html&gt;</pre><p>I hope the reader got some information about CSS through this blog, If you read till here, Thank you. ❤️</p><p>If you even got some idea about CSS by reading this blog, make sure to give some claps 👏🏻</p><p>Till then keep learning, keep coding, avoid burn out 🌱</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a483be9cb508" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breaking Down LLMs: What I Learned About How GPT Understands Us]]></title>
            <link>https://medium.com/@srivaishnavi0602/breaking-down-llms-what-i-learned-about-how-gpt-understands-us-a8b69420b6fb?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8b69420b6fb</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[fine-tuning]]></category>
            <category><![CDATA[transformers]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Thu, 26 Jun 2025 18:34:54 GMT</pubDate>
            <atom:updated>2025-06-26T18:34:54.201Z</atom:updated>
            <content:encoded><![CDATA[<p>Do you think AI chatbots like ChatGPT actually read words?<br><strong>Nope.</strong> Let me walk you through how it really works…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*usHh9RBlOC7C4CdBhW_7Tg.png" /></figure><h3>🔍 What are the different types of models?</h3><p>There are basically <strong>2 types of models.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*CaUSw_yQZ8M6MDjcZWl4gw.png" /></figure><p>1️⃣ <strong>Base Model:</strong></p><p>Model right after pretraining is called Base model. Ex: GPT, BERT, LLaMA</p><blockquote><strong>Pretraining </strong>is to teach each and everything to the model. That means model is fed with patterns, grammar, codes, literally — everything 📚</blockquote><ul><li>Don’t understand your intention.</li><li>They know the data but can’t respond according to user needs.</li></ul><p>2️⃣ <strong>Instruct Model:</strong></p><p>Base model that has been fine tuned with human instructions is called an instruct model, ex: ChatGPT, Gemini AI, Black Box.</p><p>These models can:</p><ul><li>Understand what you want.</li><li>Respond to your requirements clearly and accurately.</li></ul><p>Instruct models are trained using <strong>RLHF: Reinforcement learning from human feedback.</strong></p><p>That means it learns according to feedback, have you ever seen thumbs up 👍🏻symbol after each chat in ChatGPT it gives similar responses if user gives thumbs up, that’s called <strong>Reinforcement learning.</strong></p><h3>🧱 How tokenization works?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*bJxG9SBevkblO0-dB0uicA.png" /></figure><p>This is an important phase when it comes to any of prompting 🔡or fine tuning 🧽or even training models 🧮.</p><p>Tokenization is a process of breaking ⛓️‍💥a sentence into simpler tokens to understand the sentence.</p><p>For example, if you have a sentence</p><p>👉🏻 “Learning is fun”</p><p>Tokenization might convert it into:<br>🧩 [&quot;Learning&quot;, &quot;is&quot;, &quot;fun&quot;]</p><p>Some models break down words even further.<br>For instance, <strong>“Learning”</strong> could become:<br>🧩 [&quot;learn&quot;, &quot;ing&quot;]</p><blockquote>Why?<br>Because <strong>models don’t actually read words — they only read tokens</strong>.</blockquote><h3>✨ Cool Fact!</h3><p>When models are upgraded (like from <strong>GPT-3 to GPT-4</strong>), the way they handle tokenization <strong>gets more efficient</strong>.</p><p>For example:</p><ul><li>In GPT-3, the word <strong>“building”</strong> might be split into [&quot;build&quot;, &quot;ing&quot;]</li><li>In GPT-4, it’s often treated as a <strong>single token</strong>: &quot;building&quot;</li></ul><p>That means newer models can <strong>process more meaning with fewer tokens</strong>, saving memory and giving faster, more accurate responses!</p><h3>⚙️ What Happens Before the Model “Sees” Anything?</h3><p>1️⃣<strong> Input is tokenized</strong></p><p>As I explained earlier, first before even model sees anything the input text is converted into tokens.</p><p>2️⃣ <strong>Token converted into number</strong></p><p>Now each token is converted into number ID.</p><p>For example,</p><ul><li>“cat” → 3820</li><li>“running” → 9784</li></ul><p>3️⃣ <strong>Tokens → vectors</strong></p><p>Now these token numbers are converted into vector representations called embeddings. They are converted using embedding matrix.</p><p>Ex: there is a 40 dimensional vector with token ID’s</p><p>[0.21, -23, 34 … 344] (40 token ID’s)</p><p>This embedding gives meaning of the word (Finally 🎉)</p><p>4️⃣ <strong>Transformers</strong></p><p>Now word is converted into tokens and then to token ID’s then into embeddings, then what’s the role of <strong>Transformers ?</strong></p><blockquote>Text → Tokens → Token IDs → Vectors → Transformer → Output</blockquote><p>Don’t worry that’s the next topic ✨.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*UXGh5gd0HbKGMdQxIMH53Q.png" /></figure><h3>What are transformers ?</h3><p>The basic definition of transformers goes like this:</p><p>Transformers are DL architecture that process all the tokens at once. It is the brain behind LLM’s like BERT, GPT’s etc..</p><h3>How transformers work ?</h3><p>1️⃣ <strong>Self-Attention</strong></p><p>Imagine you’re reading a sentence:<br>😺 “The cat sat on the mat because it was tired.”</p><p>The word <strong>“it”</strong> refers to <strong>“cat”</strong> — but how does the model know that?</p><p>That’s where <strong>self-attention</strong> comes in.<br>It allows the model to <strong>look at every token in the sentence and decide which other tokens are important</strong> to understand the context.</p><p>So “it” looks at “cat” and realizes it’s important — boom! Context understood. 🧠✨</p><p>2️⃣ <strong>Processing All Tokens at Once</strong></p><p>Unlike RNN’s (Recurrent neural networks) which process each token, transformers process all tokens at once.</p><ul><li>They’re faster ⚡</li><li>Better at capturing long-range dependencies 🧠↔️📏</li></ul><h4>3️⃣ Stacked Layers</h4><p>Transformers are made of <strong>many layers</strong> — each layer refines the understanding of the input.<br>Think of it like:</p><ul><li>Layer 1: Understands basic grammar.</li><li>Layer 4: Understands sentence structure.</li><li>Layer 10+: Understands logic, reasoning, emotion, etc.</li></ul><h3>📦 Output from the Transformer</h3><p>Once all tokens have been processed, the model produces:</p><ul><li>A <strong>predicted next word/token</strong> (in generation tasks)</li><li>Or a <strong>final classification</strong> (in tasks like sentiment analysis, question answering, etc.)</li></ul><h3>💡 In Short:</h3><blockquote><em>Transformers let the model </em><strong><em>“pay attention”</em></strong><em> to every word in your sentence, process them </em><strong><em>all at once</em></strong><em>, and </em><strong><em>generate smart outputs</em></strong><em> based on that understanding.</em></blockquote><h3>🙌 Thank You!</h3><p>Thanks for reading this far.</p><p>And if you found this blog helpful, give it a clap so I stay motivated to write more content like this! 🌟</p><p><strong>Happy learning💻 and growing ❤️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8b69420b6fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML Cheat Sheet & Summary — All Tags Explained]]></title>
            <link>https://medium.com/@srivaishnavi0602/html-cheat-sheet-summary-all-tags-explained-f4fbc19d9e56?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4fbc19d9e56</guid>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[cheatsheet]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 18:51:23 GMT</pubDate>
            <atom:updated>2025-06-30T08:44:42.302Z</atom:updated>
            <content:encoded><![CDATA[<h3>HTML Cheat Sheet</h3><p>Need a quick HTML revision? This guide walks you through everything from basic tags to semantic HTML with real examples. Ideal for interview prep! Don’t miss the last part which is important treasure of this blog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*HLf70cC2koecM83u09hk5w.png" /></figure><p>First let’s start with what is HTML, since it’s a basic question in all interviews.</p><blockquote><strong>HTML stands for Hypertext Markup language. That means it is a markup language not a programming language. HTML is basic structure of website i.e skeleton of a website.</strong></blockquote><blockquote>Let’s break down further.</blockquote><blockquote><strong>Hypertext </strong>is text with embedded links to other digital content.</blockquote><blockquote><strong>Markup language</strong> means it uses speacial tags enclosed in angular brackets.</blockquote><p><strong>1. Paragraph Tag</strong> <strong>: </strong>This is para tag. It is used to write any text on the website.</p><pre>&lt;p&gt; This is an example of para tag &lt;/p&gt;</pre><p>✅ Use &lt;p&gt; for readable content. Browsers automatically add space (margin) before and after paragraphs.</p><p><strong>2. Anchor Tag :</strong> It is used to add links to redirect some text.</p><pre>&lt;a href=&quot;https://www.google.com&quot;&gt;Visit Google&lt;/a&gt;<br>&lt;p&gt; If user clicks on &quot;Visit Google&quot; in above sentence it will redirect to google &lt;/p&gt;</pre><p>✅ The target=&quot;_blank&quot; attribute opens the link in a new tab.</p><p><strong>3. Image Tag: </strong>It is used to display image on a website.</p><pre>&lt;img src=&quot;assets/bg.webp&quot; alt=&quot;Background image&quot;&gt;</pre><p>✅ alt text improves SEO and accessibility.<br>✅ If the image fails to load, the alt text is shown.</p><p><strong>4. Div tag:</strong> Div tag is used as a container, used if you want some specific layouts you may any tags inside div tag.</p><pre>&lt;div&gt;<br>  &lt;h2&gt;This is a heading inside a div&lt;/h2&gt;<br>  &lt;p&gt;This is a paragraph inside the same div.&lt;/p&gt;<br>&lt;/div&gt;</pre><p>✅ Developers often use div with CSS classes to style sections of a page.</p><p><strong>5. Span tag:</strong> Span tag is <strong><em>inline element</em></strong> <em>takes up </em>as much width as the content inside it — not the full width of the page.</p><pre>&lt;p&gt;This is &lt;span style=&quot;color: red;&quot;&gt;red text&lt;/span&gt; using a span tag.&lt;/p&gt;</pre><p>✅ Use it when you want to style just <strong>a few words</strong>, not a whole block.</p><p>6. <strong>input tag:</strong> input tag is used whenever we want user’s information. For example: user name, password etc..</p><pre>&lt;input type=&quot;text&quot; placeholder=&quot;Enter your name&quot;&gt;<br>&lt;p&gt; Enter your name will be text and user will enter username of type text &lt;/p&gt;</pre><p>✅ It does not have closing tag.</p><p>✅ Common attributes include:</p><ul><li>type — like text, password, number, etc.</li><li>placeholder — shows a hint inside the input box.</li></ul><p>7. <strong>button tag: </strong>Whenever you want to create buttons like submit, next, prev you can use button tag to create buttons.</p><pre>&lt;button&gt;Click Me&lt;/button&gt;</pre><p>✅ Can also be used with type=&quot;submit&quot; inside a form.</p><p>8. <strong>break tag:</strong> break tag is used when you want line break. It is a self-closing tag.</p><pre>&lt;p&gt; Hello &lt;br&gt; World! &lt;/p&gt;</pre><p>✅ Avoid overusing &lt;br&gt; for layout — use CSS for spacing instead.</p><h3>Table creation related tags</h3><ol><li>&lt;table&gt; &lt;/table&gt;</li><li>&lt;tr&gt; &lt;/tr&gt;</li><li>&lt;th&gt; &lt;/th&gt;</li><li>&lt;td&gt; &lt;/td&gt;</li></ol><p>Let’s see an example to understand more</p><pre>&lt;table border=&quot;1&quot;&gt;<br>  &lt;tr&gt;<br>    &lt;th&gt;Name&lt;/th&gt;<br>    &lt;th&gt;Age&lt;/th&gt;<br>    &lt;th&gt;City&lt;/th&gt;<br>  &lt;/tr&gt;<br><br>  &lt;tr&gt;<br>    &lt;td&gt;Alice&lt;/td&gt;<br>    &lt;td&gt;24&lt;/td&gt;<br>    &lt;td&gt;New York&lt;/td&gt;<br>  &lt;/tr&gt;<br><br>  &lt;tr&gt;<br>    &lt;td&gt;Bob&lt;/td&gt;<br>    &lt;td&gt;30&lt;/td&gt;<br>    &lt;td&gt;London&lt;/td&gt;<br>  &lt;/tr&gt;<br><br>  &lt;tr&gt;<br>    &lt;td&gt;Charlie&lt;/td&gt;<br>    &lt;td&gt;28&lt;/td&gt;<br>    &lt;td&gt;Tokyo&lt;/td&gt;<br>  &lt;/tr&gt;<br>&lt;/table&gt;</pre><ul><li>&lt;table&gt;: The table container.</li><li>&lt;tr&gt;: A row in the table.</li><li>&lt;th&gt;: A <strong>table heading</strong> (bold and centered by default).</li><li>&lt;td&gt;: A <strong>table data cell</strong> (normal content).</li></ul><h3>🧾 HTML &lt;form&gt; Tag</h3><p>The &lt;form&gt; tag in HTML is used to <strong>collect user input</strong>. It groups input fields together and allows users to <strong>submit data</strong> to a server or process it using JavaScript.</p><p>A &lt;form&gt; can include many form controls like &lt;input&gt;, &lt;textarea&gt;, &lt;select&gt;, &lt;button&gt;, etc..</p><pre>&lt;form action=&quot;/submit&quot; method=&quot;post&quot;&gt;<br>  <br>  &lt;!-- Label + Input --&gt;<br>  &lt;label for=&quot;name&quot;&gt;Name:&lt;/label&gt;<br>  &lt;input type=&quot;text&quot; id=&quot;name&quot; name=&quot;username&quot; placeholder=&quot;Enter your name&quot;&gt;<br>  &lt;br&gt;&lt;br&gt;<br><br>  &lt;!-- Textarea --&gt;<br>  &lt;label for=&quot;message&quot;&gt;Message:&lt;/label&gt;<br>  &lt;textarea id=&quot;message&quot; name=&quot;usermessage&quot; rows=&quot;4&quot; cols=&quot;30&quot; placeholder=&quot;Type your message here...&quot;&gt;&lt;/textarea&gt;<br>  &lt;br&gt;&lt;br&gt;<br><br>  &lt;!-- Select + Option --&gt;<br>  &lt;label for=&quot;country&quot;&gt;Country:&lt;/label&gt;<br>  &lt;select id=&quot;country&quot; name=&quot;usercountry&quot;&gt;<br>     &lt;option value=&quot;india&quot;&gt;India&lt;/option&gt;<br>     &lt;option value=&quot;japan&quot;&gt;Japan&lt;/option&gt;<br>  &lt;/select&gt;<br>  &lt;br&gt;&lt;br&gt;<br><br>  &lt;!-- Fieldset --&gt;<br>  &lt;fieldset&gt;<br>    &lt;legend&gt;Choose your gender:&lt;/legend&gt;<br>    &lt;input type=&quot;radio&quot; id=&quot;male&quot; name=&quot;gender&quot; value=&quot;male&quot;&gt;<br>    &lt;label for=&quot;male&quot;&gt;Male&lt;/label&gt;<br><br>    &lt;input type=&quot;radio&quot; id=&quot;female&quot; name=&quot;gender&quot; value=&quot;female&quot;&gt;<br>    &lt;label for=&quot;female&quot;&gt;Female&lt;/label&gt;<br>  &lt;/fieldset&gt;<br>  &lt;br&gt;<br><br>  &lt;!-- Output (used with JS/calculations usually) --&gt;<br>  &lt;label for=&quot;score&quot;&gt;Score:&lt;/label&gt;<br>  &lt;output id=&quot;score&quot;&gt;95&lt;/output&gt;<br>  &lt;br&gt;&lt;br&gt;<br><br>  &lt;!-- Submit Button --&gt;<br>  &lt;button type=&quot;submit&quot;&gt;Submit Form&lt;/button&gt;<br><br>&lt;/form&gt;</pre><ul><li><strong>&lt;form&gt;</strong> – Form tag is used to create a form.</li><li><strong>&lt;input&gt;</strong> – Gets user input; types include text, email, number, etc.</li><li><strong>&lt;textarea&gt;</strong> – Allows users to enter multi-line text (e.g., comments).</li><li><strong>&lt;button&gt;</strong> – Creates a clickable button for submit/reset or other actions.</li><li><strong>&lt;select&gt;</strong> – Creates a dropdown menu with multiple options.</li><li><strong>&lt;option&gt;</strong> – Used inside select tag to define the choices user can select.</li><li><strong>&lt;fieldset&gt;</strong> – Groups related form controls together visually and semantically.</li><li><strong>&lt;label&gt;</strong> – Describes or tags an input field, improving accessibility.</li><li><strong>&lt;output&gt;</strong> – Displays calculated results or values from JavaScript functions.</li></ul><h3>🏷️ Semantic Tags in HTML</h3><p>Semantic tags are used to define the <strong>meaning or purpose</strong> of a specific part of the code.<br>For example, if we wrap some code inside the &lt;nav&gt; tag, we understand that the code inside it represents the <strong>navigation bar</strong>.</p><p>Semantic tags improve:</p><ul><li>✅ Readability for developers</li><li>✅ SEO (Search Engine Optimization)</li><li>✅ Accessibility for screen readers</li></ul><h4>🔹 Commonly Used Semantic Tags</h4><ul><li><strong>Header</strong>: &lt;header&gt; tag is used to create the header section of the website like logo, nav bar, etc.</li><li><strong>Footer</strong>: &lt;footer&gt; tag is used to define the footer of the website. It usually contains copyright, links, or contact info.</li><li><strong>Article</strong>: &lt;article&gt; tag is used to write any blog, news post, or long format content that can stand alone.</li><li><strong>Section</strong>: &lt;section&gt; tag is used to divide the page into separate sections like Home, About, Projects, etc.</li><li><strong>Navigation Bar</strong>: &lt;nav&gt; tag is used to define the navigation links (like menus or internal page links).</li><li><strong>Aside</strong>: &lt;aside&gt; tag is used to show additional information related to the main content like a sidebar, ads, or tips.</li></ul><h3>🧩 Division of HTML Tags</h3><p>HTML tags can be grouped into different categories based on their purpose. This makes it easier to remember and use them efficiently:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*ok0Q915Fo5Xkv4bALRAJ5w.png" /></figure><h3>1. 📌 Metadata Tags</h3><p>Used to provide information about the document (not displayed directly).</p><ul><li>&lt;title&gt; – Sets title of the web page (seen in browser tab).</li><li>&lt;meta&gt; – Provides metadata like character set, author, etc.</li><li>&lt;link&gt; – Links external resources (e.g., CSS files).</li><li>&lt;style&gt; – Embeds CSS within the HTML file.</li></ul><h3>2. ✍️ Text Formatting Tags</h3><p>Used to format and style text.</p><ul><li>&lt;p&gt; – Paragraph</li><li>&lt;h1&gt; to &lt;h6&gt; – Headings</li><li>&lt;strong&gt; – Bold text with emphasis</li><li>&lt;em&gt; – Italic text with emphasis</li><li>&lt;br&gt; – Line break</li><li>&lt;hr&gt; – Horizontal rule</li></ul><h3>3. 📥 Form Tags</h3><p>Used to collect user input.</p><ul><li>&lt;form&gt; – Form container</li><li>&lt;input&gt; – Input field</li><li>&lt;textarea&gt; – Multi-line text input</li><li>&lt;select&gt; – Dropdown menu</li><li>&lt;option&gt; – Options inside dropdown</li><li>&lt;button&gt; – Button</li><li>&lt;fieldset&gt; – Groups form elements</li><li>&lt;label&gt; – Describes input</li><li>&lt;output&gt; – Shows result (JS-based)</li></ul><h3>4. 🧾 Table Tags</h3><p>Used to create tabular data layout.</p><ul><li>&lt;table&gt; – Table container</li><li>&lt;tr&gt; – Table row</li><li>&lt;th&gt; – Table header cell</li><li>&lt;td&gt; – Table data cell</li><li>&lt;thead&gt;, &lt;tbody&gt;, &lt;tfoot&gt; – Table sections (optional but useful for structure)</li></ul><h3>5. 🔗 Hyperlink &amp; Media Tags</h3><p>Used to link or embed content.</p><ul><li>&lt;a&gt; – Anchor tag for hyperlinks</li><li>&lt;img&gt; – Embed images</li><li>&lt;audio&gt; – Embed audio</li><li>&lt;video&gt; – Embed video</li><li>&lt;iframe&gt; – Embed other web pages</li></ul><h3>6. 🧠 Semantic Tags</h3><p>Provide meaning to HTML elements and improve SEO &amp; accessibility.</p><ul><li>&lt;header&gt; – Header section</li><li>&lt;footer&gt; – Footer section</li><li>&lt;article&gt; – Independent article content</li><li>&lt;section&gt; – Section of content</li><li>&lt;nav&gt; – Navigation links</li><li>&lt;aside&gt; – Sidebar content</li><li>&lt;main&gt; – Main content block</li></ul><h3>7. 🎨 Inline vs Block Tags</h3><p>How elements behave in page layout.</p><ul><li><strong>Block elements</strong>: Take full width (e.g., &lt;div&gt;, &lt;p&gt;, &lt;section&gt;)</li><li><strong>Inline elements</strong>: Take only required width (e.g., &lt;span&gt;, &lt;a&gt;, &lt;strong&gt;)</li></ul><h3>8. 🏷️ Attributes &amp; Identifiers</h3><p>Used to customize tags and connect with CSS/JS.</p><ul><li>id – Unique identifier</li><li>class – Group styling</li><li>Common attributes: src, href, alt, type, placeholder, controls, etc.</li></ul><h3>9. ✳️ SVG &amp; Media Tags</h3><p>For vector graphics and audio/video content.</p><ul><li>&lt;svg&gt; – Scalable Vector Graphics</li><li>&lt;circle&gt;, &lt;rect&gt;, etc. – Inside &lt;svg&gt; for shapes</li><li>&lt;audio&gt; &amp; &lt;video&gt; – Media playback tags</li></ul><h3>10. ✨ Special Utility Tags</h3><ul><li>&lt;sub&gt;, &lt;sup&gt; – Subscript and superscript</li><li>&lt;pre&gt; – Preserves white spaces and formatting</li><li>&lt;div&gt; – Generic block container</li><li>&lt;span&gt; – Generic inline container</li></ul><p>✅ These divisions help in understanding <strong>where and when to use each tag</strong>. You can also use this classification during <strong>interview revision or project development</strong>.</p><h3>🔚 Finally</h3><p>If you found this blog helpful, give it a clap so I stay motivated to write more content like this! 🌟</p><p><strong>Happy coding ! ❤️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4fbc19d9e56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚠️ Don’t Let GitHub Block Your Clone Repo like mine — Follow These Rules]]></title>
            <link>https://medium.com/@srivaishnavi0602/%EF%B8%8F-dont-let-github-block-your-clone-repo-like-mine-follow-these-rules-0ed090f60e6a?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ed090f60e6a</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[github-pages]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 18:34:29 GMT</pubDate>
            <atom:updated>2025-06-03T18:34:29.938Z</atom:updated>
            <content:encoded><![CDATA[<h3>⚠️ <strong>Don’t Let GitHub Block Your Clone Repo like mine — Follow These Rules</strong></h3><p><em>Learn how I accidentally got my Netflix clone repo disabled on GitHub and what rules you must follow to avoid takedowns when hosting clone projects.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*F6ZV5FdsdrefmgSqSxII3A.png" /></figure><h3>🚫 My Netflix Clone Repo Got Disabled!</h3><p>A few days ago, I was excited about one of my projects — a <strong>Netflix clone</strong> I built to improve my frontend skills. It had animations, responsiveness, and a polished UI. I decided to push it to GitHub and even hosted it using GitHub Pages. It felt great to share it publicly.</p><p>But then… I received an unexpected email from GitHub Trust &amp; Safety.<br><strong>My repository had been disabled.</strong></p><p>I was shocked. I hadn’t written any malicious code. I hadn’t done anything harmful. Or so I thought.</p><p>After reading the email carefully and doing some research, I realized where I went wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VEQMv_r5UbYlkxi_Uo4vJg.jpeg" /></figure><h3>🧠 What Went Wrong?</h3><p>Even though I had built the project from scratch using my own HTML, CSS, and JavaScript, <strong>I had used the original Netflix logo and branding</strong>. That was the mistake.</p><p>Using copyrighted assets — like a company’s official logo or mimicking their brand design — <strong>without proper disclaimers</strong> or <strong>violating their terms</strong> can lead to your repository being disabled, even if your intention was purely educational.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rT5l3lUUPxU3QO2aMz0qOg.jpeg" /></figure><h3>✅ What GitHub Actually Allows (With Conditions)</h3><p>GitHub is not completely against hosting clone projects. In fact, creating clones is a <strong>common learning practice</strong>, especially among web developers. But there are <strong>rules you must follow</strong> to stay compliant and protect your account.</p><p>Here’s what I learned after digging into GitHub’s policies and community guidelines:</p><h3>1️⃣ Add a Clear Disclaimer in Your README.md</h3><p>This should mention that:</p><ul><li>Your project is for educational purposes only.</li><li>It is <strong>not affiliated with or endorsed by the original company</strong> (like Netflix, Instagram, etc.).</li><li>The brand, logo, or design is used only for learning and demonstration.</li></ul><p>💡 Example:</p><pre>Disclaimer: This project is a Netflix clone built for learning purposes only. It is not affiliated with Netflix in any way. All rights to the original logo and brand belong to Netflix.</pre><h3>2️⃣ Add the Same Disclaimer on the Website Itself</h3><p>Your deployed clone (via GitHub Pages or any other platform) must also show this disclaimer <strong>visibly on the website</strong>. Ideally, place it:</p><ul><li>In the footer of the site</li><li>Or as a popup/banner when the page loads</li></ul><p>This helps anyone visiting your site understand that it’s just a learning project and not an official product.</p><h3>3️⃣ Make Sure Your Website is Static Only</h3><p>This is important when you’re hosting on GitHub Pages:</p><ul><li>Your clone should <strong>not collect any user data</strong>, especially sensitive information like email, password, etc.</li><li>Do <strong>not</strong> implement any login functionality — even as a simulation.</li><li>The website must remain <strong>read-only</strong> and for display purposes only.</li></ul><h3>🎯 Key Takeaways</h3><p>Here’s a quick checklist if you’re building and deploying clone projects:</p><p>✅ Don’t use original logos or copyrighted assets<br>✅ If you use any, add proper disclaimers<br>✅ Keep your site static — no real login forms<br>✅ Avoid mimicking real functionality that might confuse users<br>✅ Respect GitHub’s <a href="https://docs.github.com/en/site-policy/github-terms/github-terms-of-service">Terms of Service</a> and <a href="https://docs.github.com/en/site-policy/github-terms/github-community-guidelines">Community Guidelines</a></p><h3>🛡️ Why This Matters</h3><p>As developers, especially beginners, we often don’t think about licensing or copyright when learning and building projects. But as your portfolio grows and becomes public, it’s important to <strong>follow responsible coding and publishing practices</strong>.</p><p>This not only protects you from takedowns but also builds your reputation as a developer who cares about ethics and open-source contribution guidelines.</p><h3>📚 Final Thoughts</h3><p>I’m glad I learned this early in my journey. I’ve now updated my future clones with proper disclaimers and branding warnings. I wanted to share this experience so <strong>you don’t have to go through the same hassle</strong>.</p><p>If you’re a beginner or working on frontend projects for your portfolio, be mindful of this. GitHub is a great platform to showcase your work — just make sure you play by the rules.</p><p>✨ <strong>Have you faced something similar?</strong><br> ✨ <strong>Do you include disclaimers in your clone projects?</strong><br> Let me know your thoughts in the comments! I’d love to hear your experiences and help each other grow as ethical developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ed090f60e6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ice Cube That Changed How I Think About Progress]]></title>
            <link>https://medium.com/@srivaishnavi0602/the-ice-cube-that-changed-how-i-think-about-progress-c353e03d63a4?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/c353e03d63a4</guid>
            <category><![CDATA[negative-thoughts]]></category>
            <category><![CDATA[negativity]]></category>
            <category><![CDATA[comparison]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[positive-thinking]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 17:53:18 GMT</pubDate>
            <atom:updated>2025-06-02T17:53:18.077Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Inspired by “Atomic Habits” by James Clear</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*tfmB0dIxK602LDR0EvlH2A.png" /></figure><p>Have you ever felt like you were putting in effort but seeing zero results? That all your hard work was pointless? I’ve been there. And a simple metaphor from the book <em>Atomic Habits</em> helped me shift my mindset entirely.</p><p>Let me paint the picture that blew my mind:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*v13WRcdbif5w_SZrYDbARg.png" /></figure><blockquote><em>Imagine an ice cube sitting on a table in front of you. The room is cold — 25 degrees.<br> Slowly, the temperature rises… 26°, 27°, 28° — but still, nothing changes.<br> 29°, 30°, 31° — the ice remains frozen.<br> Then, at 32°, it begins to melt.</em></blockquote><blockquote>A <strong>one-degree shift</strong> unlocks visible transformation, after so many steps that seemed to do nothing at all.</blockquote><p>That visual hit me hard.</p><h3>My Ice Cube Moment with DSA 👩🏻‍💻</h3><p>I’ve felt that stuck 😶‍🌫️ feeling many times.<br>Especially when I began learning DSA (Data Structures and Algorithms). 💻 Everyone around me seemed to get it. They could look at a problem and immediately start typing out solutions. 📝<br>Meanwhile, I was just… staring at the screen. 😐</p><p>No ideas. No confidence. No clue where to begin. 🌫️<br>I felt defeated — like I was putting in effort, but it didn’t matter. 😓</p><p>And then came the worst part: comparison.<br>I’d scroll through posts where people were acing coding challenges, getting selected for top internships, cracking interviews. And here I was… still confused by basic recursion problems. It felt like I was behind — like I had started too late.</p><p>But something kept me going.<br>Maybe it was stubbornness. Maybe it was hope.<br>Either way, I told myself, <em>“Just solve one more problem.” 📝</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*Z0CXGbo7AkV1nmtBXWZkEQ.png" /></figure><h3>Invisible Effort Is Still Effort</h3><p>Looking back, I realize now: I was in my <strong>25° to 31° phase</strong>.<br>Nothing seemed to be changing on the outside, but inside, <strong>I was getting stronger</strong>. I was learning how to debug. I was reading others’ code and understanding logic. I was getting used to failure — and still showing up the next day.</p><p>And then one day… something clicked.</p><p>A problem that would’ve taken me hours before? I solved it in 20 minutes.<br>For the first time, I felt <strong>flow</strong> — not frustration.<br>That was my 32° moment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zm_mk5Z7ugmM5P-ZLi8dZw.png" /></figure><h3>Most People Quit Before the Breakthrough 🚫</h3><p>That’s what James Clear was talking about.<br>We often expect progress to be <strong>linear</strong> — like every unit of effort gives you an equal reward. But real growth is <strong>compounding</strong>.<br>And like compounding interest, the magic happens later — if you’re consistent.</p><p>But most people quit at 29°, or even 31°.<br>Because they don’t realize how close they are</p><h3>What I Learned 📝</h3><p>This lesson isn’t just about DSA. It’s about <strong>everything</strong>:</p><ul><li>Starting a side project</li><li>Preparing for an exam</li><li>Writing your first blog</li><li>Building a habit</li><li>Growing a following</li><li>Learning something totally new</li></ul><p>All of these start slow. All of these feel invisible.<br>Until one day, they don’t.</p><p>That’s the power of <strong>showing up</strong>.</p><h3>And Lastly, to Myself…</h3><p>This post isn’t just for readers.<br>It’s for <em>me</em>, too — because I still face moments of doubt. 🤔</p><p>When I feel like I’m not doing enough, when my ideas feel small, when my motivation dips — I remind myself of the ice cube.</p><blockquote>Progress isn’t always <strong>loud</strong>. 📢 Sometimes it’s a <strong>quiet 🤫 degree of warmth</strong> building up.<br> And when it melts, it’ll all make sense.</blockquote><p>So if you’re reading this and you’re on the edge of giving up — hang in there. You’re closer than you think.</p><h3>💬 Let’s Talk</h3><p>Have you experienced your own “ice cube” moment? Or are you in the middle of one right now? I’d love to hear your story in the comments. 💙</p><h3>🙌 Thank You!</h3><p>Thanks for reading this far.</p><p>And if you found this blog helpful, give it a clap so I stay motivated to write more content like this! 🌟</p><p><strong>Happy coding 💻 and growing ❤️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c353e03d63a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get out of tutorial hell]]></title>
            <link>https://medium.com/@srivaishnavi0602/get-out-of-tutorial-hell-4544e387d0f9?source=rss-c6ea0bd16930------2</link>
            <guid isPermaLink="false">https://medium.com/p/4544e387d0f9</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-dev-resources]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Sri Vaishnavi]]></dc:creator>
            <pubDate>Fri, 30 May 2025 18:49:09 GMT</pubDate>
            <atom:updated>2025-05-30T18:49:09.960Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*io4oFA1roely2vpC7jXO3g.png" /></figure><p>Hello everyone!<br>In this blog, I’m going to document my journey and share one of the most valuable lessons I’ve learned so far. My coding journey is still ongoing, but I couldn’t wait to share this insight with you.</p><blockquote>That lesson is: <strong>Get out of tutorial hell</strong>.</blockquote><p>You might be thinking, <em>“We already saw that in the title — so what’s the big deal?”</em><br>Well, I got you! Let’s dive in.</p><h3>🌱 How It All Started</h3><p>My programming journey began during the summer holidays after I completed 12th grade. I wrote my first line of code at a local coding institute and instantly felt the magic. Soon, I discovered a passion for creating websites. I started watching a lot of YouTube videos and exploring different resources. My first language was C, which gave me a solid foundation.</p><p>Then I came across a term that many students fear: <strong>DSA (Data Structures and Algorithms)</strong>.<br>Sounds scary, right?</p><p>I started learning DSA in C using the <em>Code With Harry</em> YouTube channel — one of my favorite resources to this day. I realized that just watching videos wasn’t enough. I needed to <em>solve problems</em> on platforms like LeetCode, GeeksforGeeks, HackerRank, and CodeChef.</p><p>So I started solving problems… and guess what?<br>I ended up crying. 😅<br>I felt like I couldn’t solve anything. But I didn’t give up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*LXwzRmIg3rTZJV5yLhULjg.png" /></figure><h3>💻 Web Dev + The Trap of Tutorial Hell</h3><p>At the same time, I was also learning web development. While building projects, I often got stuck.<br>And here comes the trap: <strong>tutorial hell</strong>.</p><p>Do you Google things you don’t know?<br>Or do you feel that the tutorial you were following is no longer helpful and start searching for a new one from scratch?</p><p>If you’re constantly jumping from one tutorial to another without applying what you’ve learned — you’re stuck in <strong>tutorial hell</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJm_LaiRriYtYv9Tn3qd2Q.jpeg" /></figure><h3>🧠 Software = Googling?</h3><p>You’ve probably heard this before:</p><blockquote><em>“Software development is all about Googling.”</em></blockquote><p>It’s true. No one remembers <em>every</em> HTML tag, <em>every</em> CSS property, or <em>every</em> JavaScript concept. Tutorials help you get started — but the rest of the journey is <em>your responsibility</em>.</p><p>I used to feel bad that I couldn’t remember all the CSS properties. But let’s be real — are we writing an exam here? Why worry about memorizing everything?</p><p>If you want to create a box and forget how to do it, just Google it.<br>That’s not a problem. The real problem is when you copy an entire project from Google without understanding a single line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IIk1jMhQFkxZyo-aocT1qg.png" /></figure><h3>🧭 Learn What to Google</h3><p>It’s okay to forget things. Check your notes. Not there? Google it.</p><p>But here’s the catch:<br>There’s a <em>right</em> and <em>wrong</em> way to Google.</p><p><strong>Suppose you want to create a box in HTML/CSS.</strong></p><p>❌ <strong>Wrong way to Google:</strong></p><blockquote><em>“Full website code with animations and navbar and login system”</em></blockquote><p>✅ <strong>Right way to Google:</strong></p><blockquote><em>“How to create a div with border and padding in CSS”</em></blockquote><p>You see the difference? One is about copying an entire solution without understanding it. The other is about learning one piece at a time.</p><p>Now you might be thinking: <em>“Isn’t searching for each element the same as searching for the whole website?”</em><br>No, and here’s why.</p><p>Let me ask you — are the border, color, and padding requirements of that copied div exactly the same as yours?<br><strong>No, right?</strong><br>That’s the difference I’m talking about.</p><p>Don’t just copy and paste code blindly. <strong>Modify it according to your own needs.</strong><br>That’s when real learning begins.</p><h3>🚀 Final Thoughts</h3><p>Breaking out of tutorial hell isn’t about avoiding tutorials altogether — it’s about learning to build on your own. Tutorials are a starting point, not the destination.</p><p>Use them to learn, then take small steps to try things on your own. Build projects, get stuck, Google solutions, and most importantly — <em>keep going</em>.</p><p>Your journey is unique, and it’s okay to struggle. What matters is that you’re moving forward.</p><h3>🙌 Thank You!</h3><p>Thanks for reading this far. If you’re also on this journey, let me know — I’d love to hear your story!</p><p>And if you found this blog helpful, give it a clap so I stay motivated to write more content like this! 🌟</p><p><strong>Happy coding 💻 and growing ❤️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4544e387d0f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>