how to link your js file to html
snippet in html

how to link your js file to html

user7221

<script src="index.js"></script>

link js file

user6946


  
    <script src="myscripts.js"></script>
  
 

how to link javascript to html

user9726

<script src="PathToYourFile.js"> </script>