-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (72 loc) · 2.32 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!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" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="style.css">
<title>Guess the Number</title>
</head>
<body>
<header>
<h1> <span>Number</span> Guesser</h1>
</header>
<div id="intro-page">
<p id="description">Select a difficulty</p>
<div class="container unselectable">
<button class="difficulty d-hover">
<h2>
EASY
</h2>
<p>
1 to 10
</p>
</button>
<button class="difficulty d-hover ">
<h2>
MEDIUM
</h2>
<p>
1 to 100
</p>
</button>
<button class="difficulty d-hover ">
<h2>
HARD
</h2>
<p>
1 to 1000
</p>
</button>
</div>
<div class="contain-start unselectable">
<div id="start" class="start disabled" disabled>Start Game</div>
<button id="change-dif" onclick="restart()">Change difficulty</button>
</div>
</div>
<p id="intro"></p>
<div class="guess-page">
<div class="input-page">
<p id="between"></p>
<div class="guess-page1">
<input type="number" class="guess form-control " min="1" >
<div id="top-info"></div>
<div id="chance">You have <span>5</span> chance. </div>
</div>
<button id="check">Check</button>
</div>
<p id="result"></p>
<div class="conres">
<button id="restart">Restart</button>
</div>
</div>
<script src="./app.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.0-beta1/js/bootstrap.min.js"
integrity="sha512-Hqe3s+yLpqaBbXM6VA0cnj/T56ii5YjNrMT9v+us11Q81L0wzUG0jEMNECtugqNu2Uq5MSttCg0p4KK0kCPVaQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</body>
</html>