This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

External JavaScript

A Paragraph.

This example uses a full web URL to link to "myScript.js".

(myFunction is stored in "myScript.js")

<button type="button" onclick="myFunction()">Click Me</button>

<script src="https://www.w3schools.com/js/myScript.js"></script>

function myFunction() {
    document.getElementById("demo").innerHTML="Paragraph changed.";
}