-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguess.html
34 lines (34 loc) · 1.45 KB
/
guess.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
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1">
<title>Guess The Number</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link href="css/guess.css" rel="stylesheet">
</head>
<body>
<div id="game">
<div id="statement">
<h1>I'm thinking of a number between 1 and 100 including 1 and 100. Can you guess what number I'm thinking
of?</h1>
<h3>How many guesses will it take you to guess it?</h3>
</div>
<div id="guesses">
<p id="answer">My number is: </p>
<label for="guess">Enter your guess.</label>
<input type="number" id="guess" placeholder="Enter your guess">
<p id="lastGuess"></p>
</div>
</div>
<script src="js/guess.js"></script>
<script src="https://kit.fontawesome.com/68715d24c0.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.1.min.js"
integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ="
crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
</body>
</html>