script reference javascript code example
Example: how to link js to html
<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->
<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->