Mother & baby store trainer - formula-stage & diaper-size counter card generator - enter age and weight to get the stage reference, the diaper size reference, and the age-band category reminders, with "check the label on the tin / pack" permanently pinned beside every answer; new hires lean on the card when stuck and absorb the house line from it in daily use - the tool welds the trade's iron rule, "the label on the product is the truth," into its own interface
You are a coding agent building a training tool
for a mother & baby store. Build a single-file
HTML tool (no backend, no external
dependencies, fully offline) - a counter
lookup card: when a new associate gets "which
stage for seven months, what size for eleven
kilos," entering age and weight produces the
reference answer instantly.
The real problem: a new hire who cannot answer
loses the customer's trust on the spot; but
brands split stages and size bands differently,
so a memorized number sells wrong - the card's
job is not the standard answer but the correct
motion: "reference band + go check the tin."
1. Input
- Baby age in months (free numeric entry, e.g.
7, 18)
- Weight in kilograms (optional - diaper
sizing follows weight; with no weight
entered, the size card reads "weigh or ask,"
never a conversion from age)
2. Output (three cards, one screen)
1) Formula-stage reference: which stage the
entered age falls into per the common age
bands (band values live in a config block
at the top of the code, editable by the
trainer), with this line fixed in a
prominent position on the card: "brand
splits differ - check the tin's label
before naming a stage." The line is not a
dismissible toast; it is a permanent part
of the card
2) Diaper-size reference: the weight band
(NB/S/M/L/XL common bands), again with
"weight bands differ by brand; the pack
label governs" fixed on the card; when
weight and age visibly disagree (15 kg at
6 months), add one line: "weight outside
the common range for this age - size by
weight and suggest a pediatric check-up
visit." No health judgment, just the
pointer to weighing
3) Age-band category reminders: the high-
frequency needs for that age (maintained
in the config block), e.g. ~6 months -
solids window, iron-supplement questions
peak, stage-2 transition approaching; ~12
months - stage 3, first shoes, cup
transition - each item is a "conversation
cue," never a selling instruction
3. Training mode (a second tab for the
trainer)
- Quiz mode: a random age/weight combination
appears; the hire answers aloud first, then
taps "show reference" to compare - a 3-
minute morning-meeting drill
- Error log: briefly records the combination
and the missed item; keeps the last 50
entries locally for trainer review (no
network, no upload)
4. Print mode
- One click to an A4 layout: the three cards
become a three-column table for the counter
or backroom wall - the print version keeps
"check the tin / pack label," set no
smaller than body text
Boundaries and prohibitions:
- Every default band is labeled "common
practice, for reference"; the words
"standard" or "national standard" appear
nowhere in the UI - "the label on the tin
governs" is the trade's iron rule, and the
tool must not impersonate the standard
- No health judgments: an age-weight mismatch
points to weighing and a pediatric visit,
never to "overweight / underweight /
abnormal development"
- Offline, no data collection; local storage
limited to quiz-mode error logs, with a
one-click clear
- Chinese UI, restrained and plain; "smart
recommendations" and "AI parenting" are
banned words
Start with a one-sentence-per-section page
structure, then the complete single-file code,
then usage advice for the trainer: how the
card builds the "check the tin first" reflex
in week one, and how to switch to quiz mode
from week two.
Why it is written this way
Making "check the tin / pack label" a fixed, un-closable part of the card - rather than a dismissible hint - is the tool's single most consequential decision. Stage-by-age is common practice, but brands split the boundaries differently - one brand's stage 2 starts at 6 months, another's at 7 - and diaper weight bands vary even more. Hand those bands out as standard answers and the associate treats them as authority, until one day she names the wrong stage while the customer is holding the tin. Pinning "look at the tin" beside every output trains a reflex rather than a memory: the number is the reference, the look is the motion, and this trade only ever wanted the motion.
No health judgment on age-weight mismatch - just the pointer to weighing and the pediatric visit - draws the tool's boundary. Associates meet "six months, fifteen kilos" constantly, and an offhand "chunky baby" crosses the line: weight assessment belongs to the pediatrician, and a remark repeated outside as parenting advice comes back on the store when it goes wrong. The output is designed as "size by weight (for sizing)" plus "ask about well-child care (for health)" - two questions cleanly separated, one the associate may answer, one she may only route. That separation is itself core new-hire curriculum; the tool makes it visible on screen.
The category card deliberately reads as "conversation cues" rather than "selling instructions" - the difference is the point of departure. "6 months is the solids window" cues that the customer may need a blender, cereal, spoons - service starting from the customer's need; "push the solids category now" starts from quota. The wording gap is tiny, but it decides whether the associate's opening line is "has she started solids yet?" or "second item half off" - the first builds trust, the second spends it. The tool maintains only the former register because the card is what the new hire stares at daily, and whoever writes the card writes the reflex.
Quiz mode with an error log turns the card from a lookup into a drill. Being quizzed once beats looking up a hundred times, and the log hands the trainer a specific picture - does this hire confuse the stage-2/3 boundary, or has she never built the age map at all - so remediation lands on the actual gap. Fifty local entries with one-click clearing matches small-store reality: the log's value expires within a week, and like inventory, the longer it sits the more it resembles clutter. The print mode keeps the warning line at full size because paper is exactly the copy that loses the interactive context - a sheet taped to the counter for three months is the one most likely to be treated as the answer key.
Variables
| Variable | Description |
|---|---|
| Stage age bands | Common bands in the config block - where the store's lead brand splits differently from common practice, rewrite to the lead brand's tins and label the card "per this store's lead brand" |
| Reminder items | The age-band cue list - maintained by the trainer against the store's category mix and local customer habits, each item kept in the "customer may need" register, never the "should be pushed" |