{"id":1537,"date":"2021-08-28T05:52:55","date_gmt":"2021-08-28T05:52:55","guid":{"rendered":"https:\/\/www.sagaratechnology.com\/blog\/?p=1537"},"modified":"2021-11-16T04:00:03","modified_gmt":"2021-11-16T04:00:03","slug":"what-is-javascript-here-guide-for-beginners","status":"publish","type":"post","link":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/","title":{"rendered":"What is JavaScript? Here Guide for Beginners"},"content":{"rendered":"\n<p>JavaScript is the most widely used programming language in the development of websites, applications, games, and more. In fact, products from large companies such as Google, Facebook, and LinkedIn have also used JavaScript. let&#8217;s look at the article what is javascript, what is its function?.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f23b1686478\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f23b1686478\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#What_is_Javascript\" >What is Javascript?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#JavaScript_Functions\" >JavaScript Functions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#JavaScript_Make_the_Website_More_Attractive\" >JavaScript Make the Website More Attractive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Creating_Mobile_Applications\" >Creating Mobile Applications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Developing_Web_Browser-Based_Games\" >Developing Web Browser-Based Games<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Running_the_Web_Server\" >Running the Web Server<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Advantages_of_Javascript\" >Advantages of Javascript<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Easy_to_Understand_and_Learn\" >Easy to Understand and Learn<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Flexible_Use\" >Flexible Use<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Lighter_Server_Load\" >Lighter Server Load<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Can_be_used_for_all_needs\" >Can be used for all needs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#Have_an_Active_Community\" >Have an Active Community<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_Javascript\"><\/span>What is Javascript?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>JavaScript is a popular programming language used to create websites with <a href=\"https:\/\/www.sagaratechnology.com\/blog\/\">dynamic website<\/a> content. In fact, there is more than 67.7 percent of developers use JavaScript.<\/p>\n\n\n\n<p>JavaScript itself is actually usually collaborated with HTML and CSS. Where HTML is used to create website structures and CSS to design website page styles. <\/p>\n\n\n\n<p>Then, JavaScript plays the role of adding <a href=\"https:\/\/www.youtube.com\/channel\/UCEgphDbJ89XiszXoPqyJTXg\">interactive elements<\/a> to increase user engagement.<\/p>\n\n\n\n<p>This programming language was originally a programming language that only worked from the client-side or front end. This means that the processing of code will only run in the browser.<\/p>\n\n\n\n<p>Along with its development, this programming language can not only be used on the client-side, but also on the server-side. Execution of this programming language on the server-side can be done by utilizing its framework platforms such as Node.js, React.js, and others.<\/p>\n\n\n\n<h2><span class=\"ez-toc-section\" id=\"JavaScript_Functions\"><\/span>JavaScript Functions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"JavaScript_Make_the_Website_More_Attractive\"><\/span>JavaScript Make the Website More Attractive<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It is able to make websites look more attractive and interactive, with dynamic content.<\/p>\n\n\n\n<p>For example, content that moves and updates in real-time without the need to reload all web pages many times.<\/p>\n\n\n\n<p>For example, like google maps, when the route pointer feature is activated, Google Maps can continue to update your position in real-time without the need to reload. This certainly cannot be done without using JavaScript.<\/p>\n\n\n\n<p>Well, by using this programming language, visitors will certainly feel comfortable for hours exploring your website, right?<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Creating_Mobile_Applications\"><\/span>Creating Mobile Applications<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The next function is to create mobile applications. In the past, mobile applications could only be developed using the Java programming language for Android. <\/p>\n\n\n\n<p>Now, this programming language can be used in the mobile API to create mobile applications.<\/p>\n\n\n\n<p>It is also easier to create mobile applications with the existence of a JavaScript framework specifically for mobile applications, such as React Native. With this framework, you can create mobile applications for two operating systems at once, namely Android and iOS.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Developing_Web_Browser-Based_Games\"><\/span>Developing Web Browser-Based Games<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Not only creating web pages, but JavaScript can also function to develop browser-based online games.<\/p>\n\n\n\n<p>To make this browser game, this programming language is combined with HTML5 which is able to make the game more interesting. Some popular JavaScript games, such as Lord of Ultima and Flappy Bird.<\/p>\n\n\n\n<p>This JavaScript-based game development is also supported by game-specific JavaScript frameworks, such as Playground.js, Panda.js, and Quintus.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Running_the_Web_Server\"><\/span>Running the Web Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Finally, along with its development, this programming language is not only able to work on the browser side, but also on the server-side using Node.js.<\/p>\n\n\n\n<p>This Node.js will execute JavaScript code on the server-side so that it can run websites, web applications, and browser-based games.<\/p>\n\n\n\n<p>Node.js is also better able to handle multiple processes simultaneously, without having to wait for one process to finish first. So the process can be done faster.<\/p>\n\n\n\n<h2><span class=\"ez-toc-section\" id=\"Advantages_of_Javascript\"><\/span>Advantages of Javascript<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In addition to its various functions, here are some of the advantages that make it popular:<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Easy_to_Understand_and_Learn\"><\/span>Easy to Understand and Learn<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Programming languages have their own level of difficulty. Well, JavaScript is one that is easy to learn.<\/p>\n\n\n\n<p>The syntax or writing the code is very concise so it is easy to understand. if the code in the c++ language is 8 lines, this programming language is only one line<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Flexible_Use\"><\/span>Flexible Use<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>With JavaScript, websites can be made from the client side which is more dynamic and interactive. Even with its development, this programming language is not only used on the client or browser side. But also on the server-side with Node.js.<\/p>\n\n\n\n<p>With it, you can develop a variety of software such as servers, mobile and desktop applications, games, and consoles.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Lighter_Server_Load\"><\/span>Lighter Server Load<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Pun, proses kerjanya di sisi server dinilai sangat efisien. Sebab, cara kerjanya yang bersifat non-blocking. Artinya, prosesnya tidak akan berhenti satu proses saja. Bahkan, dapat dilakukan bersamaan, jika proses sebelumnya tidak membutuhkan output.&nbsp;<\/p>\n\n\n\n<p>Dengan kata lain, beban kerja server akan jauh lebih ringan jika menggunakan JavaScript.&nbsp;&nbsp;<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Can_be_used_for_all_needs\"><\/span>Can be used for all needs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can use JavaScript for various needs. Not only for the front-end, you can even manage the server (backend) using Node.js.<\/p>\n\n\n\n<p>By using this programming language, you can develop websites more efficiently. Because, you don&#8217;t need to bother using other programming languages.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Have_an_Active_Community\"><\/span>Have an Active Community<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Besides being easy to learn and flexible, Javascript also has the support of an active developer community.<\/p>\n\n\n\n<p>With this community, you can get help from the community if you experience problems such as bugs when developing your application. So, it will be easier to find a solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript is the most widely used programming language in the development of websites, applications, games, and more. In fact, products from large companies such as Google, Facebook, and LinkedIn have also used JavaScript. let&#8217;s look at the article what is javascript, what is its function?. What is Javascript? JavaScript is a popular programming language used&#8230;<\/p>\n","protected":false},"author":14,"featured_media":1582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[109,124,10],"tags":[56,228],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is JavaScript? Here Guide for Beginners - Sagara Asia Blog<\/title>\n<meta name=\"description\" content=\"What is javascript ?, JavaScript is the most widely used programming language in the development of websites, applications, games, and more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"What is JavaScript? Here Guide for Beginners - Sagara Asia Blog\" \/>\n<meta name=\"twitter:description\" content=\"What is javascript ?, JavaScript is the most widely used programming language in the development of websites, applications, games, and more.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/08\/Screen-Shot-2021-08-27-at-17.51.22.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sagara Technology\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is JavaScript? Here Guide for Beginners - Sagara Asia Blog","description":"What is javascript ?, JavaScript is the most widely used programming language in the development of websites, applications, games, and more.","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:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/","twitter_card":"summary_large_image","twitter_title":"What is JavaScript? Here Guide for Beginners - Sagara Asia Blog","twitter_description":"What is javascript ?, JavaScript is the most widely used programming language in the development of websites, applications, games, and more.","twitter_image":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/08\/Screen-Shot-2021-08-27-at-17.51.22.jpg","twitter_misc":{"Written by":"Sagara Technology","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#article","isPartOf":{"@id":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/"},"author":{"name":"Sagara Technology","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/e25a7dce1900980898a69a7c63241723"},"headline":"What is JavaScript? Here Guide for Beginners","datePublished":"2021-08-28T05:52:55+00:00","dateModified":"2021-11-16T04:00:03+00:00","mainEntityOfPage":{"@id":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/"},"wordCount":804,"commentCount":0,"publisher":{"@id":"https:\/\/sagaratechnology.com\/blog\/#organization"},"keywords":["JavaScript","what is Javasript"],"articleSection":["Fintech","Technology","Tips teknologi"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/","url":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/","name":"What is JavaScript? Here Guide for Beginners - Sagara Asia Blog","isPartOf":{"@id":"https:\/\/sagaratechnology.com\/blog\/#website"},"datePublished":"2021-08-28T05:52:55+00:00","dateModified":"2021-11-16T04:00:03+00:00","description":"What is javascript ?, JavaScript is the most widely used programming language in the development of websites, applications, games, and more.","breadcrumb":{"@id":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sagaratechnology.com\/blog\/what-is-javascript-here-guide-for-beginners\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sagaratechnology.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Business + Tech Solution","item":"https:\/\/sagaratechnology.com\/blog\/category\/tech-business\/"},{"@type":"ListItem","position":3,"name":"Fintech","item":"https:\/\/sagaratechnology.com\/blog\/category\/tech-business\/fintech\/"},{"@type":"ListItem","position":4,"name":"What is JavaScript? Here Guide for Beginners"}]},{"@type":"WebSite","@id":"https:\/\/sagaratechnology.com\/blog\/#website","url":"https:\/\/sagaratechnology.com\/blog\/","name":"Sagara Asia Blog","description":"Dapatkan Informasi Seputar Teknologi dan Bisnis","publisher":{"@id":"https:\/\/sagaratechnology.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sagaratechnology.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sagaratechnology.com\/blog\/#organization","name":"Sagara Technology","url":"https:\/\/sagaratechnology.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/10\/sagara-logo.jpeg","contentUrl":"https:\/\/sagaratechnology.com\/blog\/wp-content\/uploads\/2021\/10\/sagara-logo.jpeg","width":200,"height":200,"caption":"Sagara Technology"},"image":{"@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/sagara-asia\/"]},{"@type":"Person","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/e25a7dce1900980898a69a7c63241723","name":"Sagara Technology","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sagaratechnology.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/55085e31e9427bed3336eaea67c72b96?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55085e31e9427bed3336eaea67c72b96?s=96&d=mm&r=g","caption":"Sagara Technology"},"sameAs":["https:\/\/sagaratechnology.com","https:\/\/www.facebook.com\/Sagaratechnology","https:\/\/www.linkedin.com\/company\/sagara-asia\/"]}]}},"_links":{"self":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/1537"}],"collection":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/comments?post=1537"}],"version-history":[{"count":4,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/1537\/revisions"}],"predecessor-version":[{"id":1584,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/posts\/1537\/revisions\/1584"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/media\/1582"}],"wp:attachment":[{"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/media?parent=1537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/categories?post=1537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sagaratechnology.com\/blog\/wp-json\/wp\/v2\/tags?post=1537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}