-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·71 lines (55 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Guessing Game</title>
<!-- Bootstrap and CSS here-->
<link rel="stylesheet" type="text/css" href="style.css">
<link rel='stylesheet' type='text/css' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
</head>
<body>
<div class="center container" id='app'>
<div id='headers'>
<!-- Title and subtitles! -->
<h1 id='title'>Guessing Game!</h1>
<h2 id='subtitle'>Guess a number between 1-100</h2>
</div>
<div id='main'>
<div id='input-parent'>
<!-- Player's guess input, and submit button -->
<input id='players-input' class="center" autofocus=autofocus placeholder="#" maxlength='3'>
<button id='submit' class="btn btn-success">Go!</button>
</div>
<div id='guesses'>
<!-- unordered list of guesses -->
<ul id='guess-list'>
<li class="guess">-</li>
<li class="guess">-</li>
<li class="guess">-</li>
<li class="guess">-</li>
<li class="guess">-</li>
</ul>
</div>
<div id="menu-btns">
<!-- reset and hint buttons -->
<button class='btn btn-warning' id='reset'>Reset</button>
<button class="btn btn-info" id='hint'>Hint</button>
</div>
</div>
</div>
<div class="center" id='footer'>
<div class='row'>
<div class='col-sm-4'>
<img src='[email protected]'></img>
</div>
<div class='col-sm-4'>
<h4>Project by YOUR NAME HERE</h4>
</div>
<div class='col-sm-4'>
<img src='grace_hopper_academy.png'></img>
</div>
</div>
</div>
<script src="jquery-3.2.1.js"></script>
<script src = "guessingGame.js"></script>
</body>
</html>