hello world page html + js code example
Example 1: hello world javascript
// Output Hello World! in the console.
console.log("Hello World!");
Example 2: hello world in javascript
<script>
alert("Hello World");
</script>
// Output Hello World! in the console.
console.log("Hello World!");
<script>
alert("Hello World");
</script>