forked from duc-cute/weather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
247 lines (245 loc) · 13.3 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
<!DOCTYPE html>
<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>Weather</title>
<link rel="stylesheet" href="./asset/style.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.1.2/css/all.css?fbclid=IwAR3KiX0UeOovH9PGyyaJCVVREdyiN9ewEPqpjRUl4gZIpP590WWTHK6a4eY">
<link href="https://fonts.googleapis.com/css2?family=Bad+Script&family=Open+Sans:wght@300;400;500;600&family=Poppins:wght@300;400;500&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<div id="app">
<div class="container">
<div class="navbar">
<div class="logo">
<img src="img/logoRmbg1.gif" alt="">
<span class="logo__text">Dev Weather</span>
</div>
<ul class="navbar__list">
<li class="navbar__icon">
<i class="icon-select fa-regular fa-chart-column"></i>
</li>
<li class="navbar__icon">
<i class="fa-regular fa-telescope"></i>
</li>
<li class="navbar__icon">
<i class="fa-regular fa-location-dot"></i>
</li>
<li class="navbar__icon">
<i class="fa-regular fa-calendar-days"></i>
</li>
<li class="navbar__icon">
<i class="fa-regular fa-gear"></i>
</li>
<li class="navbar__icon">
<i class="fa-regular fa-house-day"></i>
</li>
</ul>
</div>
<div class="content">
<div class="content__weather">
<div class="content__info-account">
<div class="account">
<div class="account__avata">
<img src="./img/girl.jpg" alt="">
</div>
<div class="account__name">
<span>Hello,</span>
<span>Duc-cute</span>
</div>
</div>
<div class="tools">
<div class="search">
<input type="text" name="" id="search" placeholder="Search City...">
<i class="icon-search fa-regular fa-magnifying-glass"></i>
</div>
<i class="icon-notify fa-regular fa-bells"></i>
</div>
</div>
<div class="content__info-day">
<div class="weather__status">
<div class="weather__status-body">
<div class="weather__title">
<div class="weather__title-icon">
<i class="fa-regular fa-sun-cloud"></i>
</div>
<div class="weather__title-heading">
<span>Weather</span>
<span>What's the weather.</span>
</div>
</div>
<div class="weather__title-temperature mt-24">
<span class="temperature__value-max weather__title-block white-color"></span>
<span class="temperature__value-min "></span>
</div>
<p class="weather__title-short-des white-color"></p>
<div class="weather__title-more-des">
<div class=" status pressure">
<div class="heading-status">Pressure</div>
<span>800Mb</span>
</div>
<div class=" status visibility">
<div class="heading-status">Visibility</div>
<span>4.2 km</span>
</div>
<div class=" status humidity">
<div class="heading-status">Humadidy</div>
<span>87 %</span>
</div>
</div>
</div>
</div>
<div class="weather__wind">
<div class="weather__status-body">
<div class="weather__title">
<div class="weather__title-icon">
<i class="fa-regular fa-wind"></i>
</div>
<div class="weather__title-heading ">
<span >Wind</span>
<span class=" name__weather-short">Name Wind </span>
</div>
</div>
<div class="weather__title-wind mt-24">
<span class="wind__speed-now weather__title-block fz-24">390</span>
</div>
<p class="weather__title-des ">West Wind</p>
<div class="clouds__range">
<div class="clouds__range-block">
<div class="clouds__range-sliderValue">
<span>50%</span>
</div>
<div class="clouds__range-field">
<div class="clouds__range-header">Clouds</div>
</div>
<div class="input-percent">
<input type="range" name="" id="clouds__rate" min="0" max="100" value="100" step="1">
<div class="percent-bar"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content__info-week">
<div class="content__chart">
<div class="content__chart-block">
<div class="content__chart-header">
<div class="content__chart-heading">How's the temperature tomorrow?</div>
<div class="content__chart-listItem">
<div class="content__chart-item">
<i class="fa-regular fa-temperature-list icon-select"></i>
</div>
<div class="content__chart-item">
<i class="fa-regular fa-umbrella"></i>
</div>
<div class="content__chart-item">
<i class="fa-regular fa-wind"></i>
</div>
</div>
</div>
<div class="content__chart-myChart">
<canvas id="myChart"></canvas>
</div>
</div>
</div>
<div class="weather__tomorrow">
<div class="weather__tomorrow-block">
<div class="weather__tomorrow-heading">
<div class="weather__tomorrow-time">Tomorrow</div>
<div class="weather__tomorrow-city">Alam Barzah</div>
</div>
<div class="weather__tomorrow-status">
<span class="weather__tomorrow-temperature">
</span>
<div class="weather__tomorrow-des">Rainny</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content__forecast">
<div class="content__forecast-block">
<div class="content__header">
<div class="city__position">
<div class="city__status">Sun</div>
<div class="city__name">Ha Noi,VN</div>
</div>
<span class="city__temperature-value">22</span>
</div>
<div class="separate mt-24"></div>
<div class="content__time-sun">
<i class="fa-solid fa-sun-bright"></i>
<div class="content__time-sun-block">
<div class="content__time-sun-bg"></div>
</div>
<input type="range" name="" id="time-sun" min="0" max="100" step="0.1">
</div>
<div class="content__time-des">
<div class="content__time-name ">
<span class="sunrise">Sunrise</span>
<span class="sunset">Sunset</span>
</div>
<div class="content__time-value">
<span class="content__time-value-start">06:45 pm</span>
<span class="content__time-value-end">06:00 am</span>
</div>
</div>
<div class="content__UV">
<div class="content__UV-block">
<div class="content__UV-icon">
<i class="fa-solid fa-sun-bright"></i>
</div>
<div class="content__UV-body">
<div class="content__UV-header">
<div class="content__UV-value">20 UVI</div>
<div class="content__UV-shortdes">Moderate</div>
</div>
<div class="content__UV-longdes">Moderate risk of from UV rays</div>
</div>
</div>
</div>
<div class="weather__prediction">
<div class="weather__prediction-heading">Weather Prediction</div>
<div class="weather__prediction-day">
<div class="weather__prediction-icon">
<i class="fa-solid fa-clouds icon-clouds"></i>
</div>
<div class="weather__prediction-status">
<div class="weather__prediction-date">November 10</div>
<div class="weather__prediction-des">
<span>Cloudy</span>
<div class="weather__prediction-temperature">26<sup>o</sup> / 16<sup>o</sup> </div>
</div>
</div>
</div>
<div class="weather__prediction-day">
<div class="weather__prediction-icon">
<i class="fa-solid fa-sun-bright icon-sun"></i>
</div>
<div class="weather__prediction-status">
<div class="weather__prediction-date">November 11</div>
<div class="weather__prediction-des">
<span>Sun</span>
<div class="weather__prediction-temperature">26<sup>o</sup> / 16<sup>o</sup> </div>
</div>
</div>
</div>
<div class="btn__next-day">
<div class="btn__next-day-block">
<i class="fa-solid fa-calendar-days"></i>
<p>Next 5 Days</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="./app.js"></script>
</body>
</html>