how to add javascript to a html page code example
Example 1: how to put javascript in HTML
<script>
//put your java script here
</script>
Example 2: insert js in html
<script src=¨script.js¨></script>
<script>
//put your java script here
</script>
<script src=¨script.js¨></script>