Build a Classroom Game Show Buzzer Board with Timer Sounds in HTML

A prompt that builds a single HTML quiz-night console with four colored team buzzers, correct and wrong sounds, scoring, and a ticking countdown that ends in a horn.

You getone complete HTML file in a single code block, then 3 short ideas to extend it.

The prompt

Prompt
Act as a front-end developer who builds simple, reliable classroom tools for teachers. Build Brightbell Buzzer Board, a quiz-night game show console in one HTML file with four big colored team buzzers, a countdown timer and synthesized sound effects. Rules:
1. Four team cards (Coral Comets, Golden Owls, Teal Tides, Violet Volts) buzz in with a click, a tap or keys 1-4. The first buzz locks the board, highlights that team, pauses the timer and plays a team-specific chime. Later buzzes are ignored.
2. Host controls: C marks correct (+100, rising fanfare, ends the question), X marks wrong (-50, low buzzer, that team is locked out and the others may buzz again), T starts or pauses the countdown, N resets for the next question, and M mutes. Show these keys on screen.
3. The countdown can be set to 10, 20 or 30 seconds. Show a large number and a shrinking bar, play a soft tick each second and higher ticks in the last 3 seconds, and sound a horn at zero.
4. All sound uses the Web Audio API, created on the first interaction and kept at low volume, with a visible mute button. Use no audio files, external libraries, storage or alerts.
5. Use a dark navy background and white text. Lay the teams out in a 2x2 grid on phones and 4 across on wide screens. Add an aria-live status line, and stop the pulsing animation when prefers-reduced-motion is set.
Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.

Example output

One HTML file. Save it and open it in any browser.Open full screen

Example: Brightbell Buzzer Board, a four-team quiz-night console.

Teams buzz in by tapping their colored card or pressing 1–4. The first buzz locks the board and plays that team's own chime. As host, press C for correct (+100 and a fanfare) or X for wrong (−50, a buzzer, and that team sits out). Start the countdown with T and listen for the faster high ticks before the horn. N starts the next question and M mutes.

Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • Naming every key, point value and sound up front leaves the model nothing to guess, so the host controls work on the first run.
  • The lockout rules (first buzz wins, a wrong team sits out) are spelled out step by step, which avoids buggy edge cases.
  • Asking for Web Audio started on the first tap avoids browser autoplay blocks, so sounds just work.

Paste into ChatGPT, Claude or Gemini, save the code as buzzer.html and open it in a browser, or use the chat's preview or canvas. Put it on a projector and run the quiz from the keyboard.

Common edits

  • Change team names, colors or point values (for example +10 and −5) to fit your class or subject.
  • Add a fifth or sixth team, or switch the countdown choices to 5, 15 and 60 seconds for lightning or essay rounds.

Prompt details

By
Prompts-GPT editors
Published

Did this prompt work?

Keep exploring

More in Sound Effects & Music