html how to reference a js file code example Example: how to link javascript to html <script src="PathToYourFile.js"> </script>