how to add a js script in to html file code example
Example 1: how to enter javascript in html
<script type="text/javascript">
alert("This alert box was called with the onload event");
</script>
Example 2: how to connect a javascript file to html
<script src="name.js">
//put in your javascript here
</script>