-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (99 loc) · 4.72 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!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">
<title>Your Saved Plans</title>
<!--Import Materialize-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!--Header Text-->
<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=East+Sea+Dokdo&family=Moon+Dance&family=Nanum+Myeongjo:wght@400;700&display=swap" rel="stylesheet">
<!--Body Text-->
<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=East+Sea+Dokdo&family=Moon+Dance&family=Nanum+Myeongjo:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/style.css">
</head>
<body>
<header id="navhead">
<img id="logo" src="./assets/images/last minute plans.png" href="index.html">
<div>
<ul id="navbar">
<li><a href="index.html">Get New Plans</a></li>
</ul>
</div>
</header>
<main>
<section class="title">
<h1>Making Last Minute Plans?</h1>
<h2>Can't decide what to eat or what movie to watch for date night?</h2>
<h2>We've got you covered!</h2>
<p class="description">Select what you crazy kids are in the mood for down below and click "Let's Go!"</p>
</section>
<!--Questions & Dropboxes with values corresponding to API inputs-->
<div class="selections">
<div class="food">
<!--Cuisine Type-->
<label for="cuisineType">What kind of food sounds good tonight?</label>
<select name="cuisineType" id="cuisineType">
<option value="" disabled="" selected=""></option>
<option value="american">American</option>
<option value="asian">Asian</option>
<option value="mediterranean">Mediterranean</option>
<option value="kosher">Kosher</option>
<option value="italian">Italian</option>
<option value="mexican">Mexican</option>
<option value="indian">Indian</option>
</select>
<!--Dietary Restrictions-->
<label for="dietaryRestrictions">Any dietary restrictions?</label>
<select name="dietaryRestrictions" id="dietaryRestrictions">
<option value="" disabled="" selected=""></option>
<option value="dairy-free">Dairy-Free</option>
<option value="gluten-free">Gluten-Free</option>
<option value="keto-friendly">Keto-Friendly</option>
<option value="vegan">Vegan</option>
<option value="vegetarian">Vegetarian</option>
<option value="peanut-free">Peanut-Free</option>
</select>
</div>
<!--Movie Genre-->
<div class="movie">
<label for="movieGenre">What movie genre are you in the mood for?</label>
<select name="movieGenre" id="movieGenre">
<option value="" disabled="" selected=“”></option>
<option value="28">Action</option>
<option value="35">Comedy</option>
<option value="18">Drama</option>
<option value="27">Horror</option>
<option value="10749">Romance</option>
</select>
</div>
<button class="btn btn-info" id="choiceBtn">Let's Go!</button>
<br>
<section class="past-searches">
<h2>Check out your past plans!</h2>
<!--Empty ul to append li's to-->
<ul id="stored-searches"></ul>
<!-- Trigger/Open The Modal -->
<button class="btn btn-info" id="clearBtn">Clear History</button>
<!-- The Modal -->
<div id="clearModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p>Whoah whoah whoah. If you proceed, you're gonna delete all your past plans. You sure you're ready for that level of commitment?</p>
<div class="yes-no">
<button id="no" class="btn">Oh whoops. Never mind.</button> <button id="yes" class="btn">I know what I'm about, son.</button>
</div>
</div>
</div>
</section>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="./assets/script.js"></script>
</body>
</html>