-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (73 loc) · 2.55 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
<!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 for bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="main.css" />
<title>Guess the number</title>
</head>
<body>
<div class="container-fluid">
<div class="row mt-4 mx-5">
<div class="col-6">
<button type="button" class="btn bg-light again">Again!</button>
</div>
<div class="col-6 text-end"><p>(Between 1 to 20)</p></div>
</div>
<div class="row mt-4">
<div class="col text-center">
<h1>Guess the number!</h1>
</div>
</div>
<div class="row mt-3">
<div class="line">
<span class="secret"><h3 class="secret-value">?</h3></span>
</div>
</div>
</div>
<div class="row my-3 py-5 px-5">
<div class="col-sm-6 text-center">
<input type="number" max="20" class="guess" />
<button class="btn btn-danger rounded-pills check" type="button">
Check!
</button>
</div>
<div class="col-sm-6 right">
<h4 class="status mb-5">Start Guessing...</h4>
<h5 class="mb-4 pt-2 score-container">
💯 Score: <span class="score-value">0</span>
</h5>
<h5 class="highscore-container">
↗️ Highscore: <span class="highscore">0</span>
</h5>
<button type="button" class="btn btn-danger ms-5 mt-2 highReset">
Reset
</button>
</div>
</div>
<!-- js for bootstrap-->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
<script src="main.js"></script>
</body>
</html>