← All projects

Building a Childcare Calculator

Part 1

Building a Childcare Calculator

Childcare calculator: Why a static page, and why not a spreadsheet - Part 1

~6 min read Childcare costs are one of those bills that look simple until you try to predict them. A childminder charges an hourly rate. You book some days. The government funds some of the hours. Bank holidays don't count. And somehow the number on the invoice is never the number you guessed. I wanted a way to type in my setup and see the month's cost, day by day, before the invoice arrived. This post is about the first decision: what to build it with, and what the first version actually did.
Andrew Townsend
Andrew Townsend
3 min read

Part 2

Building a Childcare Calculator

Childcare calculator: From two childminders to four - Part 2

~7 min read Last time the calculator had exactly two childminders, written into the markup as "A" and "B". That matched my own situation, but it's a poor assumption for a tool other people might use. This post covers the commit that replaced it with one to four childminders, and what that did to the code. The assumption was everywhere Two childminders sounds like a small thing to hardcode. In the first version it showed up in: * the markup, as two pairs of name and rate inputs * the sched
Andrew Townsend
Andrew Townsend
3 min read