Vibe coding for teachers and trainers: build your own learning tools
Read in : Français

Contents
- What learning tools can you build without coding?
- What to avoid at first
- Which AI tool should a teacher pick?
- Claude and artifacts
- Gemini and Canvas
- ChatGPT and Canvas
- A copy-paste prompt for a revision quiz
- Which data and usage rules apply?
- How do you test and improve the tool before class?
- For adult trainers: which tools pay off most?
- Frequently asked questions
- Frequently asked questions
- Sources
Vibe coding for teachers means describing a classroom tool in plain English and letting the AI build it: a quiz that marks itself, vocabulary flashcards, a clickable timeline, an activity timer. Claude, Gemini and ChatGPT can all write the code for this kind of small interactive page from a conversation. The teacher's job remains the most important part: choosing the learning goal, checking every piece of content and protecting pupils' data.
What learning tools can you build without coding?
The best candidates are simple, self-contained tools that fit in a single web page and store no pupil data. The smaller the tool, the more reliable it is.
| Tool | Classroom use | Difficulty |
|---|---|---|
| Self-marking quiz | Revision, formative assessment | Easy |
| Flip flashcards | Vocabulary, dates, formulas | Easy |
| Random group or name picker | Classroom management (names typed locally) | Easy |
| Visual timer and stopwatch | Group work, presentations | Easy |
| Interactive timeline | History, literature | Medium |
| Simulator (pendulum, supply and demand, circuit) | Science, economics | Medium |
| Vocabulary or matching game | Modern languages | Medium |
| Arithmetic practice generator | Maths, differentiation | Medium |
| Small revision game with a score | Motivation, end of unit | Longer |
For games, the guide to making a video game with vibe coding covers what already works. The pillar article on 25 real vibe coding use cases has more ideas outside education.
What to avoid at first
- Apps with pupil accounts, stored grades or individual tracking: they raise personal data and security questions well beyond a weekend project.
- Tools that must work on every school device without testing first.
- Factual content generated without review (dates, definitions, translations): AI can be wrong with total confidence.
Which AI tool should a teacher pick?
For a first tool, a chat assistant that shows the result next to the conversation is enough. No code editor, no hosting.
| Tool | What it produces | Sharing | Watch out for |
|---|---|---|---|
| Claude (artifacts) | Interactive page next to the chat | Shareable link | 18+ only |
| Gemini (Canvas) | Web prototypes, interactive quizzes | Link, depending on account type | Sharing rules vary by Workspace edition |
| ChatGPT (Canvas) | Writing and code workspace | Conversation link | 13+, parental permission under 18 |
| Google AI Studio | Fuller web app | Deployment possible | More technical |
Claude and artifacts
Claude's artifacts are self-contained pieces of content, documents or small interactive tools, that open in a panel next to the conversation, according to the Claude Help Center. They are available on every plan, including Free. Per the help page on sharing artifacts, most artifacts shared with "anyone with the link" open without a Claude account; only features that call Claude ask people to sign in.
Gemini and Canvas
Google introduced Canvas on March 18, 2025 as a space to turn ideas into prototypes of web apps, games and simulations, with previews of HTML and React code, according to Google's official blog. Canvas also generates interactive quizzes from a document or a prompt, with hints, a final score and areas to work on, per the Google Workspace Updates blog. Since September 17, 2025, those quizzes are available to users under 18 on eligible editions, and educators can share them with their class, according to Google's September 2025 Workspace update.
To go further with Google's tools, read Google AI Studio and Antigravity, Google's vibe coding stack.
ChatGPT and Canvas
OpenAI launched Canvas on October 3, 2024 as a workspace for writing and code, with shortcuts to review, comment or fix code, according to OpenAI's announcement. On age, OpenAI's Terms of Use set a minimum of 13, with a parent or guardian's permission under 18. In the US, OpenAI also offers a dedicated plan, ChatGPT for Teachers, free for verified K-12 educators for a limited period; it is not for students.
A copy-paste prompt for a revision quiz
A good teaching prompt states the level, the goal, the question format, the feedback and the technical constraints. Here is a template:
You are an instructional designer.
Build an interactive quiz as a single HTML page (HTML, CSS and
JavaScript in one file, no external libraries).
Audience: Year 9 / 8th grade students, revising "The First World War".
Goal: check 10 key ideas (dates, people, concepts).
Format:
- 10 multiple-choice questions, 4 options, one correct answer.
- After each answer: immediate feedback and an explanation of
2 sentences maximum.
- At the end: score out of 10 and a list of topics to review.
- A "Try again" button that shuffles the question order.
Constraints:
- No data collection: no names, no sending, no storage.
- Large buttons readable on a tablet, high contrast, 18px font minimum.
- Put the questions in a JavaScript array at the top of the file so
I can edit them easily.
Before coding, list the 10 questions and answers so I can approve them.
The last line matters: approving the content before the code saves you from fixing factual errors buried in JavaScript. For the structure behind this prompt, see the 5-step method for vibe coding prompts.
Which data and usage rules apply?
The basic rule is simple: no pupil personal data in a consumer AI tool, neither in the prompt nor in the tool you build. Official guidance points the same way.
In England, the Department for Education's guidance on generative AI in education, last updated on August 12, 2025, recommends that personal data is not used in generative AI tools, calls for close supervision of pupil-facing use and asks schools to check each tool's age restrictions. It also notes that teacher-facing uses, such as lesson planning and creating resources, carry fewer risks. In France, the education ministry published a comparable framework in June 2025 that bars personal data from consumer AI services, as summarized by Banque des Territoires.
In practice, that gives a short checklist:
- No pupil names, grades or photos in the prompt.
- A tool that collects nothing: no form, no data sent, no account.
- For a name picker, names are typed into the page locally and vanish when it closes.
- Full content review: every question, answer and explanation.
- A test on classroom hardware (tablet, projector, school browser) before the lesson.
- A check of the AI tool's age rules if pupils use it directly.
How do you test and improve the tool before class?
Test the tool like a pupil in a hurry: click everywhere, answer randomly, refresh the page. Most bugs show up within two minutes.
- Display bugs: describe what you see ("the Next button is hidden under the text on a tablet") rather than "it doesn't work".
- Logic bugs: give a precise example ("on question 4, the correct answer B is marked wrong").
- Readability: put the tool on the projector and look at it from the back of the room.
- The working version: once the tool works, download the HTML file. It opens in any browser, even offline if it uses no external resources.
If you wonder how far you can go without technical skills, can you vibe code without knowing how to code? covers the useful basics. On a zero budget, see free vibe coding.
For adult trainers: which tools pay off most?
Trainers save the most time on tools they reuse from one session to the next: an entry quiz to gauge level, interactive case studies, an end-of-module checklist, a job simulator (quote calculator, schedule, budget). With adult learners the age issue disappears, but the data rule stays: no information about participants or their employer in a consumer tool. If a tool grows, replacing a spreadsheet with a real internal tool shows the next step.
Frequently asked questions
Frequently asked questions
Can a teacher build an interactive quiz with AI without coding?
Yes. Claude, Gemini and ChatGPT generate the code for a full interactive quiz from a plain-language description: level, number of questions, format, feedback. The teacher writes no code, but must review every question and answer, test the tool on classroom hardware and make sure no pupil data is collected.
Can pupils use these tools themselves?
It depends on the AI tool and their age. Claude is limited to users 18 and over under Anthropic's terms. Gemini quizzes have been open to under-18 users on eligible editions since September 2025. England's DfE guidance calls for close supervision of pupil-facing use. A standalone HTML page that calls no AI at all remains the simplest option.
Can I use pupils' names in a tool built with AI?
Not in the prompt, and not in a tool that sends or stores data. The DfE recommends keeping personal data out of generative AI tools. For a name picker, ask for a tool where names are typed into the page locally and disappear when it closes, with nothing sent anywhere.
How much does it cost to build classroom tools with AI?
Claude's artifacts are available on the Free plan, and Google rolled Canvas out to Gemini users as well as paid subscribers. For a quiz or flashcards, a free plan is usually enough, within usage limits. A tool delivered as a standalone HTML file costs nothing to run: it opens in a browser, with no subscription or hosting.
How do I avoid AI-generated content errors?
Ask the AI to list questions, answers and explanations before writing any code, then check each item against your usual sources: textbook, curriculum, reference book. Keep the content grouped at the top of the file so you can fix it easily. The teacher remains responsible for the final material, as with any resource.
Sources
- What are artifacts and how do I use them? — Claude Help Center
- Sharing artifacts — Claude Help Center
- Consumer Terms of Service — Anthropic
- New ways to collaborate and get creative with Gemini — Google
- Generate quizzes in Canvas in the Gemini app — Google Workspace Updates
- Quizzes in the Gemini app available to users under 18 — Google Workspace Updates
- Introducing canvas — OpenAI
- Terms of Use — OpenAI
- ChatGPT for Teachers — OpenAI Help Center
- Generative artificial intelligence (AI) in education — GOV.UK, Department for Education
- IA en éducation : ce que prévoit le cadre d'usage — Banque des Territoires


