Inspiration

Everyone has a bad day sometimes. And many times it’s a small act of kindness that can turn things around. What if the whole world looked for ways to help each other in little ways? Maybe we can’t control the rest of the world, but we can start making a positive impact in our little corner of the world.

What it does

You can generate a random act of kindness, which are sorted into different difficulties based on time and resources required. “Easy” is 1 point, “Medium” is 3 points, and Hard is 10 points. Once you hit the “I did it!” button, it updates your overall streak counter, your total kindness points, and your weekly streak bar. It’s just to spark some creativity to help people remember to help others.

How I built it

It’s a pretty simple webpage using html, css, and javascript. I built it by assigning different probabilities to the different acts sorted by difficulty, so you will get more easy tasks than medium or hard.

Challenges I ran into

This was my first real coding project ever so… there's a lot. One main one is the domain host provider wasn't displaying my files correctly even though my local host would. Still debugging that, maybe it just takes a while to update.

Accomplishments that I’m proud of

I built my first ever coding project and it WORKS! 😎

What I learned

Literally one missing comma can break an entire page.

What's next for Daily Kindness

A user login using auth0 so you can keep your history and streak alive across devices. Better UI.

Share this project:

Updates