calling js from html code example
Example 1: how to link js to html
<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->
Example 2: call js script in html
<script src="file1.js" type="text/javascript"></script>
<script src="file2.js" type="text/javascript"></script>