From 55bd3425b042a1a26e58d6a8b18f6868914260ff Mon Sep 17 00:00:00 2001 From: Akash Choudhury Date: Fri, 18 Oct 2024 16:19:10 +0530 Subject: [PATCH] Add smooth scrolling functionality --- index.html | 739 ++++++++++++++++++++++++++++------------------------- script.js | 16 ++ 2 files changed, 406 insertions(+), 349 deletions(-) diff --git a/index.html b/index.html index 040ff28..a95a6b2 100644 --- a/index.html +++ b/index.html @@ -1,385 +1,426 @@ - - - - + + + Waste Management - - - + + + + + - - - - + +
-
+
-
-

Waste Management

- -
- -
-
-

Efficient Waste Management

-

Join our mission for a cleaner, greener planet.

- Discover Features -
+
+

Efficient Waste Management

+

Join our mission for a cleaner, greener planet.

+ Discover Features +
- - -
+
-
-
-
-

Upload Your Files

- -
-
- -
-
-
- -
+
+
+
+

Upload Your Files

+ +
+
+ +
+
+
+
+

Waste Classification

-
- -
+
+

Disposal Information

-
- -
-

Waste Categories

-
-
-
-
- Biodegradable Waste -
-
-

Biodegradable Waste

-

Includes food remains and garden waste. These can be composted to create manure and naturally decompose over time.

-
-
-
-
-
-
- Non-Biodegradable Waste -
-
-

Non-Biodegradable Waste

-

Items like old newspapers, broken glass, and plastics. These do not decompose and are major pollutants, but can be recycled and reused.

-
-
-
-
- -
-

Discover Our Features

-
- - -
- -
- -
-
-
- -
-

Eco-Friendly Tips

-
- Did you know only 9% of all plastic ever produced has been - recycled? -
-

Make a difference by embracing eco-friendly practices from home. Learn tips to help manage - waste efficiently and reduce your environmental impact.

- Get Tips! -
- -
-
-
- -
-

Real-time Monitoring

-

Keep track of your waste management activities instantly, with up-to-the-minute updates.

-
- -
-

Community Engagement

-

Join community efforts to promote effective waste management.

- Join Community -
- -
- - -
- +
+

Waste Categories

+
+
+
+
+ Biodegradable Waste +
+
+

Biodegradable Waste

+

+ Includes food remains and garden waste. These can be composted + to create manure and naturally decompose over time. +

+
+
+
+
+
+
+ Non-Biodegradable Waste +
+
+

Non-Biodegradable Waste

+

+ Items like old newspapers, broken glass, and plastics. These + do not decompose and are major pollutants, but can be recycled + and reused. +

+
+
+
+
+

Discover Our Features

+
+
+
+
+
+

Eco-Friendly Tips

+
+ Did you know + only 9% of all plastic ever produced has been recycled? +
+

+ Make a difference by embracing eco-friendly practices from home. + Learn tips to help manage waste efficiently and reduce your + environmental impact. +

+ Get Tips! +
+
+
+
+

Real-time Monitoring

+

+ Keep track of your waste management activities instantly, with + up-to-the-minute updates. +

+
+
+

Community Engagement

+

+ Join community efforts to promote effective waste management. +

+ Join Community +
+
- -

Frequently Asked Questions (FAQs)

- -
-

What is the difference between biodegradable and non-biodegradable waste?

-

Biodegradable waste refers to organic materials such as food scraps and garden waste that - decompose naturally over time. Non-biodegradable waste includes plastics, metals, and other - materials that do not decompose easily and require recycling or special disposal methods. -

-
- -
-

How can I reduce household waste?

-

You can reduce waste by buying reusable products, composting organic waste, recycling - materials like plastic and paper, and avoiding single-use items. Participating in community - waste reduction programs is also helpful.

-
- -
-

What should I do with hazardous waste?

-

Hazardous waste, such as batteries, chemicals, and electronic waste, should be taken to - designated disposal sites or collection events. Do not dispose of them in regular household - trash as they can be harmful to the environment.

-
- -
-

Can all plastics be recycled?

-

No, not all plastics are recyclable. Look for recycling symbols with numbers on plastic - products. Most recycling centers accept plastics marked with numbers 1 and 2, but it's - important to check with your local center for specific guidelines.

-
- -
-

How do I start composting at home?

-

To start composting, collect food scraps like fruit peels, vegetable leftovers, and coffee - grounds. Combine them with yard waste like leaves and grass clippings in a compost bin. Turn - the compost regularly to ensure proper aeration and decomposition.

-
- -
-

Why is it important to sort waste?

-

Sorting waste ensures that recyclable materials like paper, glass, and plastics are properly - processed, reducing the amount of waste sent to landfills. Proper sorting helps reduce - pollution, conserve resources, and protect the environment.

-
+

Frequently Asked Questions (FAQs)

+
+

+ What is the difference between biodegradable and + non-biodegradable waste? +

+

+ Biodegradable waste refers to organic materials such as + food scraps and garden waste that decompose naturally over + time. Non-biodegradable waste includes plastics, metals, + and other materials that do not decompose easily and + require recycling or special disposal methods. +

+
+
+

How can I reduce household waste?

+

+ You can reduce waste by buying reusable products, + composting organic waste, recycling materials like plastic + and paper, and avoiding single-use items. Participating in + community waste reduction programs is also helpful. +

+
+
+

What should I do with hazardous waste?

+

+ Hazardous waste, such as batteries, chemicals, and + electronic waste, should be taken to designated disposal + sites or collection events. Do not dispose of them in + regular household trash as they can be harmful to the + environment. +

+
+
+

Can all plastics be recycled?

+

+ No, not all plastics are recyclable. Look for recycling + symbols with numbers on plastic products. Most recycling + centers accept plastics marked with numbers 1 and 2, but + it's important to check with your local center for + specific guidelines. +

+
+
+

How do I start composting at home?

+

+ To start composting, collect food scraps like fruit peels, + vegetable leftovers, and coffee grounds. Combine them with + yard waste like leaves and grass clippings in a compost + bin. Turn the compost regularly to ensure proper aeration + and decomposition. +

+
+
+

Why is it important to sort waste?

+

+ Sorting waste ensures that recyclable materials like + paper, glass, and plastics are properly processed, + reducing the amount of waste sent to landfills. Proper + sorting helps reduce pollution, conserve resources, and + protect the environment. +

+
- -
-
- -
-

About Us

+
+
+

About Us

+
+
+

+ At Waste Management, we are passionate + about creating a sustainable future through effective + waste disposal solutions. Our goal is to not only reduce + environmental pollution but also + educate communities and empower + individuals with sustainable waste practices. +

+

+ By leveraging our + state-of-the-art waste classification system + and encouraging community engagement, we aim to inspire + everyone to adopt eco-friendly habits. Together, we can + make a significant impact in reducing waste, promoting + recycling, and preserving the environment for future + generations. +

+
+
+ Waste Management team working towards sustainability +
+
+

Our Mission

+
+
+ Reduce Waste +

Reduce Waste

+

+ Minimize waste generation through innovative + technologies and education. +

- - -
-

At Waste Management, we are passionate about creating a sustainable - future through effective waste disposal solutions. Our goal is to not only reduce - environmental pollution but also educate communities and empower - individuals with sustainable waste practices.

-

By leveraging our state-of-the-art waste classification system and - encouraging community engagement, we aim to inspire everyone to adopt eco-friendly - habits. Together, we can make a significant impact in reducing waste, promoting - recycling, and preserving the environment for future generations.

+
+ Promote Recycling +

Promote Recycling

+

+ Encourage responsible disposal and recycling + practices in every community. +

- - -
- Waste Management team working towards sustainability +
+ Empower Communities +

Empower Communities

+

+ Equip individuals with knowledge and tools for + sustainable living. +

- - -
-

Our Mission

-
-
- Reduce Waste -

Reduce Waste

-

Minimize waste generation through innovative technologies and education.

-
-
- Promote Recycling -

Promote Recycling

-

Encourage responsible disposal and recycling practices in every community.

-
-
- Empower Communities -

Empower Communities

-

Equip individuals with knowledge and tools for sustainable living.

-
-
- Build a Cleaner Future -

Build a Cleaner Future

-

Protect the environment for future generations.

-
-
+
+ Build a Cleaner Future +

Build a Cleaner Future

+

Protect the environment for future generations.

+
+
- -
-
-

Our Core Values

-
-
-

Innovation

-

We believe in continually evolving our waste management practices with cutting-edge - technologies to improve efficiency and reduce our environmental footprint.

-
-
-

Sustainability

-

Environmental sustainability is at the heart of everything we do. We prioritize - reducing waste, reusing materials, and promoting recycling initiatives globally.

-
-
-

Community

-

Collaboration is key. By working together with communities, we aim to foster - eco-consciousness and sustainable living across the globe.

-
-
-

Responsibility

-

We are committed to acting with integrity and accountability, ensuring that our - practices positively impact both the environment and society.

-
-
+
+

Our Core Values

+
+
+

Innovation

+

+ We believe in continually evolving our waste + management practices with cutting-edge technologies to + improve efficiency and reduce our environmental + footprint. +

+
+
+

Sustainability

+

+ Environmental sustainability is at the heart of + everything we do. We prioritize reducing waste, + reusing materials, and promoting recycling initiatives + globally. +

+
+
+

Community

+

+ Collaboration is key. By working together with + communities, we aim to foster eco-consciousness and + sustainable living across the globe. +

+
+
+

Responsibility

+

+ We are committed to acting with integrity and + accountability, ensuring that our practices positively + impact both the environment and society. +

+
+
- - - - -
-
-

SIGN UP

-
-
- - -
-
- - -
-
- - -
-
- -

Have an Account? Login Here!

- -
- - -
-
- +
+

SIGN UP

+
+
+ + +
+
+ + +
+
+ + +
+
+ +

+ Have an Account? + Login Here! +

+ +
+ +
+
+
- -
- - - - - + + + - - - - - - -

© 2024 Waste Management. All rights reserved.

+ - + - - + + \ No newline at end of file diff --git a/script.js b/script.js index c645339..8ca1389 100644 --- a/script.js +++ b/script.js @@ -1,3 +1,19 @@ +// Function For Smooth Scrolling +function smoothScrolling() { +const lenis = new Lenis(); + +lenis.on('scroll', (e) => { + console.log(e); +}); + +function raf(time) { + lenis.raf(time); + requestAnimationFrame(raf); +} + +requestAnimationFrame(raf); +} +smoothScrolling(); function validateSignup() { const fullName = document.querySelector('input[name="fullName"]').value; const email = document.querySelector('input[name="email"]').value;