Build a Vertical Biography Timeline Infographic of a Famous Scientist in HTML

You get one HTML file with an alternating vertical timeline of a scientist's life, including milestones, quotes and awards, category filters and expandable details.

The prompt

Prompt
Act as a senior information designer and front-end developer who builds clear research posters for students.

Build "Radiant Life: Marie Curie, 1867 to 1934", a vertical biography timeline infographic in one HTML file. A central line runs down the page. Milestone cards alternate left and right, and each card has a year, a category badge, a headline and a one-sentence summary. Include 12 to 14 accurate milestones from her birth in Warsaw to her death in 1934. Cover her studies in Paris, the discovery of polonium and radium, both Nobel Prizes, her wartime X-ray work and the Radium Institute. Add two short quote cards attributed to her.

Rules:
1. Use four categories, each with its own color: Life, Discovery, Award and Quote. Show a legend of filter chips that hide or show categories, with a live count such as "Showing 13 of 13 milestones".
2. Clicking or tapping a card, or pressing Enter, expands a 2 to 3 sentence detail panel. Add an Expand all toggle. Up and Down arrow keys move focus between visible cards.
3. Add a header with name, dates, a one-line tagline and three stat tiles.
4. On screens under 720px wide, collapse to a single column with the line on the left.
5. Use a warm paper background, deep navy text and readable contrast. Cards fade in gently, and this effect is disabled under prefers-reduced-motion.
6. End with a short footer reminding students to verify dates against two sources.

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: Radiant Life, an alternating timeline poster of Marie Curie.

The page opens on a header with her dates, a tagline and three stat tiles. Below it, 13 color-coded cards alternate along a central line. Click or tap any card, or press Enter, to expand the full story. Use the filter chips to show only Discoveries or Awards, and watch the live count update. Expand all opens every card for printing. Try the arrow keys to step through the milestones, and resize the window to see the mobile single-column layout.

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

Tips and common edits

Why this works

  • A fixed list of categories with assigned colors gives the model a ready legend and a filter system, so the poster reads clearly at a glance.
  • Naming the exact milestones to cover keeps the facts focused and the timeline balanced from birth to death.
  • The mobile breakpoint and reduced-motion rules mean the layout works in any frame and on any device on the first try.

Paste into ChatGPT, Claude or Gemini. Save the code as an .html file and open it in a browser, or use the chat's preview or canvas. Swap the name in the prompt to profile any scientist or author.

Common edits

  • Change the subject and title to another scientist or author, such as Ada Lovelace or Toni Morrison, and adjust the milestone list.
  • Add a Works or Publications category with its own color, or ask for a printable black-and-white mode.

Prompt details

By
Prompts-GPT editors
Published

Did this prompt work?

Keep exploring

More in Infographics