1. Inspired by the following learning module created by Leonard Wong:
2. Asked Gemini about the module.
3. Gemini introduced bolt.new for creating such interactive modules.
4. Asked Gemini to provide a simple example, and a prompt. The example provided was 'Ordering a coffee politely at a cafe'. Gemini provided the following prompt:
=========\
Act as an expert frontend web developer and TESOL instructional designer.
Create a single-file, self-contained HTML/CSS/JavaScript interactive Micro-Learning Unit for English language learners.
Topic: Ordering Food at a Cafe (Functional Language & Pragmatics)
Target Audience: Intermediate ESL/EFL students.
App Requirements:
Visual Header: Clean modern layout with a title "Interactive Scenario: At the Cafe" and a progress bar.
Step 1: Vocabulary & Pragmatics Checklist. Interactive clickable cards showing direct vs. polite ordering phrases (e.g., "Give me a coffee" vs. "Could I get a coffee, please?").
Step 2: Interactive Audio/Text Dialogue. A visual chat interface simulating a barista and customer, where students click to reveal the next line of dialogue.
Step 3: Branching Dialogue Practice. A multiple-choice scenario where the barista asks a follow-up ("What size would you like?") and the learner picks the best polite response. Give instant color-coded feedback.
Step 4: Final Quiz & Summary. A brief 3-question check on polite modals ("could", "would", "may") with a final score display. Design Style: Clean, mobile-friendly, modern UI with Tailwind CSS (via CDN) and friendly pastel colors. Code Output: Provide ONLY valid, single-file HTML code containing inline CSS and JavaScript. Do not use external asset files or npm dependencies.
==================
5. Went to bolt.new and copied the above prompt into the chatbox. Bolt.new could create the module directly. But when I tried the output, there were some bugs. I asked for revision, but then used up all my credits.
https://interactive-cafe-eng-pwfk.bolt.host
6. I went back to Gemini Canvas, and used the same prompt. GEMINI CANVAS CAN ACTUALLY CREATE SUCH A MODULE DIRECTLY!