-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
151 lines (145 loc) · 3.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1,
maximum-scale=5" />
<link
rel="icon"
href="devchallenges.png" />
<link
rel="shortcut icon"
type="image/x-icon"
href="https://devchallenges.io/" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"
rel="stylesheet" />
<link
rel="stylesheet"
href="style.css" />
<script
defer
src="weather.js"></script>
<title>RainOrShine</title>
</head>
<body>
<div class="weather-page">
<div class="weather-display">
<div class="search-weather">
<div class="logoName">
<span>RainOrShine</span>
</div>
<input
type="text"
class="search-bar"
placeholder="Search location" />
</div>
<div class="weather-info">
<img
id="weather-icon"
src="images/Shower.png"
alt="" />
<div class="weather-info__temp">
<h1>32</h1>
<span class="deg">°C</span>
<p>Clear sky</p>
<div class="weather-time">
<span>Today </span> . <span class="date"> Mon, 5 Jun</span>
</div>
<div class="weather-location">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none">
<g clip-path="url(#clip0_1_275)">
<path
d="M12 2C8.13 2 5 5.13 5 9C5 13.17 9.42 18.92 11.24 21.11C11.64 21.59 12.37 21.59 12.77 21.11C14.58 18.92 19 13.17 19 9C19 5.13 15.87 2 12 2ZM12 11.5C10.62 11.5 9.5 10.38 9.5 9C9.5 7.62 10.62 6.5 12 6.5C13.38 6.5 14.5 7.62 14.5 9C14.5 10.38 13.38 11.5 12 11.5Z"
fill="#88869D" />
</g>
<defs>
<clipPath id="clip0_1_275">
<rect
width="24"
height="24"
fill="white" />
</clipPath>
</defs>
</svg>
<span>Ibadan</span>
</div>
</div>
</div>
</div>
<div class="weather-forcast-section">
<!-- <div class="p-forecast">Weather Forecast</div> -->
<div class="weather-forecast"></div>
<p class="highlight">Today's Highlight</p>
<div class="weather-highlights">
<div class="weather-highlights__item">
<div class="weather-highlights__item__title">
<span>Wind status</span>
</div>
<div class="weather-highlights__item__value">
<span class="wind">7.7</span>
<span class="metre">km/h</span>
</div>
<div class="weather-highlights__item__icon">
<img
src="images/Compass.png"
alt="" />
</div>
</div>
<div class="weather-highlights__item current_hum">
<div class="weather-highlights__item__title">
<span>Humidity</span>
</div>
<div class="weather-highlights__item__value">
<div class="progress__overlay">
<mark>0</mark><mark>50</mark><mark>100</mark>
</div>
<span class="humidity">84</span>
<span>%</span>
</div>
<div class="weather-highlights__item__icon">
<div class="progress-bar">
<div class="progress-yellow"></div>
</div>
</div>
</div>
<div class="weather-highlights__item">
<div class="weather-highlights__item__title">
<span>Visibility</span>
</div>
<div class="weather-highlights__item__value">
<span class="visibility">6.4</span>
<span>miles</span>
</div>
<div class="weather-highlights__item__icon">
<img
src="images/Visibility.png"
alt="" />
</div>
</div>
<div class="weather-highlights__item">
<div class="weather-highlights__item__title">
<span>Air Pressure</span>
</div>
<div class="weather-highlights__item__value">
<span class="pressure">998</span>
<span>mb</span>
</div>
<div class="weather-highlights__item__icon">
<img
src="images/Pressure.png"
alt="" />
</div>
</div>
</div>
</div>
</div>
</body>
</html>