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