-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathguessNO.html
More file actions
46 lines (34 loc) · 1.36 KB
/
guessNO.html
File metadata and controls
46 lines (34 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guess Number</title>
<link rel="stylesheet" href="guess.css">
</head>
<body>
<nav>
<a href="/" aria-current="page">Home</a>
<a target="_blank" href="https://www.youtube.com/@chaiaurcode">Youtube Channel</a>
</nav>
<div class="container">
<h1>Number Guessing Game</h1>
<div class = sec-contain>
<h3>Try and guess a random number between 1 and 100.<br>
You have 10 attempts to guess the right number.
</h3>
<form class="form">
<label for="guessField" id="guess">Guess a number </label><br>
<input type="number" class="guessField"><br>
<input type ="submit" class="guessSubmit" id="subt" value="Submit guess">
</form>
<div class="resultParas" >
<p>Previous Guesses: <span class = " guesses"></span></p>
<p> Guesses Remaining : <span class = "lastResult "></span></p>
<p class="lowOrhigh"></p>
</div>
</div>
</div>
<script src="Guess.js"></script>
</body>
</html>