-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (66 loc) · 2.15 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
<!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" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<title>NUMBER GUESSING GAME IN HTML</title>
<link rel="stylesheet" href="/css/style.css" />
</head>
<body onload="printFirstLoad()">
<div class="centerBox">
<div class="container centerBoxInside">
<h2 class="text-white">
<i class="fa fa-question-circle"></i>_NUMBER GUESSING GAME IN HTML_<i
class="fa fa-question-circle"
></i>
</h2>
<div class="input-group mt-3 mb-3">
<input
id="guessNumber"
type="number"
class="form-control text-success"
placeholder="Please Enter Your Guess Number"
aria-label="Username"
aria-describedby="basic-addon1
"
onkeydown="keyDowndInGuessInput()"
/>
</div>
<div class="btn-group btn-group-lg mt-3 mb-3">
<button
type="button"
id="guessClick"
class="btn btn-outline-success text-white"
onclick="guessRdNumber()"
>
Click to guess
</button>
<button
type="button"
id="restartClick"
class="btn btn-outline-warning text-white"
onclick="startOver()"
>
Restart Game
</button>
</div>
<h4 id="randNumber" class="text-white"></h4>
<h4 id="availableGuess" class="text-white"></h4>
<h4 id="guessResult" class="alert"></h4>
<ol id="guessList" class="text-white font-weight-bolder"></ol>
</div>
</div>
<script src="/js/script.js"></script>
</body>
</html>