how to link js file in html in html code example Example: link javascript to html <script src="index.js"> </script>