forked from Tejashri-Taral/TrendTrove-Ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeedback.html
153 lines (128 loc) · 4.42 KB
/
feedback.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Feedback Form</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.feedback-container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 500px;
width: 100%;
}
.feedback-container h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
}
.feedback-container img {
display: block;
margin: 0 auto 15px;
}
.feedback-container label {
display: block;
margin: 10px 0 5px;
color: #333;
font-size: 14px;
font-weight: bold;
}
.feedback-container input[type="text"],
.feedback-container input[type="email"],
.feedback-container input[type="tel"],
.feedback-container textarea {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
.feedback-container .radio-group {
display: flex;
}
.feedback-container input[type="radio"] {
margin-right: 5px;
}
.feedback-container .rating-group {
text-align: center;
display: flex;
margin: 10px 0;
}
.feedback-container .rating-group input[type="radio"] {
margin: 0 5px;
}
.feedback-container button {
display: block;
width: 100%;
padding: 10px;
background-color: #ff4a4a;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
}
.feedback-container button:hover {
background-color: #e43f3f;
}
</style>
</head>
<body>
<div class="feedback-container">
<img src="https://img.icons8.com/ios-filled/50/000000/rocket.png" alt="Feedback Icon" width="50">
<h2>Drop Us a Feedback</h2>
<form id="feedbackForm">
<label for="name">Your Name</label>
<input type="text" id="name" name="name" placeholder="Your Name" required>
<label for="email">Your Email</label>
<input type="email" id="email" name="email" placeholder="Your Email" required>
<label>Did You Find your Desired Product?</label>
<div class="radio-group">
<label><input type="radio" name="answer" value="yes" required> Yes</label>
<label><input type="radio" name="answer" value="no"> No</label>
</div>
<label>Did you satisfy with our services?</label>
<div class="radio-group">
<label><input type="radio" name="satisfaction" value="yes" required> Yes</label>
<label><input type="radio" name="satisfaction" value="no"> No</label>
</div>
<label>What Number You Given Us Out Of 10</label>
<div class="rating-group">
<label><input type="radio" name="rating" value="1"> 1</label>
<label><input type="radio" name="rating" value="2"> 2</label>
<label><input type="radio" name="rating" value="3"> 3</label>
<label><input type="radio" name="rating" value="4"> 4</label>
<label><input type="radio" name="rating" value="5"> 5</label>
<label><input type="radio" name="rating" value="6"> 6</label>
<label><input type="radio" name="rating" value="7"> 7</label>
<label><input type="radio" name="rating" value="8"> 8</label>
<label><input type="radio" name="rating" value="9"> 9</label>
<label><input type="radio" name="rating" value="10"> 10</label>
</div>
<label for="message">Your Message Or Suggestion</label>
<textarea id="message" name="message" rows="4" placeholder="Your Message Or Suggestion" required></textarea>
<button type="submit">Send Feedback</button>
</form>
</div>
<script>
document.getElementById('feedbackForm').addEventListener('submit', function (e) {
e.preventDefault();
alert('Thank you for your feedback!');
// You can add functionality to send the form data to a server here.
});
</script>
<div class="gtranslate_wrapper"></div>
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"wrapper_selector":".gtranslate_wrapper"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/float.js" defer></script>
</body>
</html>