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
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
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 like this
Build a Before-During-After Field Trip Checklist Infographic in One HTML File
A ready-to-paste prompt that builds a three-phase field trip checklist with tabbed columns, tickable steps, per-phase counters and an overall progress bar.
Build a How-To Infographic With Numbered Steps and Do/Don't Callouts in HTML
Get a single HTML file with a polished how-to infographic: numbered step cards, paired do and don't callouts, filters for mistakes, and a progress tracker.
Build a Recipe Steps Infographic with Countdown Timers and Ingredient Checklist
A kitchen-tablet recipe page in one HTML file, with tick-off ingredients, a countdown ring on every step, chimes when timers end and big tap targets.
Build a Scientific Method Explainer Infographic With a Worked Plant Experiment
An interactive single-file infographic that walks through the eight steps of the scientific method, pairing each definition with a running bean-seedling light experiment and a live data chart.
Build a Swimlane Process Infographic of a Content Team Workflow in HTML
Get a single HTML file with an interactive swimlane infographic that maps a content team's workflow by role, with handoff arrows, step details and a guided walkthrough.
Build an Animated Top-10 Bar Chart Race Infographic in One HTML File
You get a single HTML file with an animated top-10 bar chart race. It has play, pause and a year scrubber, smooth rank swaps, and a static final-ranking view for users who prefer reduced motion.