-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (91 loc) · 3.38 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
97
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Memory Game</title>
<meta name="description" content="Memory Game">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Coda">
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<section class="container">
<h1>Matching Game <span class="timer"></span></h1>
<div class="header">
<div class="buttons">
<div class="score">
<div class="stars">
</div>
<span id="n-moves"></span> move<span class="pluralize-moves">s</span>
</div>
<div class="reload"><i class="fas fa-sync-alt"></i></div>
<div class="board-size">
Board size:
<select id="board-size">
<option>4</option>
<option>6</option>
</select>
</div>
</div>
</div>
<div class="board"></div>
</section>
<section class="best-scores">
<h2>Best 10 scores </h2>
<div class="user">
Current user: <span class="current-user"></span>
<span class="edit-user">(Change user name)</span>
</div>
<table class="score-table">
<thead>
<tr>
<td> # </td>
<td> User </td>
<td> Board size </td>
<td> Time </td>
<td> Moves </td>
<td> Score </td>
</tr>
</thead>
<tbody class="table-data">
</tbody>
</table>
<div class="no-score-data">
No data to display.
</div>
</section>
<div class="change-user">
<div class="user-form">
<h3>Set user name</h3>
<form>
<input type="text" id="user-name"/>
<br />
<button id="save-user">Save</button>
</form>
</div>
</div>
<div class="game-won">
<div class="centering">
<div class="ok">
<i class="fas fa-check"></i>
</div>
<div class="congratulation">
Congratulations! You won!
</div>
<div class="time">
It took <span class="time-taken"></span> seconds and
<span class="end-moves"></span> moves. You gained
<span class="end-star"></span> star<span class="pluralize-stars">s</span>.
<br />
Good job!
</div>
<button class="play-again">Play again</button>
</div>
</div>
<script src="js/fontawesome.js"></script>
<script src="js/app.js"></script>
</body>
</html>