-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (96 loc) · 3.95 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
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cart Quest</title>
<script src="app.js" defer></script>
<link rel="stylesheet" href="main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Bitter&family=Shadows+Into+Light&display=swap"
rel="stylesheet"
/>
</head>
<body>
<!--Main Container-->
<div class="main-container">
<!--Display Message Container -->
<header>
<h1 class="header-title">CART QUEST</h1>
</header>
<div id="message-box" class="message-box">
<div class="message-content">
<p1>Welcome to <span class= "cart">CART QUEST!</span></p1> <br><br>
<p2>As you are heading out the door, your nosy neighbor notices your reusable grocery bags, and their eyes light up. They quickly shove a grocery list into your hand, yell "Thanks!" and shut the door before you know what just happened. *Sigh*</p2> <br><br>
<p1 >Instructions</p1><br>
<p id="rules"><ol>
<li>Watch the sequence play out carefully.</li>
<li>When the sequence is done displaying, play the sequence back by clicking the correct food.</li>
<li>Press submit when you are finished. </li>
<li>If you are correct, you will move on to the next level which will be more difficult.</li>
<li>If you are wrong, you will start the level again.</li>
</ol>
</p>
<br>
<p2>Happy Shopping!</p2><br><br>
<button id="close-button">Close</button>
</div>
</div>
<!--Stats Display container-->
<div class="stats-container">
<p id="wins">Wins: 0</p>
<p id="losses">Losses: 0</p>
</div>
<!--Game Container-->
<div class="game-container">
<section class="button-grid-wrapper">
<button id="blueberries" class="grid-button">
<img src="images/bueberries.png" alt="blueberries" class="icon" />
</button>
<button id="peppers" class="grid-button">
<img src="images/peppers.png" alt="peppers" class="icon" />
</button>
<button id="lettuce" class="grid-button">
<img src="images/lettuce.png" alt="lettuce" class="icon" />
</button>
<button id="flour" class="grid-button">
<img src="images/flour.png" alt="flour" class="icon" />
</button>
<button id="onions" class="grid-button">
<img src="images/onions.png" alt="onions" class="icon" />
</button>
<button id="strawberries" class="grid-button">
<img
src="images/strawberries.png"
alt="strawberries"
class="icon"
/>
</button>
<button id="cheese" class="grid-button">
<img src="images/cheese.png" alt="cheese" class="icon" />
</button>
<button id="pears" class="grid-button">
<img src="images/pear.png" alt="pears" class="icon" />
</button>
<button id="milk" class="grid-button">
<img src="images/milk.png" alt="milk" class="icon" />
</button>
</section>
</div>
<!--Message Center-->
<div class="message-container">
<h3 id="message-text"></h3>
</div>
<!--Toggle Button Container-->
<div class="toggle-container">
<button id="start-button">START</button>
<button id="submit-button" class="action-button">SUBMIT</button>
<button id="next-button" class="action-button">NEXT</button>
</div>
</div>
</body>
</html>