-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (87 loc) · 3.98 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FindWords - Find words for Scrabble, Crosswords, or Wordle</title>
<meta description="This site helps you find guesses for words in games like Scrabble, Wordle, or crossword puzzles. Enter what you know about the word and a list of possible guesses is displayed.">
<script src="js/find-words.js"></script>
<link rel="stylesheet" href="css/find-words.css"/>
<link rel="icon" type="image/x-icon" href="images/letter-S.ico">
</head>
<body>
<div id="main">
<h1>Find Words</h1>
<form id="form" autocomplete="on" action="javascript:void(0);">
<table border="0">
<tr>
<td colspan="2">
<input type="radio" id="scrabble" name="type_of_game" value="scrabble" onclick="typeOfGameProcess()" checked>
<label for="scrabble">Scrabble</label>
<input type="radio" id="crossword" name="type_of_game" value="crossword" onclick="typeOfGameProcess()">
<label for="type_of_game">Crossword</label>
<input type="radio" id="wordle" name="type_of_game" value="wordle" onclick="typeOfGameProcess()">
<label for="wordle">Wordle</label>
</td>
</tr>
<tr>
<td><span id="letters_label">Available Letters:</span></td>
<td><input type="text" id="letters" size="26" maxlength="26"></td>
<td><input type="button" id="letters_clear" value="Clear" onclick="clearLetters()"></td>
</tr>
<tr><td colspan="3"><small><span class="error" id="letters_error"></span></small></td></tr>
<tr>
<td>Contains Letters:</td>
<td><input type="text" id="contains" size="26" maxlength="26"></td>
<td><input type="button" value="Clear" onclick="clearContains()"></td>
<tr><td colspan="3"><small><span class="error" id="contains_error"></span></small></td></tr>
</tr>
<tr>
<td>Starts with:</td>
<td><input type="text" id="starts_with" size="26" maxlength="26"></td>
<td><input type="button" value="Clear" onclick="clearStartsWith()"></td>
<tr><td colspan="3"><small><span class="error" id="starts_with_error"></span></small></td></tr>
</tr>
<tr>
<td>Ends with:</td>
<td><input type="text" id="ends_with" size="26" maxlength="26"></td>
<td><input type="button" value="Clear" onclick="clearEndsWith()"></td>
<tr><td colspan="3"><small><span class="error" id="ends_with_error"></span></small></td></tr>
</tr>
<tr>
<td>Number of Letters:</td>
<td><input type="number" min=0 max=26 id="number_of_letters" disabled></td>
<td><input type="button" id="number_of_letters_clear" value="Clear" onclick="clearNumberOfLetters()" disabled></td>
<tr><td colspan="3"><small><span class="error" id="number_of_letters_error"></span></small></td></tr>
</tr>
<tr>
<td>Dictionary:</td>
<td>
<select id="dicts">
<option name="dicts" value="ospd">OSPD</option>
<option name="dicts" value="twl">TWL</option>
<option name="dicts" value="words">Words</option>
<option name="dicts" value="collins" selected>Collins</option>
<option name="dicts" value="collins_define">Collins with definitions</option>
</select>
</td>
</tr>
<tr><td> </td></tr>
<tr>
<td colspan="3">
<input type="submit" onclick="findWords()">
<button onclick="clearAll()">Clear All</button>
</td>
</tr>
</table>
</form>
</div>
<br>
<div id="words" hidden></div>
<br>
<div id="footer">
Copyright © 2014-2024 Knute Snortum
<a href="about.html" target="_self">About</a>
<a href="help.html" target="_self">Help</a>
</div>
</body>
</html>