-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.51 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
<html lang="en">
<head>
<!-- Main meta data -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Link to bootstrap.min.css -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!------ title ------------>
<title>Guess The Number</title>
<!------ Link to css file(style.css) -------------->
<link rel="stylesheet" type="text/css" href="style.css">
<!------ Link to Javascript file(script.js) -------------->
<script src="script.js"></script>
</head>
<body class="text-center">
<nav class="navbar navbar-dark bg-dark">
<!-- Navbar content -->
<a class="navbar-brand" href="#">Guess The Number</a>
</nav>
<main>
<h1 class="banner p-3">1.2.3.</h1>
<div class="form-group ">
<input id="number-guess" class="form-control form-control-lg" type="number" placeholder="What's your guess?">
</div>
<div id="result">
<!-- This is where the result will be-->
</div>
<!-- This is Check Me button -->
<button type="button" id="number-submit" class="btn btn-lg btn-secondary">Check Me</button>
<!-- This is Restart button which Restart the game the again-->
<button type="button" id="restart-game" class="btn btn-lg btn-light">Restart</button>
<div id="history">
<!-- This is where the guess history will be -->
</div>
</main>
</body>
</html>