<?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 Sarika Singh Rajput on Medium]]></title>
        <description><![CDATA[Stories by Sarika Singh Rajput on Medium]]></description>
        <link>https://medium.com/@sari.work999?source=rss-9e5e3c474c0c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jA1R5MuJMm8jpbBYiVmQCw.jpeg</url>
            <title>Stories by Sarika Singh Rajput on Medium</title>
            <link>https://medium.com/@sari.work999?source=rss-9e5e3c474c0c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 04:05:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sari.work999/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[What is JavaScript?]]></title>
            <link>https://medium.com/@sari.work999/what-is-javascript-b57892af363f?source=rss-9e5e3c474c0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b57892af363f</guid>
            <category><![CDATA[java-vs-javascript]]></category>
            <category><![CDATA[what-is-javascript]]></category>
            <category><![CDATA[javascript-in-brief]]></category>
            <dc:creator><![CDATA[Sarika Singh Rajput]]></dc:creator>
            <pubDate>Tue, 28 Feb 2023 13:48:50 GMT</pubDate>
            <atom:updated>2023-02-28T13:48:50.062Z</atom:updated>
            <content:encoded><![CDATA[<p>This is one of the most common question asked by an interviewer. As the whole word is a combination of “Java” + “script”. Most of the people confuses it with Java. So, let me tell you JavaScript and Java are worlds apart. Lets dive deeper and understand more about it…</p><p>JavaScript is a<strong> scripting language</strong>, known as <strong>browser’s language</strong> that allows you to implement complex features on web pages. As it is the only language that can be understood by the browser. Every time you see a web page doing more than simply displaying static content for you to look at — <strong>interactive maps, animated 2D/3D graphics, scrolling video jukeboxes</strong>, etc. you can bet that JavaScript is probably involved.</p><p># <strong>It is the third layer of the layer cake of standard web technologies other than HTML and CSS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*i7OjuStaM8pji_JJ__tXgA.png" /><figcaption>Web Browser Cake</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*5yZlZRd4bti91JBW2M-WUA.jpeg" /></figure><ul><li>HTML is the<strong> markup language</strong> that we <strong>use to structure and give meaning to our web content</strong>, for example defining paragraphs, headings, and data tables, or embedding images and videos in the page.<br>This layer is called as <strong><em>STRUCTURAL</em></strong> Layer.</li><li>CSS is a language of <strong>style rules</strong> that we <strong>use to apply styling to our HTML content</strong>, for example setting background colors and fonts, and laying out our content in multiple columns and hence the CSS layer is can be called as <strong><em>PRESENTATIONAL</em></strong> Layer.</li><li>JavaScript is a <strong>scripting language</strong> that enables you to create dynamically updating content, control multimedia, animate images etc. This layer is called as <strong><em>BEHAVIORAL</em></strong> Layer.</li></ul><p># <strong>In web browsers, JavaScript consists of three main parts:</strong></p><ul><li>ECMAScript provides the core functionality.</li><li>The <a href="https://www.javascripttutorial.net/javascript-dom/">Document Object Model (DOM)</a> provides interfaces for interacting with elements on web pages</li><li>The <a href="https://www.javascripttutorial.net/javascript-bom/">Browser Object Model (BOM)</a> provides the browser API for interacting with the web browser.</li></ul><p>Now the question comes, JavaScript is a client-side or server-side language? What do you think? 😂</p><p>If you ask me I would say its both 😎. JavaScript is both client-side or server-side language.</p><blockquote><strong># </strong>When JavaScript is used on a web page, it is executed in web browsers. In this case, JavaScript works as a client-side language. Example, Angular, React.js, Vue.js etc.</blockquote><blockquote># When JavaScript is executed on the servers allowing you to access databases and file systems. In this case, JavaScript works as a server-side language. <strong>A popular server side JS environment is Node.js</strong></blockquote><p>So far we know about JavaScript, now lets know the things that makes JavaScript more demanding than any other language.</p><h3>Why is JavaScript in demand?</h3><p>JavaScript is the most popular and hence the most loved language around the globe. Let us discuss some of its amazing features :</p><ul><li><strong>No need for compilers:</strong> Since JavaScript is also known as an interpreted language, therefore it does not need any compiler for compilation.</li><li><strong>Used both Client and Server-side:</strong> Earlier JavaScript was used to build client-side applications only, but with the evolution of its frameworks namely Node.js and Express.js, it is now widely used for building server-side applications too.</li><li><strong>Helps to build a complete solution:</strong> As we saw, JavaScript is widely used in both client and server-side applications, therefore it helps us to build an end-to-end solution to a given problem.</li><li><strong>Used everywhere:</strong> JavaScript is so loved because it can be used anywhere. It can be used to develop websites, games or mobile apps, etc.</li><li><strong>Huge community support:</strong> JavaScript has a huge community of users and mentors who love this language and take it’s legacy forward.</li></ul><h3>How JavaScript and Java are different from each other ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MoOurnCPueuwUUU0shWZfQ.png" /></figure><p>Soon I will write the next part the story with some more interesting concepts of JavaScript.</p><p>If you have any specific question , leave it in the comment.</p><p>Happy Learning, Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b57892af363f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>