-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbooking.php
More file actions
73 lines (71 loc) · 2.92 KB
/
Copy pathbooking.php
File metadata and controls
73 lines (71 loc) · 2.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PROJECT(PRO)</title>
<link rel="icon" href="image(1).jpeg">
</head>
<link rel="stylesheet" href="style.CSS">
<body>
<div class="all">
<div class="banner">
<div class="logo">
<img src="logo.png" alt="logo" height="60vh" width="90vw">
<label class="hea">SMART TAXI BOOKING</label>
<button type="btn" onclick="login()" id="login">Login</button>
<button type="btn" onclick="signup()" id="sign">Sign Up</button>
</div>
</div>
<div class="navbar">
<a href="index.php">Home</a>
<a href="about.php">About Us</a>
<a href="contact.php">Contact</a>
<a href="car.php">Carlist</a>
<a href="booking.php">Booking</a>
</div>
<!-- Improved Booking Form -->
<div class="booking-container">
<h2>Book Your Taxi</h2>
<form id="booking-form" onsubmit="submitBooking(event)">
<div class="form-group">
<label for="pickup">Pickup Location</label>
<input type="text" id="pickup" placeholder="Enter pickup address" required>
</div>
<div class="form-group">
<label for="destination">Destination</label>
<input type="text" id="destination" placeholder="Enter destination" required>
</div>
<div class="form-group">
<label for="date">Date</label>
<input type="date" id="date" required>
</div>
<div class="form-group">
<label for="time">Time</label>
<input type="time" id="time" required>
</div>
<div class="form-group">
<label for="car-type">Car Type</label>
<select id="car-type" required>
<option value="">Select a car</option>
<option value="standard">Standard (4-seater)</option>
<option value="premium">Premium (Luxury)</option>
<option value="suv">SUV (6-seater)</option>
</select>
</div>
<div class="form-group">
<label for="phone">Phone Number</label>
<input type="tel" id="phone" placeholder="+1234567890" required>
</div>
<button type="submit" class="submit-btn">Confirm Booking</button>
</form>
</div>
</div>
<footer>
<div class="footer">
<p id="p2">Copyright © Smart Taxi Booking 2025.All rights reserved</p>
</div>
</footer>
<script src="script.Js"></script>
</body>
</html>