link the scripts.js file to this web page code example Example: how to link javascript to html <script src="PathToYourFile.js"> </script>