1.

What are some advantages of using External JavaScript?

Answer»

External JavaScript is the JavaScript Code (script) written in a separate file with the extension.js, and then we link that file inside the <head> or <body> element of the HTML file where the code is to be placed. 

Some advantages of external javascript are


  1. It allows web designers and developers to collaborate on HTML and javascript files.

  2. We can reuse the code.

  3. Code readability is simple in external javascript.




Discussion

No Comment Found