how to run link a file to a javascript file code example Example: import js in html <script type="text/javascript" src="yourfile.js"></script>