-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPage 1.html
More file actions
52 lines (48 loc) · 2.28 KB
/
Copy pathPage 1.html
File metadata and controls
52 lines (48 loc) · 2.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<title>Courier Service Booking</title>
<link rel="stylesheet" href="style_booking.css">
</head>
<body>
<div class="background">
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="#">Booking</a></li>
<li><a href="Main_Track.html">Track</a></li>
<li><a href="c.html">Contact</a></li>
<li><a href="#" style="color: rgb(195, 42, 25);">SSSD Courier Service</a></li>
<li><a href="#" id="sign-in">Sign In</a></li>
<li><a href="#" id="sign-up">Sign Up</a></li>
</ul>
</nav><br><br><br><br><br>
<div class="booking-form" >
<h2>Enter Your Information</h2>
<form id="bookingForm" onsubmit="return false;">
<label for="fullName">Full Name:</label>
<input type="text" name="fullName" id="fullName" required>
<label for="email">Email:</label>
<input type="email" name="email" id="email" required>
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required>
<br>
<button onclick="nextStep('Page 2.html')">Next</button>
</form>
<script>
function nextStep(nextPage) {
sessionStorage.setItem('fullName', document.getElementById('fullName').value);
sessionStorage.setItem('email', document.getElementById('email').value);
sessionStorage.setItem('phone', document.getElementById('phone').value);
window.location.href = nextPage;
}
</script>
</div>
</div>
</body>
</html>