Websites, apps & code / Building apps
Building a small calculator tool
You often work out the same thing and want a tool where you type numbers and get the answer.
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 calculator tool. What to calculate: Renovation quote: area times price per square foot, plus 10% buffer and RM500 delivery Who uses it: Me and two salesmen on our phones Build method: One HTML file that opens in the phone browser and needs no internet. Please do this: 1. Ask me 3 questions first, such as whether numbers have decimals and whether there are exceptions. 2. Write the calculation as a list for me to confirm, with a worked example using real numbers. 3. Design the screen: which cells are inputs, how results show and whether there is a Clear button. 4. Come up with 5 test inputs (including 0, a very large number and blank) and tell me the correct answers. 5. Only then build it, and teach me how to check the answers are right. Use only what I gave you; do not invent numbers, ask me in 【】. [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
- Claude Code Suggested tool Free plan
AI that writes code directly on your computer
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.