Build a Playful Animated 404 Error Page with SVG Art and Site Search
A complete single-file 404 page with an original animated hot-air balloon SVG, a live-filtering search box and helpful recovery links that respect reduced motion.
The prompt
You are a senior product designer who also writes clean front-end code. Build a 404 page for Fernway Supply Co., a small garden-tools shop, themed around a lost hot-air balloon that has drifted off the map. The page pairs an original inline SVG illustration with practical ways to get back on track. Rules: 1) Illustration: an SVG scene with sky, drifting clouds, rolling hills, a signpost reading 404 and a striped balloon with a worried face that gently bobs. Clicking, tapping or pressing Enter or Space on the balloon sends a gust animation and swaps a funny caption. 2) Copy: eyebrow 'Error 404', headline 'This page drifted off the map.', and a line showing the missing path /garden/wintr-bulbs. 3) A search-style input with no form element that filters a built-in list of 12 site pages as you type, shows a live result count, opens the first match on Enter, and gets focus when the user presses the slash key. 4) Four popular-destination cards plus header nav. Clicks show a friendly status message instead of navigating. 5) Palette: cream background, navy ink, coral accent, sage green. Use a system font stack and a clear type scale, two columns above 860px and stacked below. 6) Turn off all animation under prefers-reduced-motion. Keep visible focus rings and AA contrast, and use no external files, fonts or storage. 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 the exact copy, palette and breakpoint stops the model from guessing, so the page looks finished on the first try.
- Asking for search without a form element keeps it working in sandboxes and previews where form submission is blocked.
- A reduced-motion rule plus keyboard access to the balloon makes the playful part accessible rather than decorative noise.
Paste the prompt into ChatGPT, Claude or Gemini. Save the returned code as 404.html and open it in any browser, or view it in the chat's preview or canvas panel.
Common edits
- Swap the brand, the missing path and the 12 page names for your own site's routes, then point the cards at real URLs.
- Change the theme: replace the balloon with a lost paper boat or kite, and recolor the coral and sage variables to match your brand.
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
Keep exploring
More like this
Build a Light/Dark Mode Toggle Demo Page with Smooth Theme Switching
A single HTML page with a polished light/dark theme switch built on CSS custom properties that defaults to the system theme, honors reduced motion, and uses no storage.
Build a Responsive Navigation Bar With Mega Menu and Mobile Drawer in HTML
A complete single-file site header with a hover, click and arrow-key mega menu on desktop and an animated hamburger drawer with accordions on small screens.
Build a Responsive Three-Tier Pricing Section with Monthly/Yearly Toggle
A single HTML file with three pricing cards, a working billing switch that recalculates prices, a highlighted recommended plan and accessible feature checkmarks.
Build an Accessible Modal, Toast and Tooltip Showcase in One HTML File
You get a single HTML page with a modal dialog, toast notifications and tooltips. All three use focus trapping, Escape handling, correct ARIA roles and live-region announcements.
Design an Accessible Settings Page with Toggles, Segmented Controls and Sliders
A ready-to-paste prompt that builds a polished single-file settings page with custom accessible toggles, segmented controls and sliders that update a live reading preview.
Build a Multi-Step Onboarding Wizard with Stepper and Inline Validation
A four-step onboarding wizard in one HTML file, with a clickable stepper, progress bar, inline validation, a review screen, and keyboard and swipe navigation.
- Build a Button and Form Field States Reference Sheet in a Single HTML File
- Build a Color Blindness Simulator That Previews a Palette on a Dashboard Card
- Build a Drag-to-Arrange Brand Mood Board with Color, Texture and Type Tiles
- Build a Draggable Color Harmony Wheel With Live UI Preview in One HTML File
- Build a Live Accessible Color Palette Builder with a WCAG Contrast Matrix
- Build a SaaS Landing Page Hero with a CSS-Drawn Product Mockup