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.

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

The prompt

Prompt
Act as an educational designer and front-end developer who builds clear, interactive explainer infographics.

Build "From Question to Conclusion", a single-page infographic that teaches the scientific method in eight steps: Observe, Ask a Question, Form a Hypothesis, Plan the Experiment, Collect Data, Analyze, Conclude, and Share and Repeat. Each step pairs a general definition with one running worked example: a classroom test of whether bean seedlings grow taller with more hours of light per day (4, 8, 12 and 16 hours, 5 pots per group, 21 days).

Rules:
1. Show a clickable stepper of all eight steps with number, emoji icon and label, plus a progress bar. Clicking a step, the Previous/Next buttons, or the left and right arrow keys changes the detail panel.
2. The detail panel has two color-coded columns: "In general" (definition plus an "Ask yourself" question) and "Bean experiment" (the concrete example with 2-3 bullets), then a short "Common pitfall" note.
3. Include a bar chart of average seedling height built with HTML and CSS, with Day 7, Day 14 and Day 21 toggles and a one-line takeaway per day. Highlight the chart when the Collect Data or Analyze step is active.
4. Use a small palette: warm off-white background, deep green for definitions, amber for the example, dark ink text with readable contrast.
5. Make it fit 360-1280px widths, use visible focus outlines and ARIA states, and turn off animations under prefers-reduced-motion.

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: From Question to Conclusion, an eight-step scientific method explainer built around a bean-seedling light experiment.

Click any step in the stepper, use Previous/Next, or press the left and right arrow keys to move through the method. Each step shows a green In general definition next to an amber Bean experiment example and a common pitfall. Below, switch the chart between Day 7, 14 and 21 to watch the gap between light groups grow. The chart lights up on the Data and Analyze steps.

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

Tips and common edits

Why this works

  • One running experiment threads through every step, so learners see how a hypothesis turns into variables, data and a conclusion.
  • Fixed numbers (4 groups, 5 pots, 21 days) let the model write consistent example text and a believable chart.
  • Separate color-coded columns for definition and example keep abstract and concrete ideas side by side without clutter.

Paste into ChatGPT, Claude or Gemini. Save the returned code as scientific-method.html and open it in any browser, or view it in the chat's preview or canvas panel. Works offline.

Common edits

  • Swap the bean experiment for another topic, such as dissolving sugar in water at different temperatures, and update the chart values.
  • Add a short quiz at the end that asks learners to label variables as independent, dependent or controlled.

Prompt details

By
Prompts-GPT editors
Published

Did this prompt work?

Keep exploring

More in Infographics