+ 1

Can we use javascript file outside the HTML?

9th May 2016, 5:02 AM
Akshay Sen
Akshay Sen - avatar
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.
9th Jun 2016, 11:48 AM
Markus
+ 1
yes
8th Jun 2016, 7:38 PM
Werner
+ 1
yes
4th Feb 2017, 11:07 PM
Кино Обзор (Кино Обзор)
Кино Обзор (Кино Обзор) - avatar
0
yes
11th Jun 2016, 12:45 AM
Alphonse Okereke Ogobikau
- 6
no
8th Jun 2016, 7:37 PM
Кино Обзор (Кино Обзор)
Кино Обзор (Кино Обзор) - avatar