how to call a function in html from js file code example
Example: call js script in html
<script src="file1.js" type="text/javascript"></script>
<script src="file2.js" type="text/javascript"></script>
<script src="file1.js" type="text/javascript"></script>
<script src="file2.js" type="text/javascript"></script>