Answers for "how to create an external javascript file"

2

how to write code in external javascript file

function myFunction() {

  document.getElementById("demo").innerHTML = "Paragraph changed.";

}
Posted by: Guest on May-25-2021
0

Adding external JavaScript to HTML

<script src="filename.js"></script>
Posted by: Guest on August-02-2021

Code answers related to "how to create an external javascript file"

Browse Popular Code Answers by Language