fairshare-chores
- 3 Devlogs
- 5 Total hours
A web app that helps families distribute household chores fairly using a point-based balancing algorithm.
A web app that helps families distribute household chores fairly using a point-based balancing algorithm.
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:
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.
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.