<?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 Muhammad Abdullah Arshed on Medium]]></title>
        <description><![CDATA[Stories by Muhammad Abdullah Arshed on Medium]]></description>
        <link>https://medium.com/@abdullaharshed7?source=rss-08cf7ff5e8e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_laYQzOAszxpgHSj9V-eGg.jpeg</url>
            <title>Stories by Muhammad Abdullah Arshed on Medium</title>
            <link>https://medium.com/@abdullaharshed7?source=rss-08cf7ff5e8e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:54:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdullaharshed7/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[Type Conversion and Coercion]]></title>
            <link>https://medium.com/@abdullaharshed7/type-conversion-and-coercion-29a2368f1146?source=rss-08cf7ff5e8e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/29a2368f1146</guid>
            <category><![CDATA[type-conversion]]></category>
            <category><![CDATA[type-coercion]]></category>
            <dc:creator><![CDATA[Muhammad Abdullah Arshed]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 10:26:04 GMT</pubDate>
            <atom:updated>2024-09-19T10:26:04.104Z</atom:updated>
            <content:encoded><![CDATA[<p>There are two related but distinct concepts in JavaScript: Type Conversion and Type Coercion. Type Conversion occurs when we manually convert one data type to another. Type Coercion, on the other hand, happens automatically when JavaScript converts types behind the scenes.</p><pre>// Type Conversion<br>const inputYear = &quot;1991&quot;;<br>console.log(Number(inputYear) + 18);</pre><pre>console.log(String(23), 23);</pre><p>This code demonstrates Type Conversion, showing the actual output after manually converting types.</p><pre>// Type Coercion<br>console.log(&quot;I am &quot; + 23 + &quot; years old&quot;);<br>console.log(`I am ${23} years old`);</pre><p>This produces a string that says “I’m 23 years old,” but how does that work when 23 is a number? We have different types here: a String, a Number, and another String.</p><pre>// Normal Concatenation Method<br>I am 23 years old<br><br>// Using Template Literals<br>I am 23 years old</pre><p>This works due to Type Coercion. In JavaScript, the plus (+) operator triggers coercion to strings. When an operation involves a number and a string, the number is converted to a string. Template literals work similarly, without requiring manual type conversion.</p><p><strong>Consider this example:</strong></p><pre>console.log(&quot;Output is:&quot;);<br>console.log(&quot;23&quot; - &quot;10&quot; - 3);</pre><p><strong>It gives us:</strong></p><pre>Output is: 10</pre><p>This occurs because JavaScript converts the strings to numbers behind the scenes. The minus (-) operator triggers the opposite coercion.</p><p><strong>Let’s examine another scenario:</strong></p><pre>let n = &quot;1&quot; + 1; // &quot;11&quot;<br>n = n - 1; // &quot;11&quot; - 1<br>console.log(&quot;Output is:&quot;, n);</pre><p><strong>The output is:</strong></p><pre>Output is: 10</pre><p>The output is 10 because the first line results in “11” (a string concatenation of “1” and 1). Then, the second line subtracts 1 from “11”. The minus operator coerces “11” to the number 11, resulting in 10.</p><h3>About the Author</h3><p>I’m a front-end developer passionate about creating intuitive web experiences with JavaScript and React.js. I write about web development and tech trends. Follow me for more insights!</p><h3>Let’s Connect!</h3><p><a href="https://www.linkedin.com/in/muhammad-abdullah-arshad-/"><strong>LinkedIn</strong></a><strong> </strong><a href="https://github.com/abdullah-hub17"><strong>Github</strong></a></p><h3>Enjoyed this article? Don’t forget to give it a clap 👏 and share it with others!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29a2368f1146" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Use of Semantic Tags in HTML]]></title>
            <link>https://medium.com/@abdullaharshed7/the-use-of-semantic-tags-in-html-7c34f03cac03?source=rss-08cf7ff5e8e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c34f03cac03</guid>
            <category><![CDATA[html-semantics-tags]]></category>
            <category><![CDATA[semantic-elements]]></category>
            <dc:creator><![CDATA[Muhammad Abdullah Arshed]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 08:55:22 GMT</pubDate>
            <atom:updated>2024-08-27T08:55:22.276Z</atom:updated>
            <content:encoded><![CDATA[<p>In the past, when building HTML documents, we often relied heavily on the &lt;div&gt; tag for every structural component like the header, navbar, footer, content, etc. This approach led to many extra styling and manual adjustments for each element.</p><p>To address this challenge, HTML introduced semantic elements, making our code more meaningful and easier to manage. Semantic tags describe the element’s purpose, making the content clearer for developers and browsers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DHdR7rSL-YWdYqzjzxcnxw.png" /></figure><h4>List of Semantic Elements:</h4><ul><li>&lt;article&gt;</li><li>&lt;aside&gt;</li><li>&lt;details&gt;</li><li>&lt;figcaption&gt;</li><li>&lt;figure&gt;</li><li>&lt;footer&gt;</li><li>&lt;header&gt;</li><li>&lt;main&gt;</li><li>&lt;mark&gt;</li><li>&lt;nav&gt;</li><li>&lt;section&gt;</li><li>&lt;summary&gt;</li><li>&lt;time&gt;</li></ul><h4>Let’s Explore Some Commonly Used Semantic Elements:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*7pOJASJU_lOfG_xV-tlHGQ.png" /></figure><h4>1. &lt;header&gt;:</h4><p>The &lt;header&gt; element represents a container for introductory content or navigational links. It typically includes:</p><ul><li>One or more heading elements (&lt;h1&gt; - &lt;h6&gt;)</li><li>A logo or icon</li><li>Authorship information</li></ul><h4>2. &lt;nav&gt;:</h4><p>The &lt;nav&gt; element defines a set of navigation links.</p><h4>3. &lt;aside&gt;:</h4><p>The &lt;aside&gt; element contains content that is related to the main content but is positioned outside the main flow (like a sidebar).</p><h4>4. &lt;section&gt;:</h4><p>A &lt;section&gt; is a thematic grouping of content, usually introduced with a heading. Common uses include:</p><ul><li>Chapters</li><li>Introductions</li><li>News items</li><li>Contact information</li></ul><h4>5. &lt;article&gt;:</h4><p>The &lt;article&gt; element represents a piece of content that can stand alone and be independently distributable, such as:</p><ul><li>Forum posts</li><li>Blog posts</li><li>User comments</li><li>Product descriptions</li><li>Newspaper articles</li></ul><h4>6. &lt;footer&gt;:</h4><p>The &lt;footer&gt; element defines the footer for a document or section. It usually contains:</p><ul><li>Authorship information</li><li>Copyright details</li><li>Contact information</li><li>Sitemap</li><li>“Back to top” links</li><li>Related documents</li></ul><h4>7. &lt;figure&gt;:</h4><p>The &lt;figure&gt; tag specifies self-contained content like illustrations, diagrams, photos, or code blocks.</p><h4>8. &lt;figcaption&gt;:</h4><p>The &lt;figcaption&gt; tag defines a caption for a &lt;figure&gt; element. It can be placed either as the first or last child within the &lt;figure&gt;.</p><h4>Why Use Semantic Elements?</h4><p>Semantic elements provide more structure and clarity, making it easier for different applications, enterprises, and communities to share and reuse data. They improve accessibility, enhance SEO, and create cleaner, more understandable code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*aMzA_ZoCzZc4ip6orN8asw.jpeg" /></figure><p>Here we can see that the use of good semantics will effectively set the structure of a web page.</p><h3>About the Author</h3><p>I’m a front-end developer passionate about creating intuitive web experiences with JavaScript and React.js. I write about web development and tech trends. Follow me for more insights!</p><h3>Let’s Connect!</h3><p><a href="https://www.linkedin.com/in/muhammad-abdullah-arshad-/"><strong>LinkedIn</strong></a><strong> </strong><a href="https://github.com/abdullah-hub17"><strong>Github</strong></a></p><h3>Enjoyed this article? Don’t forget to give it a clap 👏 and share it with others!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c34f03cac03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How the Web Works!]]></title>
            <link>https://medium.com/@abdullaharshed7/how-the-web-works-a80780fef986?source=rss-08cf7ff5e8e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a80780fef986</guid>
            <category><![CDATA[how-the-web-works]]></category>
            <dc:creator><![CDATA[Muhammad Abdullah Arshed]]></dc:creator>
            <pubDate>Mon, 26 Aug 2024 10:42:30 GMT</pubDate>
            <atom:updated>2024-08-26T14:20:22.065Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered what happens when you type a website address (URL) and press enter? Let’s break it down!</p><h4><strong>What is a URL?</strong></h4><p>A <strong>URL (Uniform Resource Locator)</strong> is used to locate resources over the internet, such as web pages (HTML documents), images, videos, and fonts. When you enter a URL and hit enter, the process of loading the web page begins.</p><h4><strong>The Role of the Browser (Client) and Server</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vXzSOiRdZHQWsGr_30JsA.png" /></figure><p>Two key components are involved: the <strong>client</strong> (your browser) and the <strong>server</strong>. The client (browser) requests a service, and the server responds with that service. In simpler terms, when you enter a URL, your browser asks the server to provide the homepage of that website.</p><p>This communication happens through a protocol known as <strong>HTTP (Hypertext Transfer Protocol)</strong>, which is essentially the “language” that the client and server use to talk to each other — though it’s not a programming language.</p><p>Additionally, there are <strong>HTTPs</strong> — HTTP with encryption. HTTPs ensure that the data exchanged between the client and server is encrypted and secure.</p><h4>Example HTTP Request</h4><p>When you request a web page, the client sends a message to the server in a structured format:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0jVph9P1KAMvDdPPfJEe8Q.png" /></figure><p>This message is an <strong>HTTP request</strong>, and the server processes it to understand what the client is asking for.</p><h4>The Server’s Response</h4><p>Once the server understands the request, it sends back a response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AocTwoTRsX6r5LFQEi8vbQ.png" /></figure><p>Then the server sends the requested content, such as an HTML document:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WD7d4DbDJqAb3V28pLRJyA.png" /></figure><h4>How the Browser Renders the Page</h4><p>As the browser reads the HTML document, it builds the <strong>DOM (Document Object Model)</strong>, representing the objects and elements on the page.</p><p>But there’s more! The HTML document might contain multiple references, like images or stylesheets. For each reference, the browser sends a separate HTTP request to fetch those resources. These requests are often sent in parallel to load the page as quickly as possible, ensuring a smooth user experience.</p><h3>About the Author</h3><p>I’m a front-end developer passionate about creating intuitive web experiences with JavaScript and React.js. I write about web development, design, and tech trends. Follow me for more insights!</p><h3>Let’s Connect!</h3><p><a href="https://www.linkedin.com/in/muhammad-abdullah-arshad-/"><strong>LinkedIn</strong></a><strong> </strong><a href="https://github.com/abdullah-hub17"><strong>Github</strong></a></p><h4><strong>Enjoyed this article? Don’t forget to give it a clap 👏 and share it with others!</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a80780fef986" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>