Websites, apps & code / Building websites
Bill splitting page
Friends dining or travelling need to split a bill, and want a small page that works out what each person owes.
1Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
3Copy the prompt
Help me build a small bill-splitting web page for phone use. Situation: 5 people, total RM286, some did not drink, 10% service charge plus 6% tax First ask me up to 3 questions, then list the screens and the calculation rules for me to confirm. Write the code only after I agree. Requirements: - Calculation rule: Takes a headcount and rounds the cents, for example RM57.20 each. - Ringgit amounts shown to two decimal places - Show the working for every number so everyone understands, not just the result - A "copy result" button for pasting into a WhatsApp group - Data stays on this phone and is never uploaded - No paid services; first work through a few examples so I can check the maths. Output format: questions and rule confirmation, then one index.html with three test cases and their expected answers. [Make it sound human] - Explain in plain words; no pleasantry openers or empty summaries. - Only necessary, short, practical code comments; the simplest working approach, no over-engineering. - Interface text (buttons, hints, error messages) should sound like a person wrote it; no "seamless", "empower", "unlock". [Quality] Code must run as is and handle common errors; tell me how to test it and confirm it works; ask first if a requirement is unclear; never put passwords or API keys in the code.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
AI tools that suit this
- Claude Suggested tool Free plan
Strong at long documents, editing and code
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Bolt Suggested tool Free plan
AI web app builder in the browser
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.