-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
195 lines (184 loc) · 9.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/locomotive-scroll.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />
<link rel="stylesheet" href="style.css">
<title>Envirocast</title>
</head>
<body>
<div id="fixed-image"></div>
<div id="maincover">
<nav class="navbar">
<div class="left">
<img src="images/logo.png" alt=""> Envirocast
</div>
<div class="right">
<div class="navmenu">
<i class="fa-solid fa-bars fa-2x"></i>
</div>
<ul>
<li><a href="./index.html">Forecast</a></li>
<li><a href="./news.html">News</a></li>
<li><a href="./enviro.html">Environment</a></li>
</ul>
</div>
</nav>
<section class="forecast-section">
<div class="search">
<input type="text" class="search-bar" placeholder="Search City" spellcheck="false">
<div class="search-icon
"><i class="fa-solid fa-magnifying-glass"></i></div>
</div>
<br> <br>
<div class="city-info" id="city-info">
<h1 class="cityname" id="cityname">Delhi</h1>
</div>
<div class="cards-section">
<div class="cards" id="cards">
<h2>Air Quality</h2>
<div class="aqi-info">
<div class="aqi">
<span class="aqi-text">Poor</span>
<div class="aqi-fig">400</div>
</div>
</div>
<div class="aqi-paramsection">
<div class="aqi-params">
<div>CO: </div>
<div class="co-data">345</div>
</div>
<div class="aqi-params">
<div>PM2_5: </div>
<div class="pm1-2_5data">345</div>
</div>
<div class="aqi-params">
<div>PM10: </div>
<div class="pM10data">345</div>
</div>
</div>
</div>
<div class="cards" id="today-section">
<h2>Weather Today</h2>
<div class="weatherinfo">
<div class="temperature-info">
<div class="param">
<i class="fa-solid fa-sun"></i>
<span class="description-text">Sunny</span>
</div>
<div class="temp"></div>
</div>
<div class="additional-info">
<div class ="weath-info" id="wind-info">
<i class="fa-solid fa-wind"></i>
<div class="param">
<h3 class="wind-speed">4Km/Hr</h3>
<p class="wind-label">Wind</p>
</div>
</div>
<div class="weath-info" id="humidity-info">
<i class="fa-solid fa-droplet"></i>
<div class="param">
<h3 class="humidity">45%</h3>
<p class="humidity">Humidity</p>
</div>
</div>
<div class="weath-info" id="visibility-info" >
<i class="fa-solid fa-eye"></i>
<div.param>
<h3 class="visibility-distance">10 Km</h3>
<p class="visibility">Visibility</p>
</div.param>
</div>
</div>
</div>
</div>
<div class="cards">
<h2>Tommorow Forecast</h2>
<div class="forecards-section">
<div class="forecards">
<div class="sunrise">
<p >sunrise</p>
<p id="sun">sunrisetime</p>
</div>
<div class="sunrise">
<p>sunset</p>
<p id="set">sunset</p>
</div>
<div class="sunrise">
<p>date</p>
<p id="date">date</p>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide" >
<img src="https://www.skymetweather.com/themes/skymet/images/satellite/insat/2024/05/17/Satellite-Image-India-17-May-2024-01:00.jpg?version=240517075142" id="slide1"> <br>
<h1>Recent <span>weather updates</span> and forecasts</h1>
</div>
<div class="swiper-slide" >
<img src="images/news.jpg" id="slide2"> <br>
<h1>Latest information about <span>environment, climate change</span> and more...</h1>
</div>
<div class="swiper-slide" >
<img src="images/activities.jpg" id="slide3"> <br> <h1>Know about steps to <span>create an impact</span> and more...</h1></div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
<div class="page3">
<div id="elem-container">
<div id="elem1" class="elem"
data-image="https://images.unsplash.com/photo-1564899535295-7b2057da608d?q=80&w=2069&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D">
<div class="overlay"></div>
<h2>Weather Forecast</h2>
</div>
<div class="elem"
data-image="https://images.unsplash.com/photo-1578252931655-e54610a598ca?q=80&w=1887&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D">
<div class="overlay"></div>
<h2>Pollution and Climate Change</h2>
</div>
<div class="elem"
data-image="https://images.unsplash.com/photo-1569163139394-de4e5f43e5ca?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D">
<div class="overlay"></div>
<h2>Your Impact</h2>
</div>
</div>
</div>
<footer class="footer">
<div class="foot-logo">
<img src="images/logo.png" alt="">
</div>
<div class="foot-list">
<ul>
<li><a href="">Privacy Policy</a></li>
<li><a href="">About us</a></li>
</ul>
</div>
<div class="foot-list" >
<ul class="footend">
<li><a href="">Investor Relations</a></li>
<li><a href="">Terms of use</a></li>
</ul>
</div>
<div class="foot-list">
<ul class="footend">
<li><a href="">Community </a></li>
<li><a href="">Socials</a></li>
</ul>
</div>
</div>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/locomotive-scroll.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="script.js"></script>
</body>
</html>