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