Build a Flip-Card Technology Evolution Timeline Infographic in HTML
A complete single-file HTML infographic with six tech-history era cards that flip to Then vs Now comparisons, a progress timeline and a presenter step-through mode.
You getone complete HTML file in a single code block, then 3 short ideas to extend it.
The prompt
Act as a senior front-end developer and information designer. Build a single-page infographic called "Signal & Screen: 150 Years of How We Connect", an evolution-of-communication-technology timeline for classrooms and presentations. Show six era cards in chronological order: 1876 telephone, 1920 broadcast radio, 1950s home television, 1977 home computer, 1991 World Wide Web, 2007 smartphone. Each card front shows the year, era name, a large emoji illustration and a one-sentence description. Clicking, tapping or pressing Enter or Space flips the card to a back face titled Then vs Now: a Then row and a Now row, each with its own emoji and a short sentence, plus a dark Big shift strip summarizing the change, such as Kilobytes → terabytes.
Rules:
1. Above the cards, a horizontal timeline rail of year buttons that toggle their card; a teal line fills as more cards are flipped.
2. Toolbar with a Next era button that flips cards in order for presenting (also the N key), a Flip all / Reset all toggle and a live counter like 3 of 6 compared.
3. Responsive card grid that fits 360 to 1280 px wide.
4. Palette: cream background, navy ink, coral for Then, teal for Now; system font with a clear type scale and a small legend.
5. Cards are real buttons with aria-pressed, the hidden face gets aria-hidden, arrow keys move focus, focus rings are visible, and prefers-reduced-motion replaces the 3D flip with an instant swap.
6. No external libraries, fonts, images or storage; emoji and CSS only.
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 all six eras and the exact back-face layout means the model writes real content instead of placeholder cards.
- Fixed card height plus a backface-hidden two-face structure makes the 3D flip reliable in every modern browser.
- A presenter Next era control and live counter turn a static graphic into something you can step through on stage.
Paste the prompt into ChatGPT, Claude or Gemini. Save the returned code as timeline.html and open it in any browser, or view it in the chat's preview or canvas panel. Use Next era to reveal cards one by one while presenting.
Common edits
- Swap the six eras for another topic, such as transport, medicine or music formats, keeping the Then, Now and Big shift fields.
- Change the palette variables or add a soft synthesized click with a mute toggle when a card flips.
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
Keep exploring
More like this
Build a Before-and-After Statistics Infographic With Color-Coded Change Arrows
A single HTML infographic comparing two years across nine metrics, showing old and new values, absolute and percent change, and arrows colored by whether up is good.
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 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.
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.
Build an Interactive 30-60-90 Day Onboarding Roadmap Infographic in HTML
You get a single HTML file with a printable 30-60-90 day onboarding roadmap: three color-coded lanes, checkable goals, progress bars and milestone check-ins.
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.