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