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