Domesticated Brain

Introduction to JavaScript

Java script is a scripting language

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

Advantages of java script

  • Java script is relatively easy to learn as it has a really simple syntax
  • It can be used to improve functionality of a web site
  • When compared it’s faster than other languages
  • A simple web browser and a simple text editor are the only two requirements to learn java script
  • Platform independent

 The given below is a simple java script program of which the output is print 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>

 

If you have found  what you expected please comment and like on our facebook page