-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (32 loc) · 1.01 KB
/
index.html
File metadata and controls
40 lines (32 loc) · 1.01 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Guess The Number 🎮</title>
<!-- Futuristic Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap" rel="stylesheet" />
<!-- Your Game CSS -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h2>Guess The Number</h2>
<h3>Between 1 and 100</h3>
<!-- Start Button -->
<button class="start">Start Game</button>
<!-- Game Info -->
<p>You have <b>10</b> tries left</p>
<!-- Guess Input -->
<input type="number" placeholder="Enter your guess..." class="numberInput" />
<button class="submitBTN">Submit</button>
<!-- Game Message -->
<p class="message">Press “Start Game” to begin!</p>
<!-- Guess List -->
<p>🔢 Previous guesses:</p>
<ol></ol>
</div>
<!-- Game Logic -->
<script src="app.js"></script>
</body>
</html>