How to add js file form url code example
Example 1: how to add javascript in html
<script src="script.js"></script>
Example 2: include javascript in html
<script>
// JS Here
</script>
<script src="script.js"></script>
<script>
// JS Here
</script>