forked from GarimaSingh0109/WasteManagment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecotips.html
304 lines (265 loc) · 11 KB
/
ecotips.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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Waste Management</title>
<link rel="icon" href="./assets/logo.png" />
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<header>
<h1>WasteManagement</h1>
<nav>
<ul>
<li><a href="#eco-tips-container"><i class="fa-brands fa-pagelines"></i> Tips</a></li>
<li><a href="#eco-blogs"><i class="fa-solid fa-bookmark"></i> Blogs</a></li>
<li><a href="#footer"><i class="fa-solid fa-envelopes-bulk"></i> Contact Us</a></li>
</ul>
</nav>
</header>
<div class="hero-container">
<div class="hero-text">
<h3>Embrace a Sustainable Future</h3>
<p>Join the movement towards responsible waste management. Together, we can classify, dispose of, and promote sustainable practices that benefit our planet. Let's revolutionize our approach to waste—one step at a time!</p>
</div>
<div class="hero-image">
<img src="./assets/img3.jpg" alt="Waste Management" />
</div>
</div>
<!-- Eco-Tips-Slider -->
<div id="eco-tips-container">
<div class="eco-tips-header">
<h3>Its NOW or NEVER!</h3>
<p>Take this below-listed actions the next time you dispose off your household waste.
Remember, we are all together in this journey and <span>every single contribution counts!</span></p>
<em>Cuz, You matter and so does our Environment!</em>
</div>
<div class="eco-tips-slider">
<button class="slider-control" id="prev-slide">
<i class="fa-solid fa-chevron-left"></i>
</button>
<div class="eco-tips-content">
<div class="eco-tip" data-type="image">
<h3>Waste Segregation</h3>
<p>
Separate household waste into biodegradable and non-biodegradable at the source for easier recycling and
processing.
</p>
<img src="./assets/img4.jpg" alt="Waste Segregation" />
</div>
<div class="eco-tip" data-type="video">
<h3>Composting Tips</h3>
<p>
Convert organic waste into nutrient-rich compost by setting up a small compost bin in your garden.
</p>
<img src="./assets/composting.avif" />
</div>
<div class="eco-tip" data-type="image">
<h3>Reduce Plastic Usage</h3>
<p>
Opt for reusable items like metal water bottles and cloth bags to reduce plastic waste and pollution.
</p>
<img src="./assets/reduce.avif" alt="Reduce Plastic Usage" />
</div>
<div class="eco-tip" data-type="image">
<h3>Avoid Single-Use Plastics</h3>
<p>
Reduce your dependence on single-use plastics by switching to reusable straws, utensils, and food
containers.
</p>
<img src="./assets/single.avif" alt="Avoid Single-Use Plastics" />
</div>
<div class="eco-tip" data-type="image">
<h3>Switch to Cloth Napkins</h3>
<p>
Replace paper napkins with reusable cloth napkins to cut down on disposable paper waste in your daily life.
</p>
<img src="./assets/napkins.avif" alt="Cloth Napkins" />
</div>
<div class="eco-tip" data-type="image">
<h3>Eco-Friendly Cleaning Products</h3>
<p>
Choose biodegradable, non-toxic cleaning products to minimize chemical runoff and pollution in waterways.
</p>
<img src="./assets/diy.avif" alt="Eco-Friendly Cleaning Products" />
</div>
<div class="eco-tip" data-type="image">
<h3>DIY Household Cleaners</h3>
<p>
Make your own natural cleaning solutions using ingredients like vinegar and baking soda to reduce chemical
waste.
</p>
<img src="./assets/clean.avif" alt="DIY Household Cleaners" />
</div>
<div class="eco-tip" data-type="image">
<h3>Switch to Solar Energy</h3>
<p>
Reduce your carbon footprint by installing solar panels or using solar-powered devices. Harnessing renewable
energy from the sun lowers energy bills and decreases reliance on fossil fuels.
</p>
<video src="./assets/vd1.webm" controls></video>
</div>
<div class="eco-tip" data-type="image">
<h3>Buy in Bulk</h3>
<p>
Purchase items in bulk to minimize packaging waste and reduce the environmental impact of frequent shopping
trips.
</p>
<img src="./assets/bulk.avif" alt="Buy in Bulk" />
</div>
<div class="eco-tip" data-type="image">
<h3>Upcycling Old Items</h3>
<p>
Repurpose old or broken household items instead of throwing them away. This reduces waste and promotes
creativity.
</p>
<img src="./assets/upcycle.avif" alt="Upcycling Old Items" />
</div>
<div class="eco-tip" data-type="image">
<h3>Donate Instead of Disposing</h3>
<p>
Donate usable clothing, electronics, and household goods to reduce waste and help those in need.
</p>
<img src="./assets/old.avif" alt="Donate Instead of Disposing" />
</div>
<div class="eco-tip" data-type="image">
<h3>Reduce Food Waste</h3>
<p>
Plan meals, store food properly, and use leftovers to minimize food waste in your household.
</p>
<img src="./assets/food.webp" alt="Reduce Food Waste" />
</div>
<div class="eco-tip" data-type="image">
<h3>Choose Recycled Products</h3>
<p>
Opt for products made from recycled materials, such as paper, plastic, and glass, to support sustainable
production.
</p>
<img src="./assets/recycled.avif" alt="Recycled Products" />
</div>
<div class="eco-tip" data-type="image">
<h3>Grow Your Own Food</h3>
<p>
Start a home garden or grow herbs indoors to reduce your carbon footprint and minimize packaging waste from
store-bought produce.
</p>
<img src="./assets/grow.avif" alt="Grow Your Own Food" />
</div>
</div>
<button class="slider-control" id="next-slide">
<i class="fa-solid fa-chevron-right"></i>
</button>
</div>
</div>
<!-- Eco-blogs -->
<section class="eco-blogs" id="eco-blogs">
<h2 class="blogs-section-title">Essential Eco Blogs: Your Guide to a Greener Tomorrow!</h2>
<div class="eco-blogs-container">
<div class="eco-blogs-card">
<div class="card-header" style="background-image: url('./assets/img5.jpg')"></div>
<div class="card-content">
<h4>The Future of Waste Management</h4>
<p>
Explore how modern technologies are transforming the way we manage waste, promoting sustainability for
future generations.
</p>
<a href="https://www.rts.com/blog/smart-waste-management-technologies/" class="read-more">Read more</a>
</div>
</div>
<div class="eco-blogs-card">
<div class="card-header" style="background-image: url('./assets/compost.webp')"></div>
<div class="card-content">
<h4>Composting: Nature’s Recycling</h4>
<p>
Learn how composting organic waste can enrich soil, reduce landfill use, and contribute to a greener
environment.
</p>
<a href="https://www.nrdc.org/stories/composting-101#types" class="read-more">Read more</a>
</div>
</div>
<div class="eco-blogs-card">
<div class="card-header" style="background-image: url('./assets/pkg.webp')"></div>
<div class="card-content">
<h4>Eco-Friendly Packaging Trends</h4>
<p>
Uncover the latest innovations in sustainable packaging that reduce environmental impact while meeting
consumer needs.
</p>
<a href="https://filestage.io/blog/sustainable-packaging-ideas/" class="read-more">Read more</a>
</div>
</div>
<div class="eco-blogs-card">
<div class="card-header" style="background-image: url('./assets/zero.jpg')"></div>
<div class="card-content">
<h4>Zero Waste Living: A Beginner’s Guide</h4>
<p>
A comprehensive guide to adopting a zero-waste lifestyle, including simple steps to minimize waste and live
sustainably.
</p>
<a href="https://learn.eartheasy.com/guides/zero-waste-a-beginners-guide/" class="read-more">Read more</a>
</div>
</div>
<div class="eco-blogs-card">
<div class="card-header" style="background-image: url('./assets/plastic.webp')"></div>
<div class="card-content">
<h4>Plastic Alternatives You Should Know</h4>
<p>
Discover eco-friendly alternatives to plastics and how you can incorporate them into your daily life to
reduce pollution.
</p>
<a href="https://blog.cleanhub.com/alternatives-to-single-use-plastic" class="read-more">Read more</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<h2>Stay Connected</h2>
<form id="newsletter-form">
<input type="email" placeholder="Your Email" required>
<button type="submit">Subscribe</button>
</form>
<div class="social-media">
<a href="#">Facebook</a>
<a href="#">Twitter</a>
<a href="#">Instagram</a>
</div>
<p>© 2024 Waste Management. All rights reserved.</p>
</footer>
<script>
const tipsSlider = document.querySelector('.eco-tips-content');
const slides = document.querySelectorAll('.eco-tip');
const prevSlide = document.getElementById('prev-slide');
const nextSlide = document.getElementById('next-slide');
let currentIndex = 0;
const updateSlider = () => {
const slideWidth = slides[0].clientWidth;
tipsSlider.style.transform = `translateX(-${currentIndex * slideWidth}px)`;
};
tipsSlider.style.transition = 'transform 0.3s ease-in-out';
nextSlide.addEventListener('click', () => {
if (currentIndex < slides.length - 1) {
currentIndex++;
} else {
currentIndex = 0;
}
updateSlider();
});
prevSlide.addEventListener('click', () => {
if (currentIndex > 0) {
currentIndex--;
} else {
currentIndex = slides.length - 1;
}
updateSlider();
});
window.addEventListener('resize', updateSlider);
window.addEventListener('load', updateSlider);
// updateSlider();
</script>
</body>
</html>