simple javascript tutorial code example
Example 1: dianne javascript study
https://www.toptal.com/javascript/10-most-common-javascript-mistakes
Example 2: 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 3: javascript tutorial
<html>
<body>
<script language = "javascript" type = "text/javascript">
<!--
document.write("Hello World!")
//-->
</script>
</body>
</html>