forked from InnoWebLabs/Vehigo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedbackForm.html
More file actions
170 lines (151 loc) · 10.1 KB
/
Copy pathfeedbackForm.html
File metadata and controls
170 lines (151 loc) · 10.1 KB
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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Car Rental Service Feedback</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&family=Open+Sans&display=swap">
<link rel="stylesheet" href="./assets/css/feebackForm.css">
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml">
</head>
<body>
<header class="header" data-header>
<div class="container">
<a href="index.html" class="logo">
<img src="./assets/images/vehigologo.png" alt="VehiGo logo">
</a>
<nav class="navbar" data-navbar>
<ul class="navbar-list">
<li><a href="index.html" class="navbar-link" data-nav-link>Home</a></li>
<li><a href="index.html#featured-car" class="navbar-link" data-nav-link>Explore cars</a></li>
<li><a href="./src/pages/about.html" class="navbar-link" data-nav-link>About us</a></li>
<li><a href="#blog" class="navbar-link" data-nav-link>Blog</a></li>
</ul>
</nav>
<div class="header-contact">
<a href="tel:1800100100" class="contact-link">1800-100-100</a>
<span class="contact-time">Mon - Sat: 9:00 am - 6:00 pm</span>
</div>
</div>
</header>
<main class="feedback">
<h1 class="feedbackCustom">Car Rental Service Feedback Form</h1>
<div class="feedbackFor">
<form id="feedbackForm" action="#" method="post" autocomplete="on">
<fieldset>
<legend>Customer Information:</legend>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" placeholder="Enter your phone number" required pattern="[0-9+\-\s]{7,15}">
</fieldset>
<fieldset>
<legend>Rental Details:</legend>
<label for="reservationNumber">Rental Reservation Number:</label>
<input type="text" id="reservationNumber" name="reservationNumber" placeholder="Enter reservation number" required>
<label for="location">Rental Location:</label>
<input type="text" id="location" name="location" placeholder="Enter rental location" required>
<div class="legendary">
<label for="rentalDatesFrom">Rental Dates: From</label>
<input type="date" id="rentalDatesFrom" name="rentalDatesFrom" required>
<label for="rentalDatesTo">to</label>
<input type="date" id="rentalDatesTo" name="rentalDatesTo" required>
</div>
</fieldset>
<fieldset class="project">
<legend>Ratings:</legend>
<div class="question">
<h4>1. Overall Experience:</h4>
<h5>Please rate your overall experience with our car rental service.</h5>
<div class="star-rating">
<input type="radio" id="star5_1" name="rating1" value="5" required><label for="star5_1">★</label>
<input type="radio" id="star4_1" name="rating1" value="4"><label for="star4_1">★</label>
<input type="radio" id="star3_1" name="rating1" value="3"><label for="star3_1">★</label>
<input type="radio" id="star2_1" name="rating1" value="2"><label for="star2_1">★</label>
<input type="radio" id="star1_1" name="rating1" value="1"><label for="star1_1">★</label>
</div>
</div>
<div class="question">
<h4>2. Vehicle Quality:</h4>
<h5>How would you rate the quality and condition of the rental vehicle?</h5>
<div class="star-rating">
<input type="radio" id="star5_2" name="rating2" value="5" required><label for="star5_2">★</label>
<input type="radio" id="star4_2" name="rating2" value="4"><label for="star4_2">★</label>
<input type="radio" id="star3_2" name="rating2" value="3"><label for="star3_2">★</label>
<input type="radio" id="star2_2" name="rating2" value="2"><label for="star2_2">★</label>
<input type="radio" id="star1_2" name="rating2" value="1"><label for="star1_2">★</label>
</div>
</div>
<div class="question">
<h4>3. Reservation Process:</h4>
<h5>How easy was it to make a reservation with us?</h5>
<div class="star-rating">
<input type="radio" id="star5_3" name="rating3" value="5" required><label for="star5_3">★</label>
<input type="radio" id="star4_3" name="rating3" value="4"><label for="star4_3">★</label>
<input type="radio" id="star3_3" name="rating3" value="3"><label for="star3_3">★</label>
<input type="radio" id="star2_3" name="rating3" value="2"><label for="star2_3">★</label>
<input type="radio" id="star1_3" name="rating3" value="1"><label for="star1_3">★</label>
</div>
</div>
<div class="question">
<h4>4. Vehicle Pickup Process:</h4>
<h5>How smooth was the vehicle pickup process?</h5>
<div class="star-rating">
<input type="radio" id="star5_4" name="rating4" value="5" required><label for="star5_4">★</label>
<input type="radio" id="star4_4" name="rating4" value="4"><label for="star4_4">★</label>
<input type="radio" id="star3_4" name="rating4" value="3"><label for="star3_4">★</label>
<input type="radio" id="star2_4" name="rating4" value="2"><label for="star2_4">★</label>
<input type="radio" id="star1_4" name="rating4" value="1"><label for="star1_4">★</label>
</div>
</div>
<div class="question">
<h4>5. Vehicle Return Process:</h4>
<h5>How smooth was the vehicle return process?</h5>
<div class="star-rating">
<input type="radio" id="star5_5" name="rating5" value="5" required><label for="star5_5">★</label>
<input type="radio" id="star4_5" name="rating5" value="4"><label for="star4_5">★</label>
<input type="radio" id="star3_5" name="rating5" value="3"><label for="star3_5">★</label>
<input type="radio" id="star2_5" name="rating5" value="2"><label for="star2_5">★</label>
<input type="radio" id="star1_5" name="rating5" value="1"><label for="star1_5">★</label>
</div>
</div>
<div class="question">
<h4>6. Cleanliness:</h4>
<h5>Was the rental vehicle clean and well-maintained when you received it?</h5>
<div class="star-rating">
<input type="radio" id="star5_6" name="rating6" value="5" required><label for="star5_6">★</label>
<input type="radio" id="star4_6" name="rating6" value="4"><label for="star4_6">★</label>
<input type="radio" id="star3_6" name="rating6" value="3"><label for="star3_6">★</label>
<input type="radio" id="star2_6" name="rating6" value="2"><label for="star2_6">★</label>
<input type="radio" id="star1_6" name="rating6" value="1"><label for="star1_6">★</label>
</div>
</div>
<label for="Additional-Comments"><h4>Additional Comments:</h4></label>
<h5>Please provide any additional comments or suggestions for improvement:</h5>
<textarea id="Additional-Comments" name="Additional-Comments" placeholder="Additional Comments"></textarea>
<label for="overallExperience"><h4>Would You Recommend Us?</h4></label>
<h5>Would you recommend our car rental service to friends or family?</h5>
<select id="overallExperience" name="overallExperience" required>
<option disabled selected value="">Select an option</option>
<option value="Yes, definitely">Yes, definitely</option>
<option value="Yes, maybe">Yes, maybe</option>
<option value="No, probably not">No, probably not</option>
<option value="No, definitely not">No, definitely not</option>
</select>
</fieldset>
<button type="submit" class="submit-btn">Submit</button>
</form>
</div>
</main>
<script>
// Optional: Show a thank you message on submit
document.getElementById('feedbackForm').addEventListener('submit', function(e) {
e.preventDefault();
this.reset();
alert('Thank you for your feedback!');
});
</script>
</body>
</html>