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
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
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 like this
Build a Course Syllabus Roadmap Infographic with Weekly Deadline Badges
A prompt that produces an interactive one-page syllabus roadmap with week cards, quiz, project and exam badges, grade weights and a clickable detail panel.
Build an Interactive American Revolution Timeline with Event Filters in HTML
A single HTML file that renders a filterable American Revolution timeline from 1763 to 1783, scrolling sideways on desktop and stacking vertically on phones.
Build an Interactive History Timeline with Era Bands and Clickable Event Cards
Get a single-file interactive timeline with color-coded era bands, zoom controls, keyboard navigation and expandable event cards, ready for a history lesson.
Build a Classroom Grade Distribution Infographic with Histogram and Quartiles
A single HTML file that turns an inline array of class scores into a histogram with mean and median markers, a box plot, stat cards and a plain-language summary.
Build a Color-Coded Parts of Speech Grammar Cheat Sheet in One HTML File
A prompt that builds an interactive grammar cheat sheet where every word in the example sentences is colored by part of speech, and hovering or tapping a word explains why it fits that category.
Build a Flip-Card Science Vocabulary Infographic in a Single HTML File
You get a ready-to-open HTML page with twelve cell-biology vocabulary cards that flip to show a definition, a real example and an emoji icon, plus shuffle, reveal-all and keyboard controls.