+ 1

Linking an external JS file to an HTML page

I know that Sololearn links them for me, but for my web tech class I need to do it myself. How?

27th Sep 2017, 7:14 PM
Brandon Shaw
Brandon Shaw - avatar
2 Answers
+ 5
<script src="yourfile.js"> JavaScript shoud be automatically
27th Sep 2017, 7:16 PM
Funny Gamer
Funny Gamer - avatar
+ 5
use <script src="your_js_file_location.js"></script>
27th Sep 2017, 7:16 PM
MR Programmer
MR Programmer - avatar