about summary refs log tree commit diff
path: root/index.html
diff options
context:
space:
mode:
authorSaksham Mittal <gotlouemail@gmail.com>2022-04-03 18:23:24 +0530
committerSaksham Mittal <gotlouemail@gmail.com>2022-04-03 18:23:24 +0530
commit44b8cc5299403e58a6e58db1cbc6520065694a7a (patch)
treecf52c858a69210d41d3b78025291ada616e296e6 /index.html
parent19baa3e236c0da1311bf6e79dbfe14eff27c5f2d (diff)
downloadpurple-44b8cc5299403e58a6e58db1cbc6520065694a7a.tar.gz
Get random word from word list, clean up code to work with async
There is still a lot of work left to do, particularly with variables
being passed to certain functions.

No code exists right now where entry by user is checked against the
loaded word list.
Diffstat (limited to 'index.html')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index b70c7e7..2209733 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,7 @@
 		<p id="hint"></p>
 		<p id="win"></p>
 		<p id="attempt"></p>
-		<form onsubmit="checkAnswer(event)">
+		<form>
 			<input type="text" placeholder="Guess" autofocus>
 		</form>
 		<noscript>