-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (52 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./index.css" />
<script src="script.js"></script>
<title>Guess the number</title>
</head>
<body>
<div class="header">
<h1>Guess The Number</h1>
<p class="instruction">The number is between 1 to 100</p>
<h2>Let's play !</h2>
</div>
<div id="result"></div>
<input
id="guessNumber"
placeholder="Try guessing the correct number"
type="number"
class="form-control"
onkeyup="disabledButton()"
/>
<div class="button">
<button
type="button"
class="btn btn-primary btn-lg check"
id="check"
disabled
>
Check
</button>
<button
type="button"
class="btn btn-secondary btn-lg restart"
id="restart"
>
Restart
</button>
</div>
<div id="history"></div>
<div class="footer">
<p>Made with 💘 by Corentin Clichy</p>
</div>
</body>
</html>