-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcruises.html
115 lines (102 loc) · 3.77 KB
/
cruises.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
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cruises</title>
<link rel="stylesheet" href="mystyle.css" />
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="cruises.js"></script>
<script src="script.js"></script>
</head>
<body onload="displayDateTime()">
<header>Welcome to Travel Deals - Cruises</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>
<h2>Cruises</h2>
<form id="cruiseForm" onsubmit="validateCruiseForm(); return false;">
<label for="destination">Destination:</label>
<select id="destination" required>
<option value="Alaska">Alaska</option>
<option value="Bahamas">Bahamas</option>
<option value="Europe">Europe</option>
<option value="Mexico">Mexico</option></select
><br />
<label for="departing">Departing Date:</label>
<input type="date" id="departing" required /><br />
<label for="minDuration">Minimum Duration (Days):</label>
<input
type="number"
id="minDuration"
min="3"
max="10"
required
/><br />
<label for="maxDuration">Maximum Duration (Days):</label>
<input
type="number"
id="maxDuration"
min="3"
max="10"
required
/><br />
<label for="adults">Number of Adults:</label>
<input type="number" id="adults" required /><br />
<label for="children">Number of Children:</label>
<input type="number" id="children" required /><br />
<label for="infants">Number of Infants:</label>
<input type="number" id="infants" required /><br />
<button type="submit">Search</button>
</form>
<div id="searchResults"></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>
</html>