forked from saadq/Anagrams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
anagrams.html
43 lines (34 loc) · 1.01 KB
/
anagrams.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Anagram</title>
<!-- Fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<!-- Stylesheet -->
<link rel="stylesheet" type="text/css" href="css/game.css">
</head>
<body>
<div class="wrapper">
<!-- Countdown timer -->
<div id="timer">00:00</div>
<!-- Player's current score -->
<div id="score">Score: 00</div>
<!-- Current anagram question -->
<div id="currentWord"></div>
<!-- Current choices -->
<button class="anagramButton"></button>
<button class="anagramButton"></button><br>
<button class="anagramButton"></button>
<button class="anagramButton"></button>
</div>
<!-- Loss screen is hidden until the game is over -->
<div id="lossScreen">
<h1>You have lost!</h1>
<p>Your score: </p>
<p id="finalScore">25</p>
<button id="reset">Play again</button>
</div>
<script src="js/anagrams.js"></script>
</body>
</html>