Inspiration

I thought of FindMyFoodbank by looking at the UN Sustainable Development Goals. One of the biggest ones were Zero Hunger. I realized that even though my project can not directly give food to the people in need, I could tell them whether there are food banks nearby. And so, I thought of FindMyFoodbank.

What it does

FindMyFoodbank is a program that tells the user if there is a food bank in their area.

How I built it

Using Replit, I managed to code a simple program. I used a variable to store the user's zip code, and a dictionary to store the zip codes of various food banks around Edison. Of course, my program takes the search for nearby food banks at a small scale, as it only has the zip codes of food banks around Edison.

Challenges I ran into

I had trouble with storing multiple food banks that are in the same area in my dictionary. This hurdle appeared because Python does not allow one to give two different definitions for the same zip code. To solve this problem, I added all of the foodbanks that are in the same area into one string.

Accomplishments that I am proud of

I am extremely proud of thinking about and executing a solution for people in need who don't know where their local food bank is. I am also proud of getting past the challenge above, learning how to use dictionaries in Python, and, of course, getting the code to run.

What I learned

I learned how to use dictionaries in Python and how to call them.

What's next for FindMyFoodbank

I will expand on FindMyFoodbank's dictionary and might even change the graphics later on using HTML and CSS.

Built With

Share this project:

Updates