-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·34 lines (34 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Random Number Guessing Game</title>
<link rel="stylesheet" href="style.css">
<noscript>
<h1>"Please turn on Javascript to play game."</h1>
<style>
#main-container {display: none;}
</style>
</noscript>
</head>
<body>
<div id="main-container"><!--Start of main-container div-->
<div class="wrapper"><!--Start of wrapper div-->
<h1>Guess the random number between 1 and 100.</h1>
<h2>Enter Your Guess Below</h2>
<div id="alert-message-container"></div>
<div id="details-container">
<h3>Previous Guess:</h3>
<h4>Guess History:</h4>
<h5>Number of Guesses:</h5>
</div>
<div id="button-container">
<input type="text" id="text-field" maxlength="3">
<button type="button" onclick="focusMethod()" id="guess-button">Guess</button>
<button type="button" onclick="restartGame()" id="restart-button">Restart Game</button>
</div><!--End of button-container div-->
</div><!--End of wrapper div-->
</div><!--End of main-container div-->
<script src="app.js"></script>
</body>
</html>