how to link a j.s file to a html file code example Example: how to link your js file to html <script src="index.js"></script>