diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-05 06:23:40 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-05 06:23:40 +0000 |
commit | 9e50f9fb548512c56abf9cd3b033061b819c1274 (patch) | |
tree | 888e683ee389fd8a9118b9788f4a14853d979697 | |
parent | 60163575c7dd36ca1187f0d74660732eb37e9b23 (diff) |
Thu, Jul 4, 2024, 11:23 PM -07:00
-rw-r--r-- | wk8/pset/trivia/index.html | 10 |
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'> |