-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (46 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=s, initial-scale=1.0" />
<title>Guessing Game</title>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="container">
<div class="header">
<div class="last-record-message">
<h2 class="secondary-heading">Chances left:</h2>
<p class="last-record-message chances_number"></p>
</div>
<h1 class="game-title">Guessing Game!</h1>
<div class="last-record-message">
<h2 class="secondary-heading">Highest Score:</h2>
<p class="last-record-message high_score">33</p>
</div>
</div>
<button class="btn btn-newgame">Start a new game</button>
<p class="instruction">Guess a number between 1-20:</p>
<div class="input-box">
<input type="number" class="number-input" min="1" max="20" required />
<button class="btn btn-guess">Guess</button>
</div>
<div class="prediction-bar-box">
<div class="prediction-bar"></div>
</div>
<p class="text-result"></p>
<div class="last-record-message">
<h2 class="secondary-heading">Your recorded Guesses:</h2>
<p class="last-record-message last-guess"></p>
</div>
</div>
<script src="index.js"></script>
</body>
</html>