-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (28 loc) · 1.33 KB
/
index.html
File metadata and controls
28 lines (28 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BIT GUESSING GAME</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="game-container">
<div class="game-card">
<h1 id="game title">BIT GUESS</h1>
<p class="instructions" id="instruction-text">I'm thinking of a number between 1 and 50. Can you guess it?</p>
<div class="game-info">
<span class="attempts-label">Attempts:</span> <span id="attempts-count">0</span>
</div>
<div class="error-message" id="error-message"></div>
<div class="input-group">
<label for="guess-input">Enter your guess (1-50):</label> <input type="number" id="guess-input" min="1" max="50" placeholder="Enter a number..." aria-label="Enter your guess between 1 and 50">
</div>
<div class="button-group"><button class="submit-btn" id="submit-btn"> <span id="submit-button-text">Submit Guess</span> </button> <button class="reset-btn" id="reset-btn"> <span id="reset-button-text">Reset Game</span> </button>
</div>
<div class="feedback hidden" id="feedback"></div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>