0 votes
in JavaScript by
How to write a hello world example of JavaScript?

1 Answer

0 votes
by

A simple example of JavaScript hello world is given below. You need to place it inside the body tag of HTML.

  1. <script type="text/javascript">  
  2. document.write("JavaScript Hello World!");  
  3. </script>  

Related questions

0 votes
asked Oct 5, 2019 in Android by pranay jain
0 votes
asked Mar 10 in JavaScript by DavidAnderson
...