+ 1
Can we use javascript file outside the HTML?
5 Respuestas
+ 4
Offcourse you can and it is highly recommended.
If you separate the js from html code it is much more easier to get a good overview. Especially when your code is growing, the more code you have the more you need a good seperation.
Just make a text file put in you js code, vhange the ending from txt to js and bind it into you html document.
+ 1
yes
+ 1
yes
0
yes
- 6
no