-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (166 loc) · 6.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#ffffff" />
<meta
name="apple-mobile-web-app-status-bar"
content="#ffffff"
/>
<meta name="description" content="WeatherNow, progressive web app that shows current weather conditions of a location as well as an hourly and a 5-day forecast"/>
<link rel="icon" href="img/weatherIcon.webp" />
<link rel="apple-touch-icon" href="icons/weatherIcon-512x512.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-192x192.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-180x180.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-167x167.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-152x152.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-144x144.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-120x120.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-96x96.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-72x72.png" />
<link rel="apple-touch-icon" href="icons/weatherIcon-48x48.png" />
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap"
rel="stylesheet"
/>
<link rel="manifest" href="manifest.json" />
<title>WeatherNow</title>
</head>
<body>
<div class="container">
<div class="left">
<div class="search">
<div class="currentlocation">
<img
class="locationweather"
src="img/pin (1).svg"
alt="weather of current location"
/>
</div>
<label for="city">Search city weather</label>
<input
type="text"
id="city"
name="city"
placeholder="Search City"
class="searchinput"
/><button aria-label="Search" class="searchbtn" type="submit">
<img
class="searchweather"
alt="search weather of a city"
src="img/icons8-search.svg"
/>
</button>
</div>
<div class="currentdate">
<h3 class="date">WeatherNow</h3>
</div>
<div class="currenticon">
<!-- <img class="currentweathericon" src="" alt="Current Weather"> -->
</div>
<div class="weatherstat">
<!-- <div>
<h4 class="temp">23°</h4>
</div>
<div class="locdate">
<div class="location">
<h2>Ibadan</h1>
<p>19, Mon Sep '20</p>
</div>
</div>
<div>
<p class="cloud">Broken clouds</p>
</div> -->
</div>
</div>
<div class="right">
<div class="weather_conditions">
<!-- <h4 class="conditions_head">Weather conditions</h4> -->
<!-- <div>
<div class="condition wind">Wind</div>
<div class="condition Precipitation">Pressure</div>
<div class="condition Humidity">Humidity</div>
<div class="condition wind">Max Temperature</div>
<div class="condition wind">Min Temperature</div>
</div> -->
</div>
<div class="weather_forecast">
<canvas id="myChart">
<!-- <div class="forecasthours">11:00</div>
<div class="forecasthours">12:00</div>
<div class="forecasthours">13:00</div>
<div class="forecasthours">14:00</div>
<div class="forecasthours">15:00</div>
<div class="forecasthours">16:00</div> -->
</canvas>
</div>
<div class="days_forecast">
<!-- <div class="day">
<div class="">Monday</div>
<div class="dayCondition">
<img src="" class="dayIcon">
<br>
<span class="cond">condition</span>
</div>
<div class="daytemp">23°/24°</div>
</div>
<div class="day">
<div class="">Tuesday</div>
<div class="dayCondition">
<img src="" class="dayIcon">
<br>
<span class="cond">condition</span>
</div>
<div class="daytemp">23°/24°</div>
</div>
<div class="day">
<div class="">Wednesday</div>
<div class="dayCondition">
<img src="" class="dayIcon">
<br>
<span class="cond">condition</span>
</div>
<div class="daytemp">23°/24°</div>
</div>
<div class="day">
<div class="">Thursday</div>
<div class="dayCondition">
<img src="" class="dayIcon">
<br>
<span class="cond">condition</span>
</div>
<div class="daytemp">23°/24°</div>
</div>
<div class="day">
<div class="">Friday</div>
<div class="dayCondition">
<img src="" class="dayIcon">
<br>
<span class="cond">condition</span>
</div>
<div class="daytemp">23°/24°</div>
</div>-->
</div>
</div>
<div class="loader">
<span class="circle round1"></span>
<span class="circle round2"></span>
<span class="circle round3"></span>
<span class="circle round4"></span>
</div>
</div>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"
integrity="sha512-s+xg36jbIujB2S2VKfpGmlC3T5V2TF3lY48DX7u2r9XzGzgPsa6wTpOQA7J9iffvdeBN0q9tKzRxVxw1JviZPg=="
crossorigin="anonymous"
></script>
<script type="module" src="index.js"></script>
<script src="sw.js"></script>
</body>
</html>