Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 1 min read

How to Test an Interactive Quiz Built With Gemini Notebook

A quiz can look finished while its score counter, reset button, or answer explanations still need work. A small solar-system quiz makes those issues easy to spot before you share it with learners. Build a small

A quiz can look finished while its score counter, reset button, or answer explanations still need work. A small solar-system quiz makes those issues easy to spot before you share it with learners.

Build a small test case

  1. Add a short set of study notes as a source in Gemini Notebook. Use a chapter you know well so you can check the output quickly.
  2. Ask for clickable cards covering the planets in your notes, a five-question multiple-choice quiz, and a reset button. Ask for a brief explanation after each answer and tell it to flag facts missing from the source.
  3. When the site is ready in Studio, open it in a new tab. Test it in a narrow browser window as well as on desktop.

Check the behavior before sharing

Action Expected result
Open a planet card The card reveals facts you can find in the notes.
Choose a correct answer The quiz explains the answer and updates the score.
Choose an incorrect answer The quiz gives feedback and leaves the score unchanged.
Reset the quiz The score returns to zero and previous choices clear.

In the solar-system example documented on Azee, choosing Mercury for the closest rocky planet question raised the score to 1/5. Resetting returned it to 0/5. If your reset leaves an answer selected, ask Gemini to clear the score, selected answers, and feedback, then run the same checks again.

For the full setup and a copyable starter prompt, see the Azee guide to building an interactive website with Gemini Notebook.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.