Build an Animated Step-by-Step Classroom Procedure Infographic in HTML

Get a single HTML file with a numbered, icon-led process infographic whose steps reveal on scroll or keypress, ready to project in class or share for self-paced review.

The prompt

Prompt
Act as a senior front-end developer and instructional designer. Build a single-page animated process infographic called Safe Lab Start: Six Steps Before Any Experiment, for a Grade 7 science classroom. Show six numbered steps on a vertical timeline, each card with a simple inline SVG icon, a short action title, one or two sentences of instruction, a small Why it matters line, and a time chip such as 30 sec. Write real, classroom-ready copy. Rules: 1) Two modes in a segmented toggle: Explore, where steps fade and slide in as the student scrolls down, and Present, where steps reveal only on Next, Space or the right and down arrows, with Prev or the left and up arrows hiding the last step. 2) A sticky toolbar with Prev, Next, Reveal all and Reset buttons, a progress bar, Step X of 6 text, and numbered dots that jump to any step. 3) Highlight the current step with an accent outline and announce it in an aria-live region. 4) Use a warm paper background, dark ink text, one teal accent and one amber accent, a clear type scale and generous spacing. 5) Respect prefers-reduced-motion by using fades only, fit 360 to 1280px wide, use no external files, fonts or storage. 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: Safe Lab Start, a six-step lab safety routine that reveals itself step by step.

In Explore mode, scroll down and each numbered card fades in with its icon, instructions and time estimate. Switch to Present to project it: press Space or → to reveal the next step, ← to take one back, or click the numbered dots to jump. Try Reveal all for a printable overview and Reset to run the routine again with a new class.

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

Tips and common edits

Why this works

  • Naming one concrete procedure with six steps gives the model real copy to write, so the page looks finished instead of full of placeholders.
  • Defining both Explore and Present modes with exact keys makes it work for live projection and self-paced review without extra prompting.
  • Spelling out palette, reduced-motion fades and no external files keeps the output accessible and runnable offline on the first try.

Paste into ChatGPT, Claude or Gemini, copy the code into a file saved as safe-lab-start.html and open it in any browser, or run it in the chat's preview or canvas. Swap in your own procedure steps afterward.

Common edits

  • Replace the six lab steps with any routine, like fire drill, morning arrival or peer review, keeping the same card fields.
  • Change the teal and amber accents to your school colors or add a seventh step and a printable checklist view.

Prompt details

By
Prompts-GPT editors
Published

Did this prompt work?

Keep exploring

More in Infographics