Use external js file with URL. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Use external js file with URL.

Any idea how to use file from http://client-api.glitch.me/eventemitter.js ????

15th Aug 2020, 12:48 PM
Gaia
Gaia - avatar
3 Answers
+ 1
I think you can add <script src="http://client-api.glitch.me/eventemitter.js"></script> ONLY in head (as first child) of HTML document in your project
15th Aug 2020, 1:30 PM
VadyTos
VadyTos - avatar
0
Thank you it's working!!
15th Aug 2020, 2:33 PM
Gaia
Gaia - avatar
0
I am glad to help))
15th Aug 2020, 2:34 PM
VadyTos
VadyTos - avatar