-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (43 loc) · 1.91 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title>Hungry Healthy Hippos</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="animate.css">
<link href="https://fonts.googleapis.com/css?family=Coiny" rel="stylesheet">
</head>
<body>
<div id="main-container">
<div id="falling-foods"></div>
<div id="score">
<p class="total-score"> </p>
<p class="junk-score"></p>
</div>
<!-- Status meter HTML & CSS adapted from:
https://css-tricks.com/css3-progress-bars/ -->
<!-- <div class="meter">
<span style="width: 25%"></span>
</div> -->
</div>
<div id="start-screen" class="animated slideInRight">
<h1>How to play</h1>
<p class="screens-content">Feed your pet hippos their favorite veggies! <br />Click on healthy foods and reach 300 Total Score to Win!. <br /><br />But don't ruin your appetite! Click on too many junk foods and your herbivorous hippos will get sick.</p>
<button id="start-button">Start</button>
</div>
<div id="win-screen">
<h1>You win!</h1>
<p class="screens-content">How about an ice cold kombucha <br />or matcha tea to celebrate??</p>
<button class="replay-button">Try Again</button>
</div>
<div id="lose-screen">
<h1>You lose!</h1>
<p class="screens-content">Oh no - GMOverload!</p>
<button class="replay-button">Try Again</button>
</div>
<footer>Icons made by <a target="_blank" href="http://www.flaticon.com/authors/madebyoliver">Madebyoliver</a> from www.flaticon.com</footer>
</body>
</html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="jquery.js"></script>
<script type="text/javascript" src="script.js" ></script>