summaryrefslogtreecommitdiff
path: root/wk8
diff options
context:
space:
mode:
Diffstat (limited to 'wk8')
-rw-r--r--wk8/pset/trivia/index.html4
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>