You are browsing as a guest. Sign up (or log in) to start making projects!

fairshare-chores

  • 3 Devlogs
  • 5 Total hours

A web app that helps families distribute household chores fairly using a point-based balancing algorithm.

Ship #1 Changes requested

I built FairShare Chores — a web app that helps
families distribute household chores fairly using
a point-based algorithm.

The most challenging part was debugging JavaScript.
I typed all the code by hand which meant a lot of
typos like “textContext” instead of “textContent”
and “onlick” instead of “onclick” 😅 The browser
console became my best friend.

I’m most proud of the assignment algorithm — it
automatically gives chores to whoever has the least
points so the workload stays balanced.

To test it: add 3-4 family members, add some chores
with different difficulty points, then click
“Assign Chores Fairly” to see the distribution!

  • 3 devlogs
  • 5h
Try project → See source code →
Open comments for this post

1h 5m 44s logged

Day 3 - It finally all works!!

Today was another debugging day but honestly
it felt more satisfying than yesterday. The
hardest part was getting the Done button to
show up in the dashboard - it just wouldn’t
appear no matter what I tried. Turns out the
live GitHub Pages site was showing old cached
code the whole time. Once I pushed the new
code and did a hard refresh (Ctrl+Shift+R),
the buttons appeared immediately. Kind of
embarrassing but also a good lesson - always
check if you’re looking at the latest version.

The crossed-out effect when you mark a chore
done felt really satisfying to build. It’s a
small thing but it makes the app feel real.

FairShare is now fully working:

  • Add family members
  • Add chores with difficulty points
  • Algorithm distributes fairly
  • Mark chores as done
0
0
12
Open comments for this post

2h 21m 3s logged

Day 2 - The app finally works!!😭😭

Spent most of today debugging JavaScript.
I typed the entire app.js by hand which meant
I had a LOT of typos - textContext instead of
textContent, onlick instead of onclick, chores
instead of chore… honestly embarrassing but
also kind of funny.

The algorithm works though. Added nate and jason
as family members, gave them 3 chores with different
points, clicked Assign - and it actually distributed
them fairly. nate got 5 points worth of chores,
jason got 3. Not perfect equality but that’s how
the greedy algorithm works.

Debugging through the browser console was actually
really useful - each error pointed me exactly to
the broken line.

0
1
116
Open comments for this post

1h 7m 34s logged

Today was mostly setup day, which honestly felt more frustrating than exciting at times. Getting Hackatime to actually track my time took way longer than expected — turns out WakaTime and Hackatime were conflicting with each other the whole time. Once I uninstalled WakaTime
it finally worked. Got the GitHub repo connected to VS Code, created the three main files (index.html, style.css, app.js), and wrote the basic HTML skeleton for FairShare. It’s nothing pretty yet — just the structure — but seeing the sections laid out for family members, chores, and the dashboard
made it feel more real. 1h 7m logged. Slow start but everything is in place now.
Tomorrow I actually get to write real code.

0
1
118

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…