You want to add the same functionality to various web sites you have created for your school district without having to add the script to each html page. where should you place your javascript code to accomplish this in the most efficient manner

Respuesta :

Kizr
You should place your javascript in a separate file and name it appropriately, e.g. script.js.

Then you should call for your script using the HTML:

<script src="script.js" type="text/javascript"></script>