-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (78 loc) · 2.76 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>tamagotchi</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- * CSS * -->
<link rel="stylesheet" href="css/styles.css">
<!-- * Scripts * -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<script src="scripts/app.js" async defer></script>
</head>
<body>
<!-- * Main Menu * -->
<section class="title-menu">
tamagotchi
<button class="play-button">play</button>
</section>
<!-- * Game Menu * -->
<section class="💪">
<div class="info">
<h2>Age: 0</h2>
<input type="text" class="name">
</div>
<div class="game">
<div class="📺">
<img src="assets/tamagotchi1.gif" class="tamagotchi">
</div>
<div class="stat-bar">
hunger
<div class="bar">
<div class="bar-background">
<div class="bar-filler" id="hunger"></div>
</div>
</div>
tiredness
<div class="bar">
<div class="bar-background">
<div class="bar-filler" id="tiredness"></div>
</div>
</div>
boredom
<div class="bar">
<div class="bar-background">
<div class="bar-filler" id="boredom"></div>
</div>
</div>
</div>
</div>
<div class="buttons">
<button class="game-button" id="select">
→
</button>
<button class="game-button" id="continue">
✓
</button>
<button class="game-button" id="cancel">
☓
</button>
</div>
<nav class="colors">
<button id="green">
<img src="assets/greenpalette.png">
</button>
<button id="blue">
<img src="assets/bluepalette.png">
</button>
<button id="dark">
<img src="assets/darkpalette.png">
</button>
</nav>
</section>
</body>
</html>