-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnumberguess.html
More file actions
29 lines (27 loc) · 1021 Bytes
/
numberguess.html
File metadata and controls
29 lines (27 loc) · 1021 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>Number Guessing</title>
<link rel="stylesheet" href="numberguess.css">
</head>
<body>
<div id="wrapper">
<h1>Number guessing game</h1>
<p>Try and guess a random number between 1 and 100.</p>
<p>You have 10 attempts to guess the right number.</p>
<form class="form">
<label for="guessField">Guess a number:</label>
<input type="text" id="guessField" class="guessField">
<input type="submit" id="subt" value="Submit guess" class="guessSubmit">
</form>
<div class="resultParas">
<p>Previous Guesses: <span class="guesses"></span></p>
<p>Guesses Remaining: <span class="lastResult">10</span></p>
<p class="lowOrHi"></p>
</div>
</div>
<script src="numberguess.html"></script>
</body>
</html>