<?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: Shubham Pancharas</title>
    <description>The latest articles on DEV Community by Shubham Pancharas (@pancharas_shubham_).</description>
    <link>https://dev.to/pancharas_shubham_</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%2F1531858%2F4f8deaf4-5a0f-451d-ad54-47d1a4843121.png</url>
      <title>DEV Community: Shubham Pancharas</title>
      <link>https://dev.to/pancharas_shubham_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pancharas_shubham_"/>
    <language>en</language>
    <item>
      <title>I Built InspireX to Fight the Short-Form Content Trap</title>
      <dc:creator>Shubham Pancharas</dc:creator>
      <pubDate>Tue, 25 Aug 2026 04:35:11 +0000</pubDate>
      <link>https://dev.to/pancharas_shubham_/i-built-inspirex-to-fight-the-short-form-content-trap-16cd</link>
      <guid>https://dev.to/pancharas_shubham_/i-built-inspirex-to-fight-the-short-form-content-trap-16cd</guid>
      <description>&lt;p&gt;Short-form content is incredibly good at one thing: keeping you scrolling. &lt;/p&gt;

&lt;p&gt;You open Instagram or YouTube Shorts intending to watch one thing. Thirty minutes later, you've consumed dozens of videos and remember almost none of them.&lt;/p&gt;

&lt;p&gt;I wanted to experiment with a different approach.&lt;/p&gt;

&lt;p&gt;So I started building &lt;strong&gt;InspireX&lt;/strong&gt;, a project focused on creating a more intentional way to discover and consume content.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inspire-x-pink.vercel.app" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;The problem isn't that short-form content is inherently bad.&lt;/p&gt;

&lt;p&gt;The problem is the recommendation loop.&lt;/p&gt;

&lt;p&gt;Most platforms optimize for metrics like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Watch time&lt;/li&gt;
&lt;li&gt;Engagement&lt;/li&gt;
&lt;li&gt;Retention&lt;/li&gt;
&lt;li&gt;More sessions&lt;/li&gt;
&lt;li&gt;More content consumed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That creates a system where the easiest way to keep a user engaged is to continuously remove the friction between one piece of content and the next.&lt;/p&gt;

&lt;p&gt;I wanted to explore the opposite question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What if a content platform optimized for what the user actually gets from the content?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Instead of building another infinite feed, InspireX is an experiment around &lt;strong&gt;intentional content discovery&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8jecy0ewy88otfgyo2eq.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%2F8jecy0ewy88otfgyo2eq.png" alt="prompt" width="800" height="1713"&gt;&lt;/a&gt;&lt;br&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%2Fcbwykgm6kpctk5n9g5u9.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%2Fcbwykgm6kpctk5n9g5u9.png" alt="feed-section" width="691" height="1463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm Building
&lt;/h2&gt;

&lt;p&gt;The initial idea behind InspireX is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Help people discover useful and inspiring content without getting trapped in an endless consumption loop.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project is still evolving, but the direction is to combine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Curated content&lt;/li&gt;
&lt;li&gt;A focused discovery experience&lt;/li&gt;
&lt;li&gt;Better content organization&lt;/li&gt;
&lt;li&gt;A cleaner interface&lt;/li&gt;
&lt;li&gt;Eventually, AI-assisted content processing and automation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The interesting part isn't just building the UI.&lt;/p&gt;

&lt;p&gt;It's figuring out what the product should actually optimize for.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I Built It
&lt;/h2&gt;

&lt;p&gt;I originally approached this as a frontend project.&lt;/p&gt;

&lt;p&gt;That quickly became insufficient.&lt;/p&gt;

&lt;p&gt;Building another React interface is not particularly difficult anymore. AI can generate a decent-looking interface in minutes.&lt;/p&gt;

&lt;p&gt;The harder questions are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What problem am I actually solving?&lt;/li&gt;
&lt;li&gt;Who has this problem?&lt;/li&gt;
&lt;li&gt;What behavior am I trying to change?&lt;/li&gt;
&lt;li&gt;What should the product optimize for?&lt;/li&gt;
&lt;li&gt;How do I know whether the solution is useful?&lt;/li&gt;
&lt;li&gt;How do I get real people to use it?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those questions turned InspireX from a simple coding project into a product experiment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Engineering Lessons
&lt;/h2&gt;

&lt;p&gt;One of the biggest lessons so far has been that building the feature is only one part of building a real product.&lt;/p&gt;

&lt;p&gt;I've had to deal with things that aren't particularly glamorous:&lt;/p&gt;

&lt;h3&gt;
  
  
  Deployment
&lt;/h3&gt;

&lt;p&gt;Getting the application deployed is easy.&lt;/p&gt;

&lt;p&gt;Getting it to behave correctly in production is another story.&lt;/p&gt;

&lt;p&gt;Routing, caching, asset handling, refresh behavior, and environment configuration can all create problems that don't appear during local development.&lt;/p&gt;

&lt;p&gt;A project that works perfectly on &lt;code&gt;localhost&lt;/code&gt; is not necessarily a working product.&lt;/p&gt;

&lt;p&gt;Humanity continues to discover this the hard way.&lt;/p&gt;

&lt;h3&gt;
  
  
  SEO
&lt;/h3&gt;

&lt;p&gt;I also started looking more seriously at technical SEO.&lt;/p&gt;

&lt;p&gt;That meant dealing with things such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Page titles&lt;/li&gt;
&lt;li&gt;Meta descriptions&lt;/li&gt;
&lt;li&gt;Canonical URLs&lt;/li&gt;
&lt;li&gt;Indexability&lt;/li&gt;
&lt;li&gt;Route configuration&lt;/li&gt;
&lt;li&gt;Crawlability&lt;/li&gt;
&lt;li&gt;Duplicate content&lt;/li&gt;
&lt;li&gt;Sitemap configuration&lt;/li&gt;
&lt;li&gt;Production rendering&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This forced me to think about the application as something that has to be &lt;strong&gt;discovered&lt;/strong&gt;, not just something that has to be built.&lt;/p&gt;

&lt;h3&gt;
  
  
  Debugging
&lt;/h3&gt;

&lt;p&gt;Another important lesson has been learning to distinguish between:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"The code is broken."&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;"The code works, but the environment around it is behaving differently than expected."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That sounds obvious.&lt;/p&gt;

&lt;p&gt;It wasn't obvious when I started.&lt;/p&gt;

&lt;p&gt;I've had issues where the application itself was functioning correctly but caching or deployment behavior made it look broken.&lt;/p&gt;

&lt;p&gt;Learning to debug systematically instead of randomly changing code has probably been more valuable than learning another framework.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where AI Fits
&lt;/h2&gt;

&lt;p&gt;I'm also exploring how AI and automation could extend InspireX.&lt;/p&gt;

&lt;p&gt;One possible direction is a pipeline where long-form content can be:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Discovered&lt;/li&gt;
&lt;li&gt;Evaluated&lt;/li&gt;
&lt;li&gt;Extracted&lt;/li&gt;
&lt;li&gt;Summarized&lt;/li&gt;
&lt;li&gt;Converted into smaller pieces&lt;/li&gt;
&lt;li&gt;Categorized&lt;/li&gt;
&lt;li&gt;Presented through a focused discovery experience&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For example, useful long-form YouTube content could potentially become structured, concise pieces of content instead of requiring users to consume an entire video just to discover whether it is useful.&lt;/p&gt;

&lt;p&gt;But I'm deliberately treating this as an experiment rather than blindly adding AI because every project apparently needs an AI sticker now.&lt;/p&gt;

&lt;p&gt;The AI needs to solve a real bottleneck.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Bigger Goal
&lt;/h2&gt;

&lt;p&gt;InspireX is also part of a bigger goal I'm working toward.&lt;/p&gt;

&lt;p&gt;I don't want to only become someone who can build interfaces.&lt;/p&gt;

&lt;p&gt;I want to become someone who can take a problem from:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem → Research → Product → Engineering → Deployment → Distribution → Feedback → Iteration&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a much harder skill set.&lt;/p&gt;

&lt;p&gt;And it is much more useful than being able to reproduce another dashboard from a tutorial.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;The next stage for InspireX is less about adding random features and more about validating the core idea.&lt;/p&gt;

&lt;p&gt;I'm focusing on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Improving the current user experience&lt;/li&gt;
&lt;li&gt;Fixing production and SEO issues&lt;/li&gt;
&lt;li&gt;Understanding what content users actually find valuable&lt;/li&gt;
&lt;li&gt;Experimenting with content curation&lt;/li&gt;
&lt;li&gt;Exploring AI-assisted content processing&lt;/li&gt;
&lt;li&gt;Measuring actual usage instead of assuming the product is useful&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal isn't to build the most complicated system.&lt;/p&gt;

&lt;p&gt;The goal is to find out whether the underlying idea is worth building.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;InspireX started as a project.&lt;/p&gt;

&lt;p&gt;It's becoming an experiment in product development.&lt;/p&gt;

&lt;p&gt;The biggest thing I'm learning is that software engineering doesn't end when the application runs.&lt;/p&gt;

&lt;p&gt;A real product has to survive production, be discoverable, solve an actual problem, and give users a reason to come back.&lt;/p&gt;

&lt;p&gt;That's the part I'm interested in learning.&lt;/p&gt;

&lt;p&gt;And InspireX is currently my laboratory for doing exactly that.&lt;/p&gt;

&lt;p&gt;check-out source code - &lt;a href="https://github.com/pancharasshubham/inspirex" rel="noopener noreferrer"&gt;https://github.com/pancharasshubham/inspirex&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>opensource</category>
      <category>productdevelopment</category>
    </item>
    <item>
      <title>Basic JavaScript Through the Salaar Lens - Part 1</title>
      <dc:creator>Shubham Pancharas</dc:creator>
      <pubDate>Tue, 11 Mar 2025 21:03:25 +0000</pubDate>
      <link>https://dev.to/pancharas_shubham_/basic-javascript-through-the-salaar-lens-part-1-54ma</link>
      <guid>https://dev.to/pancharas_shubham_/basic-javascript-through-the-salaar-lens-part-1-54ma</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;JavaScript is one of the most powerful programming languages used for web development. But what if we could make learning JavaScript as thrilling as the world of Salaar? By drawing parallels between JavaScript concepts and the epic saga of Salaar, we can make learning more engaging and memorable. In this guide, we'll explore JavaScript through the lens of Salaar, comparing programming principles with warriors, clans, and battle strategies.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log("Welcome to JavaScript, the Salaar way!");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Story of var, let, and const in Salaar
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Scope and Hoisting in the Kingdom of Khansaar
&lt;/h3&gt;

&lt;h4&gt;
  
  
  var – The Old Ruler of Khansaar
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;var is like the old ruling system of Khansaar—powerful but outdated.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has function scope but no block scope, which can create unexpected results.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is hoisted but initialized with undefined.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(leader); // undefined (hoisted but not assigned)
var leader = "Old King of Khansaar";

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  let – The Strategic War General
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;let is like Deva, the rising warrior who follows structured war strategies.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has block scope, meaning it is only accessible within the block it is declared in.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Unlike var, it is hoisted but not initialized.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if (true) {
  let warPlan = "Attack at dawn";
  console.log(warPlan); // Accessible inside the block
}
console.log(warPlan); // Error: warPlan is not defined

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  const – The Unshakable Khansaar Throne
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;const represents the Supreme Leader—unchanging and absolute.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has block scope like let, but once assigned, its value cannot be changed.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const supremeLeader = "Khansaar King";
supremeLeader = "New King"; // Error: Cannot reassign a constant variable

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Best Practices / Important Notes
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Use console.table instead of console.log&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;accountId = 46
accountEmail = "rajmanar_ka_salaar@gmail.com"
accountPassword = "Maa@143"
accountCity = "Tinsukia"
accountState = "Assam"

console.table([accountId, accountEmail, accountPassword, accountCity, accountState])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Important Primitive Data Types
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
String (Represents text)
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let warrior = "Deva"; // Name of the warrior
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.&lt;br&gt;
Number (Represents numerical values)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let age = 35; // Deva's age
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.&lt;br&gt;
Boolean (Represents true/false values)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let isKaaparWarrior = true; // Deva belongs to Kaapar clan
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4.&lt;/p&gt;

&lt;p&gt;Undefined (A variable that has been declared but not assigned a value)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let weapon;
console.log(weapon); // undefined (Deva's weapon is not assigned yet)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5.&lt;br&gt;
Null (Represents an empty or unknown value)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let throne = null;             // Throne of Khansaar is currently empty
console.log((throne));         // null 
console.log(typeof(throne));   // object
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;6.&lt;/p&gt;

&lt;p&gt;Symbol (Represents a unique value)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let uniqueID = Symbol("deva");
console.log(uniqueID); // Symbol(deva)
console.log(typeof(uniqueID)); // symbol
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;7.&lt;/p&gt;

&lt;p&gt;BigInt (Used for very large numbers beyond the safe integer limit)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let kingdomWealth = BigInt(9876543210123456789);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Best Practices / Important Notes
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Type of Null Datatype is object. Refer to Null Datatype.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(typeof(throne));     // object
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;"use strict"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Imagine Khansaar had a chaotic rule earlier where warriors could take any weapon without permission (non-strict mode). Now, with Rajamannar disciplined leadership (strict mode), every action is monitored and mistakes are punished.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"use strict";

warrior = "Deva"; // ❌ Error: warrior is not defined (undeclared variable)
console.log(warrior);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Without "use strict", JavaScript would assume warrior is a global variable and run without error. But in strict mode, it prevents such mistakes, enforcing proper variable declarations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data Types Conversions
&lt;/h2&gt;

&lt;p&gt;1.&lt;br&gt;
 String to Number&lt;/p&gt;

&lt;p&gt;Deva wants to convert his warrior rank (stored as a string) into a number.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let rank = "1"; 
let numericRank = Number(rank);  
console.log(numericRank); // Output: 1

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.&lt;br&gt;
 Number to String&lt;/p&gt;

&lt;p&gt;Vardha wants to convert his power level into a string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let powerLevel = 9000;
let powerStr = String(powerLevel);
console.log(powerStr); // Output: "9000"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.&lt;br&gt;
 Boolean to Number&lt;/p&gt;

&lt;p&gt;A warrior’s loyalty (true or false) is converted into a number.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let isLoyal = true;
let loyalNumber = Number(isLoyal);
console.log(loyalNumber); // Output: 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4.&lt;br&gt;
 Number to Boolean&lt;/p&gt;

&lt;p&gt;If an army size is 0, it means no warriors. Any non-zero value means they exist.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let armySize = 100;
let hasArmy = Boolean(armySize);
console.log(hasArmy); // Output: true

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5.&lt;br&gt;
 String to Boolean&lt;/p&gt;

&lt;p&gt;A non-empty string means a warrior exists.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let warriorName = "Deva";
console.log(Boolean(warriorName)); // Output: true

let emptyName = "";
console.log(Boolean(emptyName)); // Output: false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;`&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>datatype</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What is a web server ?</title>
      <dc:creator>Shubham Pancharas</dc:creator>
      <pubDate>Sun, 08 Sep 2024 19:53:45 +0000</pubDate>
      <link>https://dev.to/pancharas_shubham_/what-is-a-web-server--5hf0</link>
      <guid>https://dev.to/pancharas_shubham_/what-is-a-web-server--5hf0</guid>
      <description>&lt;h1&gt;
  
  
  Web server refers to both hardware and software.
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;A web server is not like a supercomputer or any other large machine.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;** Basically web server is another computer that acts as a host to store webpage files and software. **&lt;/p&gt;

&lt;p&gt;A web server is like a special computer that stores all the parts of a website, like the text, images, and styles. It connects to the Internet so people can visit the website from their own devices.&lt;/p&gt;

&lt;p&gt;The web server also has software that knows how to handle requests when someone types a web address (URL) in their browser. It understands these requests and sends back the right content from the website to the person’s device so they can see the webpage.&lt;/p&gt;

&lt;p&gt;A web server is a computer that helps people visit websites. It has special software called an HTTP server that understands website addresses (URLs) and uses a language called HTTP to show pages in your browser. When you type a website's address, the server sends the right pages to your device so you can see them.&lt;/p&gt;

&lt;p&gt;When your browser asks for a file from a web server, it sends a request using HTTP. The server then finds the file and sends it back to your browser so you can view it. If the file isn't there, the server tells you with a “404 error,” which means the page can’t be found.&lt;/p&gt;

</description>
      <category>webserver</category>
      <category>apache2</category>
      <category>nginx</category>
      <category>internet</category>
    </item>
  </channel>
</rss>
