-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (49 loc) · 1.48 KB
/
Copy pathindex.html
File metadata and controls
53 lines (49 loc) · 1.48 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Number guessing game</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="all-container">
<div class="numbers">
<div id="one">1</div>
<div id="hundred">100</div>
<div id="sixty-nine">69</div>
<div id="forty-two">42</div>
<div id="fifty-six">56</div>
<div id="thirty-three">33</div>
</div>
<div class="container">
<h1>Number Guessing Game</h1>
<p>We have selected a random number between <b>1 and 100</b>.</p>
<p>
See if you can guess it in 10 turns or fewer. We'll tell you if your
guess was too high or too low.
</p>
<form>
<label for="guessField">Enter a guess: </label>
<input
type="number"
min="1"
max="100"
required
id="guessField"
class="guessField"
/>
<div class="submitBtn">
<input type="submit" value="Submit !" class="guessSubmit" />
</div>
</form>
<div class="resultParas">
<p class="guesses"></p>
<p class="lastResult"></p>
<p class="lowOrHi"></p>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>