<html>
<body>
<h2>External JavaScript</h2>
<p id="demo">A Paragraph.</p>
<button type="button" onclick="myFunction()">Try it</button>
<p>(myFunction is stored in an external file called "myScript.js")</p>
<script src="myScript.js"></script>
</body>
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_whereto_url_relative by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:28:11 GMT -->
</html>