-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeHotel.html
247 lines (233 loc) · 8.36 KB
/
theHotel.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./style/theHotel.css" />
<link rel="stylesheet" href="./style/index.css" />
<link rel="stylesheet" href="./style/result.css" />
<link rel="stylesheet" href="./style/nav.css" />
<link rel="stylesheet" href="./style/foot.css">
<style>
#sidebar {
background-color: #febb02;
}
#sidebar > div {
box-shadow: none;
}
nav ~ div {
color: black;
}
h2 {
margin: 16px 0px;
}
.silde7_elements {
width: auto;
display: grid;
gap: 7px;
grid-template-columns: repeat(4, 1fr);
}
.silde7_elements img {
width: 93%;
}
</style>
</head>
<body>
<nav></nav>
<div id="_main_container">
<div id="reserve">
<div id="sidebar">
<div id="dates">
<h2> Search</h2>
Destination/property name: <br />
<input
type="search"
name=""
id="search"
placeholder="search here"
/><br /><br />
Check-in date <br />
<input type="date" name="" id="ridate" /><br /><br />
Check-out date <br />
<input type="date" name="" id="rodate" /><br /><br />
<input type="checkbox" name="" id="boxcheck1" />
Entire homes & apartments <br />
<input type="checkbox" name="" id="boxcheck2" />
I'm travelling for work
<button onclick="search()" id="rsb">search</button>
</div>
</div>
<div id="_hotel_images">
<div id="_a">
<a href="#_table" class="_a">Info & prices</a>
<!-- anchor tags are left for here -->
<a href="#_choose" class="_a">Facilities</a>
<a href="" class="_a">House rules</a>
<a href="" class="_a">Guest reviews</a>
</div>
<div id="_name_reserve">
<h2 id="_name_here"></h2>
<a href="#_table"><button class="_button_">Reserve</button></a>
</div>
<div id="_image_main">
<div id="_image_1">
<img src="" alt="loading.." />
<img src="" alt="loading.." />
</div>
<div id="_image_2">
<img src="" id="_main_image" alt="loading.." />
</div>
</div>
<div id="_more_img"></div>
</div>
</div>
<!-- facilities img are here -->
<div id="facilities_img">
<img
src="https://t4.ftcdn.net/jpg/01/73/03/49/240_F_173034962_oNqIeZergLD5j7fE8pnjsPLEsoZqt8oY.jpg"
/>
<img
src="https://t4.ftcdn.net/jpg/00/97/00/13/240_F_97001301_nzEXncqkzSRJDPEZSI07JBaDYsF9ACmo.jpg"
/>
<img src="https://cdn-icons-png.flaticon.com/128/2057/2057432.png" />
<img src="https://cdn-icons-png.flaticon.com/128/857/857663.png" />
<img
src="https://cdn-icons.flaticon.com/png/128/5557/premium/5557951.png?token=exp=1658406139~hmac=1aff5d82d5b4b8104abd10309f4a8c71"
/>
<img
src="https://cdn-icons.flaticon.com/png/128/654/premium/654994.png?token=exp=1658405914~hmac=d10327bf9c5c769370e27310fe333a0e"
/>
<img
src="https://cdn-icons.flaticon.com/png/128/3214/premium/3214208.png?token=exp=1658406049~hmac=6c0f6288dca1658d4d2a33c3e60d87e9"
/>
</div>
<hr />
<!-- Description section -->
<h2 id="_margin_top">Description</h2>
<p id="_details_explain"></p>
<hr />
<!-- table section -->
<table id="_table">
<thead>
<tr>
<th>Room type</th>
<th>Today's price</th>
<th>Your choices</th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
<h2>5 Reasons to choose</h2>
<div id="_choose">
<div class="_choose">
<img
src="https://cdn-icons-png.flaticon.com/128/482/482541.png"
/>Prices you can't beat!
</div>
<div class="_choose">
<img
src="https://cdn-icons-png.flaticon.com/128/1751/1751679.png"
/>Booking is safe
</div>
<div class="_choose">
<img
src="https://cdn-icons.flaticon.com/png/128/3281/premium/3281142.png?token=exp=1658404376~hmac=6aecfd6a0179146b767b4e836bbe729a"
/>Manage your bookings online
</div>
<div class="_choose">
<img src="https://cdn-icons-png.flaticon.com/128/589/589671.png" />The
staff speak English
</div>
<div class="_choose">
<img
src="https://cdn-icons.flaticon.com/png/128/734/premium/734258.png?token=exp=1658404608~hmac=7afac28357e2d362ad7c3269d52c6a65"
/>Great location and facilities for couples
</div>
</div>
<hr />
<!-- */ the fine print /* -->
<div id="_name_reserve">
<h2>The Fine Print</h2>
<a href="#_table"><button class="_button_">Reserve</button></a>
</div>
<div id="_fine_print"></div>
<section class="bloc_07">
<h5>Homes guests love</h5>
<div class="bloc_07_sildebox">
<div class="silde7_elements">
<div class="card_silde_2 card_silde_7">
<img
src="https://cf.bstatic.com/xdata/images/hotel/max500/48243386.jpg?k=9891532fb6d24d301b65659650e79812c426f46de905fba30bb8a8c5fea52d85&o="
alt="rome"
/>
<div class="card_silde7_text">
<p>Romance al Colosseo</p>
<p>Rome</p>
<p class="price7">Starting from ₹ 24,996</p>
</div>
<div class="card7_note">
<div>9.8</div>
<p><span>Exceptional </span>. 46 reviews</p>
</div>
</div>
<div class="card_silde_2 card_silde_7">
<img
src="https://cf.bstatic.com/xdata/images/hotel/max500/73220198.jpg?k=befe483c7a64f1656fbe3a307d542a74da26fbf458d2b2c7d22f0c19e9828705&o="
alt="bedroom"
/>
<div class="card_silde7_text">
<p>LivinParis-Luxury 3 Bedrooms Le Lovur...</p>
<p>Paris</p>
<p class="price7">Starting from ₹ 39,896</p>
</div>
<div class="card7_note">
<div>8.2</div>
<p><span>Very good </span>. 34 reviews</p>
</div>
</div>
<div class="card_silde_2 card_silde_7">
<img
src="https://cf.bstatic.com/xdata/images/hotel/max500/93164515.jpg?k=48b6d7931e47382ff8b765df2fdcb4b5d05669db1f4b01859852aea44cba3367&o="
alt="room"
/>
<div class="card_silde7_text">
<p>Casa Portuguesa Prata</p>
<p>Libson</p>
<p class="price7">Starting from ₹ 17,350</p>
</div>
<div class="card7_note">
<div>8.3</div>
<p><span>Very good </span>. 47 reviews</p>
</div>
</div>
<div class="card_silde_2 card_silde_7">
<img
src="https://cf.bstatic.com/xdata/images/hotel/max500/80970678.jpg?k=5522889e6ffe1e96899b9e82cee9a7653af667b6892383a42820c64acdacdae3&o="
alt="prague"
/>
<div class="card_silde7_text">
<p>Michakska Old Town Apartment</p>
<p>Prague</p>
<p class="price7">Starting from ₹ 29,481</p>
</div>
<div class="card7_note">
<div>8.9</div>
<p><span>Fabulous </span>. 85 reviews</p>
</div>
</div>
</div>
</div>
</section>
</div>
<footer></footer>
</body>
</html>
<script type="module">
import nav from "./component/nav.js"
import footer from "./component/footer.js"
document.querySelector("nav").innerHTML = nav()
document.querySelector("footer").innerHTML = footer()
</script>
<script src="./script/theHotel.js"></script>