forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
destinationform.html
58 lines (58 loc) · 3.47 KB
/
destinationform.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Destination Booking Form</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="destinationform.html">
</head>
<body>
<div class="container-fluid booking-form-container">
<div class="row justify-content-center align-items-center min-vh-100">
<div class="col-lg-6 col-md-8 col-sm-10">
<form id="bookingForm" class="booking-form p-4 rounded shadow-lg">
<h2 class="text-center mb-4">Book Your Dream Destination</h2>
<div class="mb-3">
<label for="destination" class="form-label">Destination</label>
<input type="text" class="form-control" id="destination" placeholder="Enter destination" aria-describedby="destinationFeedback" required>
<div id="destinationFeedback" class="invalid-feedback">Please select a valid destination.</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
<label for="arrivalDate" class="form-label">Arrival Date</label>
<input type="date" class="form-control" id="arrivalDate" aria-describedby="arrivalDateFeedback" required>
<div id="arrivalDateFeedback" class="invalid-feedback">Please enter a valid arrival date.</div>
</div>
<div class="col-md-6">
<label for="departureDate" class="form-label">Departure Date</label>
<input type="date" class="form-control" id="departureDate" aria-describedby="departureDateFeedback" required>
<div id="departureDateFeedback" class="invalid-feedback">Please enter a valid departure date.</div>
</div>
</div>
<div class="mb-3">
<label for="guests" class="form-label">Number of Guests</label>
<select class="form-select" id="guests" aria-describedby="guestsFeedback" required>
<option value="" selected disabled>Select number of guests</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5+">5+</option>
</select>
<div id="guestsFeedback" class="invalid-feedback">Please indicate the number of guests.</div>
</div>
<div class="mb-3">
<label for="specialRequests" class="form-label">Special Requests</label>
<textarea class="form-control" id="specialRequests" rows="3" placeholder="Enter any special requests"></textarea>
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary btn-lg">Book Now 🏖️</button>
</div>
</form>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>