-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.49 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
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Guram Dvalishvili">
<title>Number Guessing Game</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="guessingGame">
<div class="instructions">
<h1>Guessing Game</h1>
<p>A random number has been generated between 1 and 100.</p>
<p>You have 10 attempts to guess the right number. <span class="small">don't worry I will try to help you.</span></p>
</div>
<div id="gameCore">
<div class="gameStatus">
<h1 class="gameStatusText"></h1>
<button type="button" id="endgame" class="custom-button endgame">Restart Game</button>
</div>
<div class="gameCoreWrapper">
<form id="form">
<label for="guessNumb" class="custom-label">Input a number</label>
<input type="number" id="guessNumb" class="guessNumb">
<button type="submit" id="guessSubmit" class="custom-button">Submit Guess</button>
</form>
<div class="gameResults">
<div class="yourGuesses">previous guesses: <br/></div>
<div class="guessesRemaining">guesses remaining: 10</div>
<div class="guessHelp">input a number to get help!</div>
</div>
</div>
</div>
</div>
<script src="js/app.js"></script>
</body>
</html>