diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-05 00:09:15 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-05 00:09:15 +0000 |
commit | 16996cffc84e0a38331972b6daa2e2fcb9c37533 (patch) | |
tree | cfbb97fcd18e404226502abc6118dbe2918f139f /wk8/pset/trivia | |
parent | acdbd5a132b9d3ec737827932c796e9cf7e02915 (diff) |
Thu, Jul 4, 2024, 5:09 PM -07:00
Diffstat (limited to 'wk8/pset/trivia')
-rw-r--r-- | wk8/pset/trivia/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wk8/pset/trivia/index.html b/wk8/pset/trivia/index.html index 1f028ac..44765fc 100644 --- a/wk8/pset/trivia/index.html +++ b/wk8/pset/trivia/index.html @@ -7,6 +7,11 @@ <title>Trivia!</title> <script> // TODO: Add code to check answers to questions + document.querySelector('button').addEventListener('click', function(event) { + alert('hello, ' + document.querySelector('#name').value); + event.preventDefault(); + }); + </script> </head> <body> |