Most likedMid-Autumn lantern riddles and mooncake list
Guess the riddle to light a lantern. Then plan who gets which mooncakes and what it will cost.
Lantern riddles
Mooncake gift list
| Who | Boxes | Flavour | Price a box (S$) |
|---|---|---|---|
Share the list on WhatsApp
Want to learn to build this?
This app was built with AI, step by step, by describing what it should do and testing the result. On the 2-day GenAI Builder Sprint you build and deploy a working app of your own, with no coding background needed. SkillsFuture funding may apply, subject to eligibility.
Prompt sheet: build an app like this
Paste these into any AI coding tool, one at a time. Fill the square brackets with facts from the official source. Then run the tests and check the result before you rely on it.
1. Start prompt
Build a Mid-Autumn helper with two parts. 1. Lantern riddles: show one riddle at a time. If the answer typed is right, light a lantern. Add a Show the answer button. Use these riddles: [paste your own riddles and answers]. 2. Mooncake gift list: rows of who, how many boxes, flavour and price per box, and a budget. Show the total boxes, the total cost and how much is left in the budget. One page, plain HTML, CSS and JavaScript in one file. Works well on a phone, with large buttons. Store nothing the user types and send nothing anywhere.
2. Improve it
Accept answers with different capital letters and extra spaces. Show a warning when the total goes over the budget. Add a button that opens WhatsApp with the gift list as a message.
3. Test it
- 1 box at S$68, 2 at S$55 and 1 at S$45, budget S$300: 4 boxes, S$223, S$77 left.
- Type a right answer in capitals: the lantern still lights.
- Go over the budget: the warning appears.
4. Watch out for
- Write your own riddles, or check that you may use the ones you copy.
- Check the WhatsApp message on a phone before sharing the app.
Mid-Autumn is the festival of the full moon, celebrated on the fifteenth day of the eighth lunar month with lanterns, mooncakes and family. These riddles are made for family play, so ask the youngest to read them out.
The gift list adds up your boxes and cost, and compares the total with your budget. Prices shown are examples to replace with your own.
Before you rely on this
The riddles are for fun, and the prices are only examples, not offers. Check mooncake ingredients if anyone has an allergy, since most contain nuts, seeds or egg.
More free mini apps
Most liked
Most liked
Most liked
Most liked