-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (68 loc) · 2.56 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./dist/main.css" />
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<script src="./dist/main.js"></script>
<script src="https://kit.fontawesome.com/1f6056bf98.js" crossorigin="anonymous"></script>
<!-- linked in img -->
<meta property="og:title" content="Build-CHO-Plate" />
<meta property="og:image" content="images/buildchoplate-gif.gif" />
<meta property="og:description" content="Interactive game exploring fundamentals of carbohydrate counting for diabetic management"/>
<meta property="og:url" content="https://kcheng16.github.io/build-cho-plate/"/>
</head>
<body>
<div class="modal-background">
<div class="modal-child">
<img src="images/startgame/modal.jpg" />
<button class="start-button">START GAME</button>
</div>
</div>
<div class="alert-modal" style="display: none">
<i class="far fa-times-circle close"></i>
<div class="alert"></div>
</div>
<audio id="music" src="images/sounds/bensound-jazzcomedy.mp3"></audio>
<img id="title" src="images/title.png">
<img id="carbtip" src="images/carbtips/carbct-tip-1.png">
<div class="social">
<a target=“_blank” href="https://www.linkedin.com/in/kcheng16/">
<img src="images/socialmedia/linkedinbutton.png">
</a>
<a target=“_blank” href="https://github.com/kcheng16">
<img src="images/socialmedia/githubicon.png" >
</a>
</div>
<img id="meal-goal" src="images/meal-goals/meal-goal-1.png">
<img id="maxcarb" src="images/maxcarb.png">
<div class="carb-max"></div>
<img id="carbctimg" src="images/carb-counter.png" >
<div class="carb-count">0</div>
<img id="calorieimg" src="images/calorie-counter.png">
<div class="kcal">0</div>
<table id="facts">
<tr>
<th>Food:</th>
<th>Serving Size:</th>
<th>Calories:</th>
<th>Carbs:</th>
</tr>
</table>
<div class="food-bank-div">
<ul id="food-bank"></ul>
</div>
<div id="plate-container">
<img id="plate" src="./images/plate.png">
<img id="plate2" style="display: none;" src="./images/plate.png">
<ul id="plate-ul" onmousedown="return false"></ul>
</div>
<div class="controls">
<div class="clear-plate buttons">Clear Plate</div>
<img id="play-button" class="buttons" src="images\audio-off.png"></img>
<div class="eat-food buttons">Eat!</div>
</div>
</body>
</html>