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
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
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 like this
Build a Labeled Solar System Scale Infographic with Planet Fact Cards in HTML
A single HTML file that switches the solar system between a readable view and a true-distance view, with clickable planet fact cards and a live scale check.
Build a Scientific Method Flowchart Infographic with a Worked Example Toggle
You get a single HTML file with a seven-step scientific method flowchart, clickable detail panels and a switch that shows each step as a real classroom experiment.
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.
Build an Interactive Food Chain Energy Pyramid Infographic in One HTML File
A clickable prairie energy pyramid where each trophic level reveals its energy, the 10 percent passed upward, and animated bars scaled to the real numbers.
Build a 100-Person Icon Array Demographic Infographic in One HTML File
You get a single HTML file that shows a fictional town as 100 SVG person icons, with tabs for commute, age and housing and an interactive legend that highlights each group.
Build a 12-Week Fitness Progress Tracker Infographic in a Single HTML File
Generates a one-page fitness report with bodyweight and lift line charts, personal-record badges, a streak calendar and an instant kg/lb toggle, all from built-in sample data.