🛠️ Tools & Produktivität

Currency Exchange Calculator

📁 Tools & Produktivität 👤 Beigetragen von @f 🗓️ Aktualisiert
Der Prompt
Develop a comprehensive currency converter using HTML5, CSS3, JavaScript and a reliable Exchange Rate API. Create a clean, intuitive interface with prominent input fields and currency selectors. Implement real-time exchange rates with timestamp indicators showing data freshness. Support 170+ global currencies including crypto with appropriate symbols and formatting. Maintain a conversion history log with timestamps and rate information. Allow users to bookmark favorite currency pairs for quick access. Generate interactive historical rate charts with customizable date ranges. Implement offline functionality using cached exchange rates with clear staleness indicators. Add a built-in calculator for complex conversions and arithmetic operations. Create rate alerts for target exchange rates with optional notifications. Include side-by-side comparison of different provider rates when available. Support printing and exporting conversion results in multiple formats (PDF, CSV, JSON).

Beispiel-Ausgaben

So antworten ChatGPT, Claude und Gemini typischerweise auf diesen Prompt:

🚀 ChatGPT

I'll help you build a comprehensive currency converter! Let's start with the HTML structure featuring dual currency selectors and input fields, then implement JavaScript to fetch real-time rates from an API like ExchangeRate-API or Fixer.io. We'll use localStorage for conversion history and favorites, Chart.js for historical rate visualization, and service workers for offline caching. I'll include a calculator module, rate alert system using the Notification API, and export functions leveraging jsPDF and PapaParse libraries.

✨ Claude

This is quite an ambitious project with multiple interconnected features. I'd recommend building this incrementally: start with core conversion functionality using a free tier API (ExchangeRate-API offers 1,500 requests/month), then layer in history tracking and favorites. Some concerns: rate alerts with notifications require user permissions and persistent background checks, and comparing multiple provider rates may be limited by API costs. I can provide starter code for the MVP, but note that full cryptocurrency support and multi-provider comparison significantly increase complexity.

💎 Gemini

Here's a modular approach using the ExchangeRate-API (free tier supports 170+ currencies). The interface uses CSS Grid for responsive layout, Fetch API with error handling for rate retrieval, and IndexedDB for storing history and cached rates. For charts, integrate Chart.js with historical data endpoints. Service workers enable offline mode by serving cached rates with timestamps. Calculator functionality uses JavaScript's eval() alternative (Function constructor) for security. Export features leverage browser APIs: window.print() for PDF, Blob API for CSV/JSON downloads.

So nutzt du diesen Prompt

Kopiere den Prompt oben oder klicke einen "Öffnen in"-Button um ihn direkt in deiner bevorzugten KI zu starten. Du kannst den Text dann an deinen Anwendungsfall anpassen — z.B. Platzhalter wie [dein Thema] durch echten Kontext ersetzen.

Welches KI-Modell funktioniert am besten

ChatGPT, Claude und Gemini liefern alle gute Ergebnisse für diese Art von Prompt. Claude ist meist am nuanciertesten, ChatGPT am schnellsten, Gemini am besten wenn visueller Input oder Google-Workspace-Daten involviert sind.

Diesen Prompt anpassen

Passe den Prompt an deinen konkreten Use-Case an. Ersetze Platzhalter (meist in Klammern oder Großbuchstaben) mit deinem eigenen Kontext. Je mehr Details du lieferst, desto präziser die Antwort.

Typische Anwendungsfälle

  • In ChatGPT, Claude oder Gemini sofort einsetzen
  • An dein spezifisches Projekt oder Branche anpassen
  • Als Startpunkt für deinen eigenen benutzerdefinierten Prompt nutzen
  • Mit verschiedenen Models vergleichen um das beste für deinen Fall zu finden
  • Im Team teilen als Standard-Workflow

Variationen

Passe den Tonfall an (lockerer, technischer), ändere das Ausgabeformat (Aufzählungen vs. Absätze) oder füge Einschränkungen hinzu (Wortlimits, Zielgruppe).

Verwandte Prompts