get an hatml page script js code example
Example 1: how to link javascript to html
<script src="PathToYourFile.js"> </script>
Example 2: how to connect a javascript file to html
<script src="name.js">
//put in your javascript here
</script>
<script src="PathToYourFile.js"> </script>
<script src="name.js">
//put in your javascript here
</script>