-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (37 loc) · 1.19 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
<DOCTYPE! html>
<html>
<head>
<title>The Guessing Game</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src='guessingGame.js'></script>
</head>
<body>
<span id="screen"><div class="begin" id="circle">
<div id="game">
<h1>Guess The Number</h1>
<input type="text" placeholder="1-100..." id="guess">
<p id="status">Remaining attempts: <span id="attempts">5</span></p>
<p><button id="submit-guess">Submit</button>
<button id="get-hint">Hint</button></p>
<p><button id="restart">Restart</button></p>
</div>
</div></span>
<div id="hint-popup">
<h3>HINT:</h3>
One of these is the winning number<br>
<span id="hints"></span>
<h3>PREVIOUS GUESSES:</h3>
<span id="prev-guesses">No guesses yet</span>
<h3>KEY:</h3>
HOT: Less than 5 digits away<br>
WARM: Less than 10 digits away<br>
COOL: Less than 20 digits away<br>
COLD: More than 20 digits away
<p><button id="close-hints">Close</button></p>
</div>
</body>
</html>