-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (29 loc) · 1.22 KB
/
Copy pathindex.html
File metadata and controls
54 lines (29 loc) · 1.22 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
54
<!DOCTYPE html>
<html>
<head>
<title>Guessing Game</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div ID="mainArea"/>
<h1>Guessing Game</h1>
<p id ="question">How many bananas does the monkey have?</p>
<p ID="trys">You Have 5 Trys</p>
<p id="notification">Hide</p>
<input type="text" ID="playersInput" placeholder="Enter a number 1 - 100"/>
<br>
<button ID="submitButton" onclick="playersGuessSubmission()"><strong>Submit</strong></button>
<br>
<button ID="resetButton" onclick="playAgain()">Reset</button>
<button id="hintButton" onclick="provideHint()">Hint</button>
<img ID="banana" src="http://www.clipartbest.com/cliparts/di6/K7o/di6K7o9i9.png"/>
<img ID="monkey" src="http://cartoon-monkeys.clipartonline.net/_/rsrc/1396350269544/funny-baby-monkeys/cartoon_monkey_image_0004.png?height=400&width=400"/>
<div id="hintDiv">
<p id="hintMessage">Hint Message</p>
</div>
<button id="playAgainButton" onclick="playAgain()">Play Again</button>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="guessingGame.js"></script>
</body>
</html>