diff options
| author | Logan Hunt <loganthebean222@gmail.com> | 2017-07-11 21:14:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-11 21:14:14 -0700 |
| commit | 2d108095a2cec042375dbb935b5261e2339e4fcc (patch) | |
| tree | 969f4e7f3eba70e5e7e9699750bc3db7c4af880f /something.html | |
| parent | cd928ffaae6ff879df180600b337edeb04e2ad62 (diff) | |
| download | old-src-backup-2d108095a2cec042375dbb935b5261e2339e4fcc.tar.gz old-src-backup-2d108095a2cec042375dbb935b5261e2339e4fcc.zip | |
Add files via upload
Diffstat (limited to 'something.html')
| -rw-r--r-- | something.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/something.html b/something.html new file mode 100644 index 0000000..04a1712 --- /dev/null +++ b/something.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<body> + +<p>Click the button to display a random number.</p> + +<button onclick="myFunction()">Try it</button> + +<p id="demo"></p> + +<script> +function myFunction() { + document.getElementById("demo").innerHTML = Math.round(Math.random(0,20) * 10); +} +</script> + +</body> +</html> |
