how to write code in external javascript file code example
Example: how to write code in external javascript file
function myFunction() {
document.getElementById("demo").innerHTML = "Paragraph changed.";
}
function myFunction() {
document.getElementById("demo").innerHTML = "Paragraph changed.";
}