Inspiration
We took inspiration from seeing the despair of our ecosystem and wanting to create change by informing people about sustainability. We know it's hard for people to change their lifestyles so we decided to create small goals (Prompt of the Day) to motivate people to incorporate sustainable choices in everyday life.
What it does
A Wish from the Earth is a website that provides information on sustainability, the impacts of our actions on the planet, a real-world example of our actions through an article on marine pollution, and ways to get involved for a green future.
How we built it
We used VScode individually using html, css, python, etc, then brought our ideas together on GitHub. To incorporate front-end and back-end developments, we used python to create a prompt generator and html and css to build the website and include visuals, and brought them together with pyscript.
Challenges we ran into
Throughout our journey, we ran into various challenges. One big problem that we faced was incorporating our Python backend code into the HTML elements. We searched online for solutions and discovered that we could use PyScript for this. We successfully put together the prompt page this way, but ran into further problems when it came to creating a trivia game page. Our original plan was to have a section on the website to let the user play a trivia game in order to educate them more on marine pollution. However, we didn’t realize how limited PyScript might be because inputs and outputs of the trivia game started causing errors on the webpage. We were not able to finish the webpage to display the trivia game in time, however, the game is still functional and enjoyable within a Python environment.
We also had some ambitious ideas that were challenging to put into effect, but that succeeded quite well. For example, our prompt page has exactly 31 prompts, perfect for one month. We wanted to make sure our prompts were refreshed daily, but also remained the same throughout the day, however none of us were sure how to do this. We discovered how to use time and days within our Python code and generate these prompts each day, rather than at each refresh. Finally, it was challenging for us to communicate with each other and try to run each other’s code. Sometimes, it was hard to keep track of how far other people’s progress was because not everyone had the same software such as Netlify to view the HTML pages.
Accomplishments that we're proud of
We are very proud that our website is functional, conveys our goals/messages, and combines front-end and back-end. We troubleshot our problems; we confided in each other and the internet for solutions. We were very encouraging of each other which helped us stay motivated and bond as a team.
What we learned
We learned how to use pyscript, different python packages like datetime, more on html, github and more about sustainable living.
What's next for A Wish from the Earth
We will update and add more information to our website and post the trivia game that we didn't have time to complete.
Log in or sign up for Devpost to join the conversation.