Build an Interactive Yes/No Troubleshooting Flowchart Infographic in HTML

A single HTML file that turns a dense Wi-Fi troubleshooting flowchart into a step-by-step yes/no guide with a live branch map, path trail and restart button.

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

The prompt

Prompt
Act as a senior information designer who also writes clean front-end code.

Build Signal Path, an interactive decision-tree infographic that helps people fix home Wi-Fi with no internet. Users answer one yes/no question at a time and follow the branch until they reach a fix.

Content: write a real tree of 6 to 7 questions and 7 to 8 solutions. Cover the router Wi-Fi light, power, whether other devices get online, whether the network name appears, "connected, no internet", the modem online light, and recent restarts. Each solution gets a title, a time estimate, 3 to 4 numbered steps and a fallback note.

Rules:
1. Show one question card at a time with large Yes and No buttons. Add Back and Restart buttons. Keyboard: Y, N, B or Backspace, and R.
2. Beside the card, draw the full flowchart as an indented branch map labeled Yes and No. Highlight the visited path and outline the current node. Below the card, list the answers given so far.
3. Show a step counter and a progress bar. Solution cards look clearly different, with a green "Fix found" label.
4. Use a warm off-white background, navy text, teal accent, green for yes and coral for no. Use system fonts and a clear type scale. Use two columns from 900px and one column below that.
5. Use a subtle fade-in for new cards, and turn it off under prefers-reduced-motion. Add visible focus rings and an aria-live region.

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: Signal Path, a yes/no flowchart for fixing home Wi-Fi.

Answer each question with the Yes or No buttons, or press Y and N. The branch map on the right lights up your route, and the trail below the card lists every answer. When you reach a fix, you get numbered steps and a time estimate. Press B to step back or R to restart. Try the "No internet" branch, then back up and take the modem path.

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

Tips and common edits

Why this works

  • Asking for a real tree with set question and fix counts produces finished, believable content instead of placeholder branches.
  • Pairing one-question cards with a full highlighted map keeps the guide simple and still shows the whole flowchart.
  • Spelling out the keys, focus rings, aria-live and reduced-motion rules makes the guide accessible on the first try.

Paste into ChatGPT, Claude or Gemini. Save the code as signal-path.html and open it in any browser, or use the chat's preview/canvas. To use another topic, swap the question and solution text in the data object.

Common edits

  • Change the topic to printer jams, a car that won't start or a failing app login by rewriting the questions and solutions.
  • Add a "Did this fix it?" step on each solution card that sends people to an escalation branch.

Prompt details

By
Prompts-GPT editors
Published

Did this prompt work?

Keep exploring

More in Infographics