A simple example of JavaScript hello world is given below. You need to place it inside the body tag of HTML.
<script type="text/javascript">
document.write("JavaScript Hello World!");
</script>
document.write("JavaScript Hello World!");
</script>
A simple example of JavaScript hello world is given below. You need to place it inside the body tag of HTML.
Log in or create a free account to answer this question.