+ 1

use multiple js files in one html file

how to import mutliple external js files in one html file ?

28th Dec 2019, 7:07 PM
Saurav Sharma
Saurav Sharma - avatar
7 Answers
+ 2
Well, yeah Just add multiple script tags, one for each file You can also import from within a js file: https://javascript.info/import-export https://medium.com/@thejasonfile/a-simple-intro-to-javascript-imports-and-exports-389dd53c3fac
28th Dec 2019, 8:25 PM
Burey
Burey - avatar
+ 1
<script src="number1.js" ></script> <script src="number2.js"></script> <script src="number3.js"></script>
29th Dec 2019, 1:27 PM
Ramin.RX7
Ramin.RX7 - avatar
0
I am new to javascript so currently i am using simple codes
28th Dec 2019, 7:55 PM
Saurav Sharma
Saurav Sharma - avatar
0
Hi. How to listen audio which you upload on web-page?
6th Jan 2021, 8:23 PM
Almas
Almas - avatar