A Demo HTML Site from the Computing Fundamentals Course
Sas96rp
this site was crated as a Demo for the Computing Fundamentals Course
The onclick event triggers a function when an element is clicked on.
Click to trigger a function that will output "Hello World":
Click me
<script> function myFunction() { document.getElementById("demo").innerHTML = "Hello World"; } </script>