forked from heyhimansh/Guessthenumber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (60 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
<link rel="icon" type="image/png" sizes="32x32" href="image/c.png" >
<title>GuessTheNum</title>
</head>
<body class="text-center">
<nav class="navbar navbar-dark bg-dark p-2">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img
src="https://cdn-icons-png.flaticon.com/512/3409/3409564.png"
alt=""
width="36"
class="d-inline-block align-text-top"
/>
<b>Guess The Number</b>
</a>
</div>
</nav>
<main>
<h1 class="banner p-3 m-3">1.2.3.</h1>
<div class="form-group m-3">
<input
type="number"
class="form-control form-control-lg"
placeholder="What's your guess?"
id="number-guess"
/>
</div>
<div id="result">
<!-- This is where the result will be-->
</div>
<button id="number-submit" class="btn btn-lg btn-secondary" type="button">
Check Me
</button>
<button id="restart-game" class="btn btn-lg btn-light" type="button" >
Restart
</button>
<button id="hint" class="btn btn-lg btn-light" type="button" >
Hint
</button>
<div id="history">
<!-- This is where the guess history will be-->
</div>
</main>
<script src="script.js"></script>
</body>
</html>