-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (104 loc) · 4.97 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Index</title>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="styles/loader.css">
<link rel="stylesheet" href="styles/common.css">
<link rel="stylesheet" href="styles/index.css">
</head>
<body>
<div id="loader"></div>
<div class="main-container">
<!-- Header -->
<header class="header-footer" id="header"></header>
<!-- Content -->
<div id="index-container">
<div id="banner">
<!--Search Bar-->
<div id="search-bar">
<form autocomplete="off">
<input id="search-input" type="text" placeholder="City" />
</form>
</div>
</div>
<!--City Cards-->
<div class="city-cards">
<div class="city-card-and-name-inner">
<a href="list.html?city=Delhi">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/15/33/fe/a2/new-delhi.jpg"
class="city-image">
<div class='overlay'><span>Delhi</span></div>
</a>
</div>
<div class="city-card-and-name-inner">
<a href="list.html?city=Goa">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/15/33/fc/f0/goa.jpg"
class="city-image">
<div class='overlay'><span>Goa</span></div>
</a>
</div>
<div class="city-card-and-name-inner">
<a href="list.html?city=Hyderabad">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/0f/98/f7/df/charminar.jpg"
class="city-image">
<div class='overlay'><span>Hyderabad</span></div>
</a>
</div>
<div class="city-card-and-name-inner">
<a href="list.html?city=Kolkata">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/15/33/fe/ac/kolkata-calcutta.jpg"
class="city-image">
<div class='overlay'><span>Kolkata</span></div>
</a>
</div>
</div>
<div id="view-more-city-cards">
<div class="city-cards">
<div class="city-card-and-name-inner">
<a href="list.html?city=Chennai">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/15/4d/46/b8/chennai-madras.jpg"
class="city-image">
<div class='overlay'><span>Chennai</span></div>
</a>
</div>
<div class="city-card-and-name-inner">
<a href="list.html?city=Agra">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/15/33/fc/fc/agra.jpg"
class="city-image">
<div class='overlay'><span>Agra</span></div>
</a>
</div>
<div class="city-card-and-name-inner">
<a href="list.html?city=Jaipur">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/10/a3/3b/8a/screenshot-2017-09-12.jpg"
class="city-image">
<div class='overlay'><span>Jaipur</span></div>
</a>
</div>
<div class="city-card-and-name-inner">
<a href="list.html?city=Bengaluru">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/0c/d2/2f/7a/palace-from-the-outside.jpg"
class="city-image">
<div class='overlay'><span>Bengaluru</span></div>
</a>
</div>
</div>
</div>
<a id="view-more">
<button id="view-more-button" type="button" class="btn btn-secondary" onclick="viewMore()">View
More</button>
</a>
</div>
<!-- Footer-->
<footer class="header-footer" id="footer"></footer>
</div>
<script src="scripts/common.js"></script>
<script src="scripts/index.js"></script>
</body>
</html>