Your child wants a toy but never saves enough? Try giving them a piggy bank with a goal.
This one uses only Gemini on the web (free) again, like last time. I didn't write a single line of code myself.
Try the finished appThe code the AI wrote (whole file)


What the app does
- Drop in coins of 1, 5 and 10 baht and notes of 20, 50 and 100
- Set a goal, such as "dinosaur doll, 100 baht", with a bar that shows how close you are
- Reaching the goal brings fireworks and praise
- A history of deposits and withdrawals with dates; withdrawing money needs a confirmation first
- Saved on the device and still there after closing and reopening
Just 3 things to do
- Open gemini.google.com, tap the + button and choose Canvas
- Copy the prompt below, paste it in and send it (wait about a minute and a half)
- Tap preview and you can play with it right away
Want an icon on your iPhone? See how in part 1 (Safari → ••• More → Share → Add to Home Screen)
The prompt
Please make a piggy bank app for my child, as a single-file web page that works on an iPhone. - A big piggy bank picture in the middle of the screen, with the total amount in big numbers at the top - Buttons to drop in coins of 1, 5 and 10 baht and notes of 20, 50 and 100. When tapped, a coin falls into the piggy bank with a jingling sound - Let me set a goal, for example "toy, 500 baht", with a bar that shows how close the child is to the goal - When the goal is reached, show fireworks and a word of praise - A withdraw button (ask for confirmation first) and a history of deposits and withdrawals with dates - Keep the data on the device so it is still there after closing and reopening - The app should be in Thai, with big text and bright colors that suit kids