-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
167 lines (146 loc) · 7.48 KB
/
Copy pathindex.html
File metadata and controls
167 lines (146 loc) · 7.48 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- RESET CSS -->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<!--Font Awesome-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- We need to bring in the bootstrap CSS -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
crossorigin="anonymous">
<!-- CUSTOM CSS -->
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<title>Hangman Game</title>
<link rel="shortcut icon" href="assets/images/favicon.ico" />
</head>
<body>
<div class="wrapper">
<!-- sidebar provided by bootstrapious.com -->
<nav id="sidebar">
<!-- Sidebar Header -->
<div class="sidebar-header">
<h3>Hangman Menu</h3>
</div>
<!-- Sidebar Links -->
<ul class="list-unstyled components">
<li>
<a href="https://jamesmart77.github.io" target="_blank">
<i class="fa fa-home" aria-hidden="true" style="color: tan"></i>
Jamesmart77
</a>
</li>
<li>
<a onclick="themeMusic();" href="#" class="music">
<i class="fa fa-volume-off" aria-hidden="true" style="color: red"></i>
Turn Off Music
</a>
</li>
<li>
<a onclick="howToPlay();" href="#">
<i class="fa fa-info" aria-hidden="true" style="color: orange"></i>
How To Play
</a>
</li>
</ul>
</nav>
<div id="content">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" id="sidebarCollapse" class="btn btn-info navbar-btn">
<i class="glyphicon glyphicon-align-left"></i>
<span>Toggle Menu</span>
</button>
</div>
<div class="navbar-right">
<button type="button" id="volumebtn" class="btn btn-warning" onclick="themeMusic();">
<i class="fa fa-volume-off" aria-hidden="true" style="color: red"></i> Turn Off Music
</button>
</div>
<div class="text-center header-title">
<span>Hangman</span>
</div>
</div>
</nav>
<!-- <div class="container"> -->
<div class="row">
<div class="panel panel-default">
<div class="panel-body">
<div class="row col-md-12">
<div class="hangman-pic">
<img class="logo" src="assets/images/logo.png">
</div>
</div>
<div class="row col-md-12">
<p class="text-center rules">TYPE A LETTER TO MAKE A GUESS</p>
</div>
<div class="col-md-12 hangman-section">
<p class="text-center">Word Challenge</p>
<!-- container for hangman word -->
<div id="challengeWord"></div>
<!-- <div class="container enterGuess">
<form>
<div class="form-group">
<label class="form-control">Enter Guess:</label> -->
<!-- <input id="fullGuess" class="form-control" type="text" placeholder="Think you know the word? Enter here..."></input>
</div>
<button type="submit" class="btn btn-primary pull-right" onclick="checkGuess();">Check Answer</button>
</form> -->
<!-- </div> -->
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p id="modalText">You won! Nice Job!</p>
</div>
</div>
</div>
<div class="row">
<hr>
<div class="col-md-6 userStats">
<div id="wins">Wins</div>
<div id="guessRemaining">Guesses Remaining</div>
<div id="lettersGuessed">Letters Guessed</div>
</div>
<div class="col-md-6 lucky">
<div class="form-group">
<input id="fullGuess" class="form-control" type="text" placeholder="Enter your best guess space cadet...">
<button type="submit" id="guessbtn" class="btn btn-primary pull-right" onclick="checkGuess();">Check Answer</button>
</div>
<button type="button" id="feelingLucky" class="btn btn-default pull-right" onclick="feelingLucky()">Feeling Lucky</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- footer -->
<nav class="navbar-footer navbar-fixed-bottom">
<div class="container footer-container">
<p class="text-center ">Designed by
<a href="https://jamesmart77.github.io" target="_blank">
<b>James Martineau</b>
</a>
<br> © Copyright 2017
</p>
</div>
</nav>
</div>
<script type="text/javascript" src="assets/js/game.js"></script>
<script type="text/javascript" src="assets/js/modal.js"></script>
<script type="text/javascript" src="assets/js/sidebar.js"></script>
</body>
</html>