+ 3
Internal vs external JS
I see a lot of wonderful programmers on here using internal JS. Iâm just curious as to know why not use external JS ? - A beginner @ JS
6 Answers
+ 6
I imagine most use it here because they can put it at the bottom of the code meaning the system has to load it all in order.
If you use the JS tab, then you have to wrap your code in a window.onload() so the JS part waits for the HTML to load first.
+ 3
What does that mean external JS?
+ 3
JaScript using javascript in a seprate file rather than using it inside the <script> container inside HTML file.
+ 3
Ausgrindtube oh okay ! I dont know about window.onload() as yet đ
0
Bonjour
0
Yee