-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (39 loc) · 1.29 KB
/
index.html
File metadata and controls
49 lines (39 loc) · 1.29 KB
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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="style.css"/>
</head>
<body id="body">
<label for="select-size">Select Size:</label>
<select id="select-size" name="select-size" oninput="resetBoard(+this.value)">
<option value="4">XS (4 pairs)</option>
<option value="9" selected>S (9 pairs)</option>
<option value="16">M (16 pairs)</option>
<option value="25">L (25 pairs)</option>
<option value="36">XL (36 pairs)</option>
</select>
<label for="move-counter" class="top-label">Moves: </label>
<span id="move-counter" class="stats">0</span>
<label for="pair-counter" class="top-label">Pairs: </label>
<span id="pair-counter" class="stats">0</span>
<label for="match-rate" class="top-label">Match Rate: </label>
<span id="match-rate" class="stats"></span>
<hr/>
<div id="board-container">
<table id="board-table">
</table>
<div id="stash" class="stash"></div>
</div>
<footer style="opacity: 0.5; bottom: 8px; position: absolute">
Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a>
</footer>
<script src="main.js"></script>
<script async>
for (let icon of ICONS) {
new Image().src = CARD_PATH + "/" + icon + ICON_EXT;
}
</script>
</body>
</html>