-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitinerary.html
196 lines (169 loc) · 7.06 KB
/
itinerary.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Plan Your Trip | WanderWise</title>
<!-- Google Fonts -->
<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:wght@300;500;700&display=swap" rel="stylesheet">
<!-- Local CSS -->
<link rel="stylesheet" href="style.css">
<style>
/* Page styling */
/* Itinerary section */
.itinerary-section {
display: flex;
justify-content: center;
align-items: center;
height: auto;
margin-top: 100px; /* Added margin to start below the navbar */
}
/* Compact form container */
.form-container {
background-color: white;
border-radius: 20px;
padding: 15px;
width: 500px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Input field styling */
.input-container {
margin-bottom: 15px;
}
.input-field {
width: 100%;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 14px;
}
/* Button styling */
.btn {
background-color: #7f9aa7;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
width: 100%;
font-size: 16px;
cursor: pointer;
}
.btn:hover {
background-color: #4A148C;
}
/* Grouping checkboxes and radio buttons in a compact layout */
.checkbox-group, .radio-group {
display: flex;
flex-direction: column;
color: #333;
}
.checkbox-group label, .radio-group label {
font-size: 13px;
margin-bottom: 3px;
}
.section-title {
color: #333;
font-size: 24px;
margin-bottom: 15px;
}
/* Styling for the places and restaurant sections */
.places-grid, .restaurant-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}
.place-box, .restaurant-box {
border: 1px solid #ccc;
border-radius: 10px;
padding: 15px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.place-box img, .restaurant-box img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 10px;
}
</style>
</head>
<body>
<header>
<nav class="navbar">
<ul class="links-container">
<li class="link-item"><a href="index.html">Travels</a></li>
<li class="link-item">
<a href="#hero-section">
<img src="img/logo.png" class="logo" alt="logo">
</a>
</li>
<li class="link-item"><a href="itinerary.html">Itinerary Planner</a></li>
<li class="link-item"><a href="testimonials.html">Testimonials</a></li>
</ul>
</nav>
</header>
<main class="hero-section" id="hero-section">
<div class="background">
<img src="img/img1.jpg" class="background-image" alt="hero-section image">
<!-- grid -->
<div class="grid-slider">
<div class="grid-item hide"></div>
<div class="grid-item hide"></div>
<div class="grid-item hide"></div>
<div class="grid-item hide"></div>
<div class="grid-item hide"></div>
<div class="grid-item hide"></div>
</div>
</div>
<section class="itinerary-section hero-section">
<div class="form-container">
<h1 class="section-title">Plan Your Trip</h1>
<form id="itinerary-form"> <!-- Add ID to the form -->
<div class="input-container">
<input type="text" id="city" placeholder="Destination City" required class="input-field">
</div>
<div class="input-container">
<input type="date" id="date" required class="input-field">
</div>
<div class="input-container">
<input type="number" id="duration" placeholder="Duration (Days)" required class="input-field">
</div>
<div class="input-container">
<input type="number" id="budget" placeholder="Budget (₹)" required class="input-field">
</div>
<!-- Checkbox group for experience selection -->
<div class="checkbox-group">
<label>Select Experience (choose multiple):</label>
<label><input type="checkbox" name="experience" value="adventure"> Adventure</label>
<label><input type="checkbox" name="experience" value="relaxation"> Relaxation</label>
<label><input type="checkbox" name="experience" value="cultural"> Cultural</label>
<label><input type="checkbox" name="experience" value="culinary"> Culinary</label>
<label><input type="checkbox" name="experience" value="shopping"> Shopping</label>
<label><input type="checkbox" name="experience" value="wildlife"> Wildlife</label>
<label><input type="checkbox" name="experience" value="beaches"> Beaches</label>
</div>
<!-- Radio group for travel group -->
<div class="radio-group">
<label>Are you traveling with:</label>
<label><input type="radio" name="group" value="solo" required> Solo</label>
<label><input type="radio" name="group" value="friends"> Friends</label>
<label><input type="radio" name="group" value="family"> Family</label>
</div>
<!-- Radio group for companions -->
<div class="radio-group">
<label>Traveling with:</label>
<label><input type="radio" name="companions" value="children"> Children</label>
<label><input type="radio" name="companions" value="pets"> Pets</label>
</div>
<button type="submit" class="btn">Create Itinerary</button>
</form>
</div><br><br>
<div id="itinerary-result"></div>
</section>
<script src="itinerary.js"></script>
<script src="app.js"></script>
</body>
</html>