{"id":6681,"date":"2021-07-07T05:46:36","date_gmt":"2021-07-07T05:46:36","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=6681"},"modified":"2022-04-13T16:30:48","modified_gmt":"2022-04-13T16:30:48","slug":"what-is-javescript","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/","title":{"rendered":"What is JaveScript?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">JavaScript is the programming language of HTML and the Web. It makes the web pages dynamic. It is an interpreted programming language with object-oriented capabilities. JavaScript is also known as client-side language. This is the client site language itself. But some people also call it server site language.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The meaning of the client site which is accessed by the user is called client site language. And what runs in the server is called the server-side language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JaveScript History<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>JavaScript was introduced in 1995 by Netscape. And it was developed by Brendan Eich.<\/strong><\/li><li><strong>It was first named Mocha.<\/strong><\/li><li><strong>After that its name was changed to Livescript.<\/strong><\/li><li><strong>Then javascript.<\/strong><\/li><li><strong>Then it came to be called Ekamscript. But still people call it JavaScript only.<\/strong><\/li><li><strong>There is a 5,6 version of Ekscript. May have come in 2009.<\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Tools<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Notepad<\/strong><\/li><li><strong>Notepad++<\/strong><\/li><li><strong>Any Text Editor<\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScrips and Java Same?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">No, Only java has similarities in JavaScript and java, apart from this there are no similarities in it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Java programming language was very popular when Javascripts was being launched in the market, so they merged java with them, and then it was named JavaScript.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Advantage of JavaScript<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Client Side execution<\/strong><\/li><li><strong>Velidation on Browser<\/strong><\/li><li><strong>easy language<\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Disadvantage of JavaScript<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Less Secure<\/strong><\/li><li><strong>No Hardware Access<\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why of adding JavaScript<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here too, if you want to use JavaScript, then you have to link both the files through your HTML. And it has its own different rules.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<ul class=\"wp-block-list\"><li><strong>Inline<\/strong><\/li><\/ul>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">-Inside head tag<br>-inside body tag<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>External file<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">-Inside head Tag<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\">-Inside body Tag<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Inline<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can write inline in 2 ways, inline and external.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Inside head Tag &#8211;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;html&gt;\n\t&amp;lt;head&gt;&amp;lt;title&gt;Hello JS&amp;lt;\/title&gt;\n\t\t&amp;lt;script type=&quot;text\/javascript&quot;&gt;\n\t\t\tdocument.write(&quot;Hello DevOpSchool&quot;);\n\t\t&amp;lt;\/script&gt;\n\t&amp;lt;\/head&gt;\n\t&amp;lt;\/body&gt;\n`\t\t&amp;lt;h1&gt;I am heading&amp;lt;\/h1&gt;\n\t\t&amp;lt;p&gt;I am Paraghraph&amp;lt;\/p&gt;\n\t&amp;lt;\/body&gt;\n\t\n&amp;lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Inside body tag<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;html&gt;\n\t&amp;lt;head&gt;&amp;lt;title&gt;Hello JS&amp;lt;\/title&gt;\n\t\t\n\t&amp;lt;\/head&gt;\n\t&amp;lt;\/body&gt;\n`\t\t&amp;lt;h1&gt;I am heading&amp;lt;\/h1&gt;\n\t\t&amp;lt;p&gt;I am Paraghraph&amp;lt;\/p&gt;\n\t\t&amp;lt;script type=&quot;text\/javascript&quot;&gt;\n\t\t\tdocument.write(&quot;Hello DevOpSchool&quot;);\n\t\t&amp;lt;\/script&gt;\n\t&amp;lt;\/body&gt;\n\t\n&amp;lt;\/html&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">External<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Inside head tag<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;html&gt;\n\t&amp;lt;head&gt;&amp;lt;title&gt;Hello JS&amp;lt;\/title&gt;\n\t\t&amp;lt;script src=&quot;name.js&quot; type=&quot;text\/javascript&quot;&gt;\n\t\t&amp;lt;\/script&gt;\n\t&amp;lt;\/head&gt;\n\t&amp;lt;\/body&gt;\n`\t\t&amp;lt;h1&gt;I am heading&amp;lt;\/h1&gt;\n\t\t&amp;lt;p&gt;I am Paraghraph&amp;lt;\/p&gt;\n\t\t\n\t&amp;lt;\/body&gt;\n\t\n&amp;lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>*Save with .js extension<\/strong><br>  <strong>Ex:- name.js<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">*<strong>Now link this file to HTML<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Inside Body tag<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;html&gt;\n\t&amp;lt;head&gt;&amp;lt;title&gt;Hello JS&amp;lt;\/title&gt;\n\t\t\n\t&amp;lt;\/head&gt;\n\t&amp;lt;\/body&gt;\n`\t\t&amp;lt;h1&gt;I am heading&amp;lt;\/h1&gt;\n\t\t&amp;lt;p&gt;I am Paraghraph&amp;lt;\/p&gt;\n\t\t\n\t\t&amp;lt;script src=&quot;name.js&quot; type=&quot;text\/javascript&quot;&gt;\n\t\t&amp;lt;\/script&gt;\n\t&amp;lt;\/body&gt;\n\t\n&amp;lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>*Save with .js extension<br>  Ex:- name.js<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>*Now link this file to HTML<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript is the programming language of HTML and the Web. It makes the web pages dynamic. It is an interpreted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[16],"tags":[1886,5134,4459,5095,1009,686,2769],"class_list":["post-6681","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-client","tag-css","tag-html","tag-javascript","tag-notepad","tag-programming-language","tag-web-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is JaveScript? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is JaveScript? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"JavaScript is the programming language of HTML and the Web. It makes the web pages dynamic. It is an interpreted [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-07T05:46:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-13T16:30:48+00:00\" \/>\n<meta name=\"author\" content=\"rajeshkumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rajeshkumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/\"},\"author\":{\"name\":\"rajeshkumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"headline\":\"What is JaveScript?\",\"datePublished\":\"2021-07-07T05:46:36+00:00\",\"dateModified\":\"2022-04-13T16:30:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/\"},\"wordCount\":302,\"commentCount\":0,\"keywords\":[\"Client\",\"css\",\"HTML\",\"Javascript\",\"Notepad++\",\"Programming Language\",\"web server\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/\",\"name\":\"What is JaveScript? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-07-07T05:46:36+00:00\",\"dateModified\":\"2022-04-13T16:30:48+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-javescript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is JaveScript?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\",\"name\":\"rajeshkumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"caption\":\"rajeshkumar\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rajeshkumar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is JaveScript? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/","og_locale":"en_US","og_type":"article","og_title":"What is JaveScript? - scmGalaxy","og_description":"JavaScript is the programming language of HTML and the Web. It makes the web pages dynamic. It is an interpreted [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/","og_site_name":"scmGalaxy","article_published_time":"2021-07-07T05:46:36+00:00","article_modified_time":"2022-04-13T16:30:48+00:00","author":"rajeshkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rajeshkumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/"},"author":{"name":"rajeshkumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"headline":"What is JaveScript?","datePublished":"2021-07-07T05:46:36+00:00","dateModified":"2022-04-13T16:30:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/"},"wordCount":302,"commentCount":0,"keywords":["Client","css","HTML","Javascript","Notepad++","Programming Language","web server"],"articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/","name":"What is JaveScript? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-07-07T05:46:36+00:00","dateModified":"2022-04-13T16:30:48+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-javescript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"What is JaveScript?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361","name":"rajeshkumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","caption":"rajeshkumar"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rajeshkumar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6681"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6681\/revisions"}],"predecessor-version":[{"id":6700,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6681\/revisions\/6700"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}