-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (27 loc) · 932 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Riddle Puzzle Game</title>
</head>
<body>
<div class="container">
<h1>¿The Riddler?</h1>
<p id="riddle-text">Your riddle goes here...</p>
<input type="text" id="user-answer" placeholder="Enter your answer here">
<button onclick="checkAnswer()">Submit</button>
<div class="statistics">
<p>Hints Used: <span id="hints-used">0</span>/9 | Guesses Made: <span id="guesses-made">0</span></p>
</div>
<p id="timer">Time Left: 05:00</p>
<div class="hint-grid">
<!-- Generated with JS -->
</div>
<p></p>
<button onclick="resetGame()">Reset Game</button>
</div>
<script src="script.js"></script>
</body>
</html>