-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarbucks_survey.html
140 lines (122 loc) · 4.25 KB
/
starbucks_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Starbucks Survey</title>
<style>
body {
font-family: Arial, sans-serif;
background-image: url('https://github.com/Master120344/RealSurveys/blob/main/wallpapers/blackwallpaper.jpg?raw=true');
background-size: cover;
background-attachment: fixed;
margin: 0;
padding: 20px;
color: #fff;
}
.container {
max-width: 800px;
margin: 0 auto;
background-color: rgba(0, 0, 0, 0.7);
padding: 20px;
border-radius: 8px;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.question {
margin-bottom: 20px;
}
.question label {
display: block;
margin-bottom: 5px;
}
.question input[type="text"],
.question textarea,
.question select {
width: 100%;
padding: 10px;
border-radius: 4px;
border: 1px solid #ddd;
background-color: #fff;
}
.question textarea {
height: 100px;
resize: vertical;
}
.question input[type="radio"],
.question input[type="checkbox"] {
margin-right: 10px;
}
.submit-button {
display: block;
width: 100%;
padding: 15px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.submit-button:hover {
background-color: #0056b3;
}
.back-link {
display: block;
margin-top: 20px;
text-align: center;
color: #007bff;
text-decoration: none;
font-weight: bold;
}
.back-link:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>Starbucks Survey</h1>
<form action="/submit-survey" method="post">
<!-- Question 1 -->
<div class="question">
<label for="frequency">How often do you visit Starbucks?</label>
<select id="frequency" name="frequency" required>
<option value="">Select an option</option>
<option value="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="rarely">Rarely</option>
</select>
</div>
<!-- Question 2 -->
<div class="question">
<label for="favorite-drink">What is your favorite drink at Starbucks?</label>
<input type="text" id="favorite-drink" name="favorite-drink" required>
</div>
<!-- Question 3 -->
<div class="question">
<label>How would you rate the quality of our customer service?</label>
<input type="radio" id="excellent" name="service" value="excellent" required>
<label for="excellent">Excellent</label><br>
<input type="radio" id="good" name="service" value="good">
<label for="good">Good</label><br>
<input type="radio" id="average" name="service" value="average">
<label for="average">Average</label><br>
<input type="radio" id="poor" name="service" value="poor">
<label for="poor">Poor</label>
</div>
<!-- Question 4 -->
<div class="question">
<label for="suggestions">Do you have any suggestions for improving our service?</label>
<textarea id="suggestions" name="suggestions"></textarea>
</div>
<button type="submit" class="submit-button">Submit Survey</button>
</form>
<a href="surveys3.html" class="back-link">« Back to Surveys Page 3</a>
</div>
</body>
</html>