-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
271 lines (253 loc) · 8.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="shortcut icon"
href="Images/Papirus-Team-Papirus-Apps-Weather.512.png"
type="image/x-icon"
/>
<title>Weathery</title>
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="Style/bootstrap.min.css" />
<link rel="stylesheet" href="Style/all.min.css" />
<link href="Style/style.css" rel="stylesheet" />
</head>
<body>
<nav
class="navbar navbar-expand-lg bg-transparent d-flex justify-content-center align-items-center mb-2"
>
<div class="container-fluid">
<div class="row w-100 py-2 justify-content-between">
<div class="col-md-3">
<div
class="logo d-flex flex-column justify-content-center align-items-center text-warning pe-auto"
>
<a href="#" class="text-warning"
><i class="fa-solid fa-wind fs-4"></i
></a>
<a href="#" class="text-warning text-decoration-none"
><h5 class="fw-bolder">Weathery</h5></a
>
</div>
</div>
<div class="col-md-6 mt-3 mt-md-0">
<div class="d-flex justify-content-center h-100 mb-5 mb-md-0">
<div class="searchbar">
<input
class="search_input"
type="text"
name=""
placeholder="Search By City Name"
id="search"
/>
<a href="#" class="search_icon"
><i class="fas fa-search"></i
></a>
</div>
</div>
</div>
</div>
</div>
</nav>
<main class="main-container">
<div
class="location-and-date row justify-content-around align-items-center"
>
<div class="col-md-6">
<div
class="city d-flex align-items-center rounded-pill bg-body-secondary text-primary p-2 mb-2 mb-md-0 p-md-3"
>
<i class="fa-solid fa-thumbtack me-3 text-dark"></i>
<p class="location-and-date__location" id="location"></p>
</div>
</div>
<div class="col-md-6">
<div
class="rounded-pill text-danger bg-body-secondary p-2 p-md-3 text-center d-flex align-items-center"
>
<i class="fa-solid fa-calendar-days me-3 text-dark"></i>
<p class="m-0 p-0" id="date"></p>
</div>
</div>
</div>
<div class="current-temperature d-flex align-items-center">
<div
class="current-temperature__icon-container"
id="current-temperature__icon-container"
></div>
<div
class="current-temperature__content-container d-flex flex-column justify-content-center align-items-center"
>
<div
class="current-temperature__value fw-bolder"
id="current-temperature__value"
></div>
<div
class="current-temperature__summary"
id="current-temperature__summary"
></div>
</div>
</div>
<div class="current-stats">
<div>
<div
class="current-stats__value fw-semibold"
id="currentHighestTemperature"
></div>
<div class="current-stats__label fw-semibold">
<i
class="fa-solid fa-temperature-three-quarters fs-4 text-danger"
></i>
High
</div>
<div
class="current-stats__value fw-semibold"
id="currentLowestTemperature"
></div>
<div class="current-stats__label fw-semibold">
<i class="fa-solid fa-temperature-quarter fs-4 text-success"></i>
Low
</div>
</div>
<div>
<div class="current-stats__value fw-semibold" id="currentWind"></div>
<div class="current-stats__label fw-semibold">
<i class="fa-solid fa-wind fs-4 text-body-emphasis"></i>
Wind
</div>
<div
class="current-stats__value fw-semibold"
id="currentRainPercent"
></div>
<div class="current-stats__label fw-semibold">
<i class="fa-solid fa-cloud-rain fs-4 text-primary"></i>
Rain
</div>
</div>
<div>
<div
class="current-stats__value fw-semibold"
id="currentSunrise"
></div>
<div class="current-stats__label fw-semibold">
<i class="fa-solid fa-sun fs-4 text-warning"></i>
Sunrise
</div>
<div
class="current-stats__value fw-semibold"
id="currentSunset"
></div>
<div class="current-stats__label fw-semibold">
<i class="fa-solid fa-cloud-sun fs-4"></i>
Sunset
</div>
</div>
</div>
<div class="weather-by-hour">
<h2 class="weather-by-hour__heading text-decoration-underline">
Today's weather
</h2>
<div class="weather-by-hour__container"></div>
</div>
<div class="next-5-days">
<h2 class="next-5-days__heading text-decoration-underline">
Next 2 days
</h2>
<div
class="next-5-days__container row justify-content-center align-items-center"
>
<div class="next-5-days__row">
<div class="next-5-days__date"></div>
<div class="row flex-column">
<div class="next-5-days__low"></div>
<p>Low</p>
</div>
<div class="row flex-column">
<div class="next-5-days__high"></div>
<p>High</p>
</div>
<div class="next-5-days__icon">
<img src="" alt="" class="img-fluid" />
</div>
<div class="row flex-column">
<div class="next-5-days__rain"></div>
<p>Rain</p>
</div>
<div class="row flex-column">
<div class="next-5-days__wind"></div>
<p>Wind</p>
</div>
</div>
<div class="next-5-days__row">
<div class="next-5-days__date"></div>
<div class="row flex-column">
<div class="next-5-days__low"></div>
<p>Low</p>
</div>
<div class="row flex-column">
<div class="next-5-days__high"></div>
<p>High</p>
</div>
<div class="next-5-days__icon">
<img src="" alt="" class="img-fluid" />
</div>
<div class="row flex-column">
<div class="next-5-days__rain"></div>
<p>Rain</p>
</div>
<div class="row flex-column">
<div class="next-5-days__wind"></div>
<p>Wind</p>
</div>
</div>
</div>
</div>
</main>
<footer class="site-footer text-white">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-6 col-xs-12">
<p class="copyright-text">
Copyright © 2023 All Rights Reserved by @Mahmoud Mortada
</p>
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<ul class="social-icons">
<li>
<a
class="facebook"
href="https://www.facebook.com/mahmoudmortada97"
target="_blank"
><i class="fa-brands fa-facebook"></i
></a>
</li>
<li>
<a
class="twitter"
href="https://github.com/mahmoudmortada97"
target="_blank"
><i class="fa-brands fa-github"></i
></a>
</li>
<li>
<a
class="linkedin"
href="https://www.linkedin.com/in/mahmoudmortada97/"
target="_blank"
><i class="fa-brands fa-linkedin"></i
></a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<script src="Js/bootstrap.bundle.min.js"></script>
<script src="Js/main.js"></script>
</body>
</html>