summaryrefslogtreecommitdiff
path: root/wk8
diff options
context:
space:
mode:
Diffstat (limited to 'wk8')
-rw-r--r--wk8/pset/trivia/index.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/wk8/pset/trivia/index.html b/wk8/pset/trivia/index.html
index 27fc6ba..468128a 100644
--- a/wk8/pset/trivia/index.html
+++ b/wk8/pset/trivia/index.html
@@ -25,7 +25,7 @@
document.querySelector('form').addEventListener('submit', function(event) {
event.preventDefault();
- if (document.querySelector('#big').value == 'small')
+ if (document.querySelector('#big').value == 'Earl Grey')
{
document.querySelector('#big').style.backgroundColor = 'green';
document.querySelector('#feedback2').innerHTML = 'Correct!';
@@ -52,21 +52,23 @@
<h3>How many beans do Hemingway's cats have per paw?</h3>
- <button class="correct">5</button>
- <button class="incorrect">4</button>
<button class="incorrect">3</button>
+ <button class="incorrect">4</button>
+ <button class="correct">5</button>
<button class="incorrect">6</button>
<p id="feedback1"></p>
</div>
+ <p></p>
+
<div class="section">
<h2>Part 2: Free Response</h2>
<hr>
<!-- TODO: Add free response question here -->
- <h3>Why do Hemingway's cats have extra beans?</h3>
+ <h3>What is my favorite mixture of tea?</h3>
<form>
<input autocomplete='off' id='big' placeholder='Answer' type='text'>