Introduction to JavaScript

Java script is a scripting language           

It’s a cross-platform object oriented language and very easy to learn

Advantages of JavaScript

Platform independent

Having a simple syntax, JavaScript is easy to learn

When compared, it’s faster than other languages

It can be used to improve the functionally of a website

A simple web browser and a text editor are enough to learn JavaScript

The given below is a simple java script program of which the output is printing Hello World on the web browser

<!DOCTYPE html>
<html>
  <head>
      <title>
      First JavaScript Program
      </title>
  </head>

  <body>
      <script type="text/javascript">
                document.write("Hello World");
      </script>
  </body>
</html>