Answers for "The external JavaScript file must contain the <script> tag."

59

include script in html

<script type="text/javascript" src="/path/to/script.js"></script>
Posted by: Guest on July-17-2020
0

pointing to an external javascript file in html

<script src="my_javascript_file.js"></script> 
      <!-- Both work -->
<script src="../src/js/[file_name].js"></script>
Posted by: Guest on September-01-2021

Code answers related to "The external JavaScript file must contain the <script> tag."

Browse Popular Code Answers by Language