Bzzdex
← Make an app

Split the bill

Who had what, and what each person owes · Daily ●●

Change these if you like

Prompt

Make a bill splitter that works by what each person had, in dollars. Make it a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Do not use image files or any external address; use emoji or letters if you need a symbol.

Add people by name. Add items with a price, and tick who shared each one. An item shared by three people splits three ways.

Show what each person owes, large and clear, plus the total so it can be checked against the receipt.

Handle the rounding honestly: when a split does not divide evenly, give the extra to one person and say who. Do not quietly lose a coin, and do not make the totals not add up.

Add a copy button that copies the result as plain text, ready to paste into a group chat.

When you are done, split an odd amount three ways and check the shares add back up to exactly the total.

What it uses: One file only · Say what it is first · Decide what shows · Have it check itself

If the shares do not add up, ask it to "give the remainder to the first person and show it".


Paste what came back

Also save the prompt you used (optional)

Paste what you typed into the AI. You decide later whether anyone else sees it.

0

You might also like