User:Syko/Sandbox
Messing around with scripts
<!DOCTYPE html> <html> <body>
My First JavaScript
JavaScript can change the content of an HTML element:
<button type="button" onclick="myFunction()">Click Me!</button>
This is a demonstration.
<script> function myFunction() {
document.getElementById("demo").innerHTML = "Hello JavaScript!";
} </script>
</body> </html>