-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsurvey.html
170 lines (165 loc) · 6.91 KB
/
survey.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Cade's Food Fusion</title>
<!-- Latest compiled and minified CSS -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css"
/>
<!-- jQuery library -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.slim.min.js"></script>
<!-- Popper JS -->
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="styles/fusionStyles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ"
crossorigin="anonymous"
/>
<script
type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
</head>
<body>
<!-- Header Section -->
<div class="row">
<header class="col-sm-12">
<img class="img-center" src="images/pagelogo.png" alt="Logo" width="250" />
<h1 class="text-center">Help us serve you better</h1>
</header>
</div>
<!-- Navigation Section -->
<nav class="row navbar navbar-expand-sm bg-primary justify-content-center">
<li class="col-sm-1 text-center"> </li>
<li class="col-sm-1 text-center"><a href="index.html">Home</a></li>
<li class="col-sm-1 text-center"><a href="about.html">About Us</a></li>
<li class="col-sm-1 text-center"><a href="breakfast.html">Breakfast</a></li>
<li class="col-sm-1 text-center"><a href="lunch.html">Lunch</a></li>
<li class="col-sm-1 text-center"><a href="dinner.html">Dinner</a></li>
<li class="col-sm-1 text-center"><a href="extras.html">Appetizers</a></li>
<li class="col-sm-1 text-center"><a href="locations.html">Locations</a></li>
<li class="col-sm-1 text-center"><a href="contact.html">Contact Us</a></li>
<li class="col-sm-1 text-center"><a href="events.html">Events</a></li>
<li class="col-sm-1 text-center"><a href="order.html">Order</a></li>
<li class="col-sm-1 text-center"> </li>
</nav>
<!-- Content Section -->
<main>
<form action="#" method="GET">
<fieldset>
<fieldset>
<legend>Customer Survey</legend>
<p>
<label for="user_phone">Phone Number</label>
<input type="text" id="user_phone" name="user_phone" placeholder="###-###-####" />
</p>
<p>
<label for="user_name">Name</label>
<input type="text" name="user_name" id="user_name" placeholder="John Doe" required />
</p>
<p class="greetMessage"></p>
<p>
<label for="user_email">Email</label>
<input
type="email"
name="user_email"
id="user_email"
placeholder="johndoe@email.com"
required
/>
</p>
<p class="userGoodChoice d-flex">
<label for="fav_dish">Choose your favorite dish</label>
<select name="fav_dish" id="fav_dish">
<option value="none">Choose your favorite</option>
<option value="douhua">Douhua</option>
<option value="youtiao">Youtiao</option>
<option value="steam fish">Steam Fish</option>
<option value="green beans">Green Beans</option>
<option value="beef ramen">Ramen Noodles with Beef</option>
<option value="egg fried rice">Egg Fried Rice</option>
<option value="steamed dumplings">Steamed Dumplings</option>
<option value="century egg">Century Egg</option>
</select>
</p>
<p class="good_choice"></p>
<p>
<label for="user_rating">Rate our restaurant</label>
1<input
type="range"
name="user_rating"
id="user_rating"
min="1"
max="10"
value="10"
oninput="showCurrentRating(this.value)"
/>10
<span
><strong>Current Rating: </strong
><span class="" id="user_current_rating">10</span></span
>
</p>
<p class="user_rating_message"></p>
<p>
<label for="user_comments">Comments</label>
<textarea name="user_comments" id="user_comments" cols="50" rows="5">
Write your feedback here </textarea
>
</p>
<p>
<label for="visit_date">Visit Date</label>
<input
type="date"
name="visit_date"
id="visit_date"
value="2022-04-16"
min="2020-01-01"
max="2022-05-05"
/>
</p>
<p>
<label for="visit_time">Time of the day visited</label><br />
<input type="radio" name="visit_time" id="early" value="early" /> Early <br />
<input type="radio" name="visit_time" id="midday" value="midday" /> Midday <br />
<input type="radio" name="visit_time" id="afternoon" value="afternoon" /> Afternoon
<br />
<input type="radio" name="visit_time" id="evening" value="evening" /> Evening
</p>
<p>
<label for="publish_feedback">Permission to publish your survey</label>
<input type="checkbox" name="publish_feedback" id="publish_feedback" value="yes" />
Yes
</p>
<button type="submit" class="btn btn-success submitButton">Submit</button>
<button type="reset" class="btn btn-danger resetButton">Clear Form</button>
<p class="phoneNumberCheck"></p>
</fieldset>
</fieldset>
</form>
</main>
<!-- Footer Section -->
<footer>
<div class="row">
<li class="col-sm-6 text-right"><a href="survey.html">Help Us Serve You Better</a></li>
<li class="col-sm-6 text-left"><a href="employment.html">Job Opportunities</a></li>
</div>
<div class="row">
<p class="col-sm-12 text-center">Cade's Food Fusion © 2022</p>
</div>
<div class="text-center">
<a href="#"><i class="fas fa-clock"></i></a>
<a href="#"><i class="fas fa-coffee"></i></a>
<a href="#"><i class="fas fa-bread-slice"></i></a>
<a href="#"><i class="fas fa-bowling-ball"></i></a>
</div>
</footer>
<script src="scripts/fusionScript.js"></script>
</body>
</html>