-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
29 lines (28 loc) · 792 Bytes
/
Copy pathgame.html
File metadata and controls
29 lines (28 loc) · 792 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GAME</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div class="container">
<h1>I have a number in my mind between 1 and 100. Can you guess it?</h1>
<div id="input-container">
<input
type="number"
placeholder="Enter Your Number"
name="number"
id="number-input"
min="1"
max="100"
/>
<div class="button" id="submit">Submit</div>
</div>
<h2 id="lives-text">Lives: <span id="lives">10</span></h2>
<div id="message"></div>
</div>
<script src="./game.js"></script>
</body>
</html>