Inspiration

Everyone is so caught up with COVID-19 these days that people forget that climate change exists. Therefore we tried to make something that turns recycling into a fun activity.

What it does

It takes input(what you recycled) and gives points according to that. Then you can share the points with your friends to create a healthy competitive spirit.

How I built it

I used html5 to create the elements and javascript to create the functions that would take in the input and return a number of points.

Challenges I ran into

I wanted to code it such that it can show you your previous recycles so that you can keep track of it. However, I was unsure of how to use MongoDB to get access to data again. Also, the share button was not working very well throughout the entire time.

Accomplishments that I'm proud of

I managed to make the elements disappear and other elements appear after a click using a function called tog which is short for toggle.

What I learned

That pre-planning is very important. Just after we got the theme we spent 1-hour planning how we will organize and code the website. That helped us tremendously.

What's next for Recycling Tracker

Databases! Databases will allow us to keep track of how many points each person has accumulated so that we can create a leader board that will increase the competitive spirit.

Share this project:

Updates