summaryrefslogtreecommitdiff
path: root/wk8
diff options
context:
space:
mode:
Diffstat (limited to 'wk8')
-rw-r--r--wk8/pset/trivia/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/wk8/pset/trivia/index.html b/wk8/pset/trivia/index.html
index c0e8997..4394ab0 100644
--- a/wk8/pset/trivia/index.html
+++ b/wk8/pset/trivia/index.html
@@ -12,14 +12,14 @@
let correct = document.querySelector('.correct');
correct.addEventListener('click', function() {
correct.style.backgroundColor = 'green';
- document.querySelector('#feedback1').innerHTML = 'Correct :3';
+ document.querySelector('#feedback1').innerHTML = 'Correct!';
});
- let incorrects = document.querSelectorAll('.incorrect');
+ let incorrects = document.querySelectorAll('.incorrect');
for (let i = 0; i < incorrects.length; i++) {
incorrects[i].addEventListener('click', function() {
incorrects[i].style.backgroundColor = 'red';
- document.querySelector('#feedback1').innerHTML = 'Incorrect :(';
+ document.querySelector('#feedback1').innerHTML = 'Incorrect';
});
};
});