java scripting tutorial for beginners code example
Example 1: javascript tutorial
<html>
<head>
//Write your javascript code here
<script>
//Using this you can change content of p tag
document.getElementById("demo").innnerHTML = "Bye";
</script>
</head>
<body>
<div id="demo">
<p> Hello </p>
</div>
</body>
Example 2: javascript
let str = 'Hello World';
console.log(str);