-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
33 lines (29 loc) · 1.03 KB
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Number Guessing Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<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>
</br>
<div id="wrapper">
<form class="form">
<label2 for="guessField" id="guess">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">X</span></p>
<p class="lowOrHi"></p>
</div>
</div>
<script src="app.js"></script>
</body>
</html>