Answers for "js external file"

8

how to add javascript in html

<script src="script.js"></script>
Posted by: Guest on May-19-2020
1

how to write code in external javascript file

function myFunction() {

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

}
Posted by: Guest on May-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language