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