diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-05 05:28:03 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-05 05:28:03 +0000 |
commit | e3e45f1d57d1bdbbdf9cdb34b750a78041480b11 (patch) | |
tree | 9fc023bf25c7a6cdbe0656f6bb4033b6f0724591 /wk8 | |
parent | 2e6689a617e0a63f1946a5b076c3147a77efc4cc (diff) |
Thu, Jul 4, 2024, 10:28 PM -07:00
Diffstat (limited to 'wk8')
-rw-r--r-- | wk8/pset/trivia/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wk8/pset/trivia/index.html b/wk8/pset/trivia/index.html index 744c6e5..0f5d9c6 100644 --- a/wk8/pset/trivia/index.html +++ b/wk8/pset/trivia/index.html @@ -7,8 +7,8 @@ <title>Trivia!</title> <script> // TODO: Add code to check answers to questions - document.querySelector('button').addEventListener('click', function(event) { - + document.querySelector('button').addEventListener('click', function() { + document.querySelector('button').style.backgroundColor = "red"; }); </script> |