-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
292 lines (261 loc) · 11.5 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html>
<head>
<title>Weather App</title>
<meta charset="utf-8">
<meta name="author" content="Fatma Ngim El-deen" />
<meta name="description" content="weather app" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="html,css,js,ajax,weather" />
<!-- Page icon -->
<link rel="icon" href="images/icon.png" />
<!-- Font Family -->
<link rel="stylesheet" href="https://use.typekit.net/oov2wcw.css">
<!-- Fontawesome -->
<link rel="stylesheet" href="css/all.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.min.css" />
<!-- Page Style -->
<link rel="stylesheet" href="css/style.css" />
<!-- Responsive Style -->
<link rel="stylesheet" href="css/responsive.css" />
</head>
<body>
<div class="sm-bg">
</div>
<!------------------------ Header Beginning ------------------------>
<header class="header" id="to-top">
<div class="container">
<nav class="navbar navbar-expand-lg py-2">
<a class="navbar-brand " href="#">
<img
class="img-fluid"
src="images/cloud-haze2.svg"
width="100px"
height="100px"
/>
Weather
</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link home" href="#"
>Home <span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#search">Search</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#mobileApp">Mobile App</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#subscribe">Subscribe</a>
</li>
</ul>
</div>
</nav>
<div class="header-content my-5 py-2">
<div class="row">
<div class="col-lg-7">
<div class="header-info" id="about">
<h2 class="main-color mb-4">Weather App</h2>
<p>
Having an up to date information about the weather helps you to
take well-read decisions. These weather apps constantly update
the forecasts for a day or hour or sometimes for even a
minute. These can be simply termed as the compact weather
devices, as they do not only tell about the temperature of
that specific region instead they can describe the accurate
time of the sunrise and sunset, the time of the rainfall,
humidity levels, etc.
</p>
</div>
</div>
<div class="col-lg-5">
<div class="header-img">
<img src="images/raining-animate-1.svg" class="img-fluid" />
</div>
</div>
</div>
</div>
</div>
</header>
<!------------------------ Header End------------------------>
<!------------------------ Display Temp ------------------------>
<section class="display-temp my-5 py-2" id="search">
<div class="container">
<div class="search m-auto">
<input type="text" id="search-bar" class="w-100 mb-5" placeholder=" Search City..." style="font-family:Arial, FontAwesome"/>
</div>
<div class="city-temp d-flex">
<!-- Today's Card -->
<div class="temp-card shadow">
<div class="day-and-date d-flex justify-content-between">
<p id="today"></p>
<p id="today-date"></p>
</div>
<div class="temp-datails">
<p id="location"></p>
<div class="d-flex justify-content-between my-4">
<div class="pt-3">
<h2 id="today-degree" class="d-inline-block"></h2><h2 class="d-inline-block"><sup>o</sup>C</h2>
</div>
<img id="today-icon" width="90"/>
</div>
<p id="today-description"></p>
<div class="details">
<i class="fas fa-umbrella pr-1"></i>
<span id="humidty"></span> <span>%</span>
<i class="fas fa-wind pl-3 pr-1"></i>
<span id="wind"></span> <span>km/h</span>
<i class="far fa-compass pl-3 pr-1"></i>
<span id="compass"></span>
</div>
</div>
</div>
<!-- Next Days Cards -->
<div class="temp-card text-center shadow">
<div class="day-and-date d-flex justify-content-between">
<p class="nextDay"></p>
<p class="nextDate"></p>
</div>
<div class="temp-datails">
<div>
<img class="nextDay-icon" width="90"/>
</div>
<h2 class="max-degree d-inline-block"></h2><h2 class="d-inline-block"><sup>o</sup>C</h2>
<br>
<p class="min-degree d-inline-block"></p><p class="d-inline-block"><sup>o</sup>C</p>
<p class="nextDay-description"></p>
</div>
</div>
<div class="temp-card text-center shadow">
<div class="day-and-date d-flex justify-content-between">
<p class="nextDay"></p>
<p class="nextDate"></p>
</div>
<div class="temp-datails">
<div>
<img class="nextDay-icon" width="90"/>
</div>
<h2 class="max-degree d-inline-block"></h2><h2 class="d-inline-block"><sup>o</sup>C</h2>
<br>
<p class="min-degree d-inline-block"></p><p class="d-inline-block"><sup>o</sup>C</p>
<p class="nextDay-description"></p>
</div>
</div>
</div>
</div>
</section>
<!------------------------ Display Temp ------------------------>
<!------------------------ Mobile App part ------------------------>
<section class="download-app py-3 my-5" id="mobileApp">
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="download-img text-center">
<img class="img-fluid" src="images/download.png">
</div>
</div>
<div class="col-lg-8">
<div class="download-info text-center mt-5">
<h4 class="main-color mb-4">Mobile App</h4>
<p class="mb-4">
This weather app is one of best free weather apps with full
features:
<br>
Local weather
weather map (weather map service)
and weather widgets.
</p>
<div class="download-btn mt-5">
<button class="btn btn-info mr-2">Download Android</button>
<button class="btn btn-info">Download iOS</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!------------------------ Mobile App part ------------------------>
<!------------------------ Subscribe ------------------------>
<section class="subscribe text-center my-5 py-5" id="subscribe">
<div class="container">
<div class="subscribe-container d-flex">
<div class="subscribe-info pt-5">
<div>
<h4 class="main-color">Subscribe</h4>
<p>Get daily weather updates, quotes & more..</p>
</div>
<input class="w-75" id="emailInput" type="mail" placeholder=" Enter your email to subsribe.." style="font-family:Arial, FontAwesome">
<div id="emailInputAlert" class="d-none text-danger my-3">
Invalid Email Address!
</div>
<button class="btn btn-info d-block mx-auto my-3" id="subscribeBtn">Subscribe</button>
</div>
<div class="subscribe-img">
<img class="img-fluid w-75 ml-5" src="images/subscribe.png">
</div>
</div>
</div>
</section>
<!-- Submit LightBox -->
<div id="submit-lighBox">
<div class="lighBox-content text-center shadow">
<div class="lighBox-img">
<img class="img-fluid" src="images/submit-lightbox.svg" width="220px" height="220px">
</div>
<div class="lightBox-info">
<h5>Congratulations!</h5>
<p>You can now check your email<br>to verify your account</p>
<button class="btn btn-info" id="closeBtn">Close</button>
</div>
</div>
</div>
<!------------------------ Subscribe ------------------------>
<!------------------------ Footer ------------------------>
<footer>
<div class="container">
<p class="text-center text-white mb-0">Copyright © 2021 Designed by Menna El-adl. All rights reserved</p>
<div class="social-media text-white text-center mt-2">
<a href="https://facebook.com" style= color:#fff><i class="fab fa-facebook-f"></i></a>
<a href="https://twitter.com" style= color:#fff><i class="fab fa-twitter"></i></a>
<a href="https://www.pinterest.com/" style= color:#fff><i class="fab fa-pinterest"></i></a>
<a href="https://www.google.com/" style= color:#fff><i class="fab fa-google-plus"></i></a>
</div>
</div>
</footer>
<!------------------------ Footer ------------------------>
<!------------------------ Go up icon ------------------------>
<div class="to-top-arrow">
<a href="#to-top" class="text-decoration-none text-white">
<i class="fas fa-chevron-up"></i>
</a>
</div>
<!------------------------ Go up icon ------------------------>
<!-- JQuery -->
<script src="js/jquery-3.5.1.slim.min.js"></script>
<!-- Popper -->
<script src="js/popper.min.js"></script>
<!-- Bootstrap -->
<script src="js/bootstrap.min.js"></script>
<!-- Main JavaScript -->
<script src="js/main.js"></script>
</body>
</html>