-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
236 lines (220 loc) · 10.4 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="discription" content="">
<meta name="keywords" content="">
<title>Weather</title>
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/prject.css">
</head>
<body>
<nav class="text-white">
<div class="container p-5">
<div class="row justify-content-between align-items-center">
<div class="logo-container col-2 d-flex justify-content-around align-items-center">
<img class="" src="images/logo.png" alt="">
<div class="p-0">
<h1 class="fs-6 fw-bold p-0 m-0">Weather</h1>
<p class="logo-caption m-0">tagline goes here</p>
</div>
</div>
<ul class="text-capitalize list-unstyled col-6 offset-3 d-flex justify-content-around">
<li> <button class="btn btn-modify">Home</button></li>
<li><button class="btn btn-modify">News</button></li>
<li><button class="btn btn-modify">Live Cameras</button></li>
<li><button class="btn btn-modify">Photos</button></li>
<li><button class="btn btn-modify">Contact</button></li>
</ul>
</div>
</div>
</nav>
<header class="p-5 col-sm-12">
<div class="search-container col-xl-10 m-auto my-5 d-flex p-2">
<input id="citySearch" class="form-control bg-transparent text-white border-0" type="text"
placeholder="Find your location...">
<button class="btn btn-info">Find</button>
</div>
<div class="weather-display col-xl-10 m-auto">
<div class="container-fluid">
<!-- Today's weather -->
<div class="row">
<div class="today col-lg-4">
<div class="today-header p-3 d-flex justify-content-between align-items-center">
<h4 id="todayName" class="m-0 d-inline-block"></h4>
<span id="todayDate" class="m-0"></span>
</div>
<div class="today-body p-4 container text-center">
<div class="row align-items-center">
<h5 id="cityName" class="col-12 text-start"></h5>
<span id="currentTemp" class="d-block col-xl-6"></span>
<div class="img-container col-xl-5 m-auto">
<img id="currentConditionIcon" class=" d-block m-auto" >
</div>
<span id="currentConditionText" class="col-12 d-block text-start local-color"><span>
</div>
</div>
<div class="today-footer">
<div class="container p-3">
<div class="row">
<div class="col-sm-4">
<i class="fas fa-umbrella"></i>
<span>20%</span>
</div>
<div class="col-sm-4">
<i class="fas fa-wind"></i>
<span>18km/h</span>
</div>
<div class="col-sm-4">
<i class="far fa-compass"></i>
<span>East</span>
</div>
</div>
</div>
</div>
</div>
<!-- Tomorrow's weather -->
<div class="tomorrow col-lg-4">
<div class="tomorrow-header p-3 text-center">
<h4 id="tomorrowName" class="m-0"></h4>
</div>
<div class="tomorrow-body p-3 text-center">
<div class="img-container w-25 m-auto my-4">
<img id="tomorrowConditionIcon" class=" d-block w-50 m-auto">
</div>
<span id="tomorrowMaxtemp" class="d-block fs-3 fw-bold text-white"></span>
<span id="tomorrowMintemp" class="d-block"></span>
<span id="tomorrowConditionText" class="d-block local-color my-3"><span>
</div>
</div>
<!-- After tomorrow's weather -->
<div class="after-tomorrow col-lg-4 ">
<div class="after-tomorrow-header p-3 text-center">
<h4 id="afterTomorrowName" class="m-0"></h4>
</div>
<div class="after-tomorrow-body p-3 text-center">
<div class="img-container w-25 m-auto my-4">
<img id="afterTomorrowConditionIcon" class=" d-block w-50 m-auto">
</div>
<span id="afterTomorrowMaxtemp" class="d-block fs-3 fw-bold text-white"></span>
<span id="afterTomorrowMintemp" class="d-block"></span>
<span id="afterTomorrowConditionText" class="d-block local-color my-3"><span>
</div>
</div>
</div>
</div>
</div>
</header>
<footer>
<div class="container-fluid">
<div class="row w-75 m-auto">
<div class="search-container col-lg-7 my-5 d-flex p-2">
<input class="form-control bg-transparent text-white border-0" type="text"
placeholder="Enter your Email to subscribe...">
<button class="btn btn-info">Subscribe</button>
</div>
<div class="icons col-lg-2 offset-lg-2 my-5 d-flex justify-content-between align-items-center">
<span class="d-flex justify-content-center align-items-center"><i class="fab fa-facebook-f"></i></span>
<span class="d-flex justify-content-center align-items-center"><i class="fab fa-twitter"></i></span>
<span class="d-flex justify-content-center align-items-center"><i class="fab fa-google-plus-g"></i></span>
</div>
<p class="footer-caption col-lg-12 mb-5 mt-0">Copyright 2014 Company name. Designed by Themezy. All rights reserved</p>
</div>
</div>
</footer>
<!-- <header class="p-5">
<div class="search-container w-75 m-auto my-5 d-flex p-2">
<input class="form-control bg-transparent text-white border-0" type="text"
placeholder="Find your location...">
<button class="btn btn-info">Find</button>
</div>
<div class="weather-display w-100 m-auto">
<div class="container-fluid">
<div class="row">
<div class="today col-lg-4">
<div class="today-header p-3 d-flex justify-content-between align-items-center">
<h4 class="m-0 d-inline-block">Wednesday</h4>
<span class="m-0">19January</span>
</div>
<div class="today-body p-4 container text-center">
<div class="row align-items-center">
<h5 id="cityName" class="col-12 text-start"></h5>
<span id="currentTemp" class="d-block col-xl-6"></span>
<div class="img-container col-xl-5 m-sm-auto">
<img id="conditionIcon" class=" d-block m-sm-auto" >
</div>
<span id="conditionText" class="col-12 d-block text-start local-color"><span>
</div>
</div>
<div class="today-footer">
<div class="container p-3">
<div class="row">
<div class="col-sm-4">
<i class="fas fa-umbrella"></i>
<span>20%</span>
</div>
<div class="col-sm-4">
<i class="fas fa-wind"></i>
<span>18km/h</span>
</div>
<div class="col-sm-4">
<i class="far fa-compass"></i>
<span>East</span>
</div>
</div>
</div>
</div>
</div>
<div class="tomorrow col-lg-4">
<div class="tomorrow-header p-3 text-center">
<h4 class="m-0">Thursday</h4>
</div>
<div class="tomorrow-body p-3 text-center">
<div class="img-container w-25 m-auto my-4">
<img class=" d-block w-50 m-auto" src="images/icon-compass.png" alt="">
</div>
<span class="d-block fs-3 fw-bold text-white">17.3 C</span>
<span class="d-block">7.7 C</span>
<span class="d-block local-color my-3">Sunny<span>
</div>
</div>
<div class="after-tomorrow col-lg-4 ">
<div class="after-tomorrow-header p-3 text-center">
<h4 class="m-0">Friday</h4>
</div>
<div class="after-tomorrow-body p-3 text-center">
<div class="img-container w-25 m-auto my-4">
<img class=" d-block w-50 m-auto" src="images/icon-compass.png" alt="">
</div>
<span class="d-block fs-3 fw-bold text-white">17.3 C</span>
<span class="d-block">7.7 C</span>
<span class="d-block local-color my-3">Sunny<span>
</div>
</div>
</div>
</div>
</div>
</header>
<footer>
<div class="container-fluid">
<div class="row w-75 m-auto">
<div class="search-container col-lg-7 my-5 d-flex p-2">
<input class="form-control bg-transparent text-white border-0" type="text"
placeholder="Enter your Email to subscribe...">
<button class="btn btn-info">Subscribe</button>
</div>
<div class="icons col-lg-2 offset-lg-2 my-5 d-flex justify-content-between align-items-center">
<span class="d-flex justify-content-center align-items-center"><i class="fab fa-facebook-f"></i></span>
<span class="d-flex justify-content-center align-items-center"><i class="fab fa-twitter"></i></span>
<span class="d-flex justify-content-center align-items-center"><i class="fab fa-google-plus-g"></i></span>
</div>
<p class="footer-caption col-lg-12 mb-5 mt-0">Copyright 2014 Company name. Designed by Themezy. All rights reserved</p>
</div>
</div>
</footer> -->
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/code.js"></script>
</body>
</html>