-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcart.html
103 lines (91 loc) · 3.17 KB
/
cart.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cart</title>
<link rel="stylesheet" href="mystyle.css" />
<script src="script.js"></script>
</head>
<body onload="displayDateTime()">
<header>Welcome to Travel Deals - Cart</header>
<div class="navbar">
<a href="index.html">Home</a>
<a href="stays.html">Stays</a>
<a href="flights.html">Flights</a>
<a href="cars.html">Cars</a>
<a href="cruises.html">Cruises</a>
<a href="contact.html">Contact Us</a>
<a href="cart.html">Cart</a>
<a href="myaccount.html">My Account</a>
<a href="login.html">Login</a>
<a href="registration.html">Register</a>
</div>
<div class="container">
<div class="sidebar">
<h3>Explore</h3>
<a href="stays.html">Stays</a>
<a href="flights.html">Flights</a>
<a href="cars.html">Cars</a>
<a href="cruises.html">Cruises</a>
<a href="contact.html">Contact Us</a>
<a href="cart.html">Cart</a>
<a href="myaccount.html">My Account</a>
<a href="login.html">Login</a>
<a href="registration.html">Register</a>
<!-- New section for changing font size -->
<h3>Settings</h3>
<label for="fontSize">Font Size:</label>
<input
type="number"
id="fontSize"
min="12"
max="36"
value="16"
onchange="changeFontSize()"
placeholder="Enter font size (px)"
/>
<!-- New section for changing background color -->
<label for="bgColor">Background Color:</label>
<input type="color" id="bgColor" onchange="changeBgColor()" />
</div>
<div class="main-content">
<p id="dateTime"></p>
<p id="userName"></p>
<div>
<h2>Hotel</h2>
<div id="cartDetails"></div>
<h3 id="guestInfoHeading">Guests Information</h3>
<form id="guestForm" onsubmit="processHotelBooking(); return false;">
<div id="hotelGuestsInputs"></div>
<button type="submit">Book Room</button>
</form>
<div id="bookingSummary" style="display: none">
<h2>Booking Summary</h2>
<div id="bookingDetails"></div>
</div>
</div>
<div>
<h2>Flight</h2>
<div id="selectedFlightDetails"></div>
<h3 id="passengerInfoHeading">Passenger Information</h3>
<form id="passengerForm" onsubmit="processBooking(); return false;">
<div id="passengerInputs"></div>
<button type="submit">Book Flight</button>
</form>
<div id="bookingSummary" style="display: none">
<h2>Booking Summary</h2>
<div id="bookingDetails"></div>
</div>
</div>
</div>
</div>
<div class="footer">
Section Number: CS 6314.002<br />
Dhairya Patel (NetID: ddp230000)<br />
Prathamesh Kulkarni (NetID: pdk220001)<br />
Harsh Rashmikant Patel (NetID: hxp230001)<br />
</div>
</body>
<script src="cart.js"></script>
</html>