💻 Programmierung & Entwicklung
Habit Tracker
Beispiel-Ausgaben
So antworten ChatGPT, Claude und Gemini typischerweise auf diesen Prompt:
I'll help you create a comprehensive habit tracking application! Let's start with the HTML structure featuring a navigation bar with daily/weekly/monthly views, a habit creation modal with fields for name, frequency (daily/weekly), reminder times, and target goals. We'll use CSS Grid for the calendar layout with color-coded streaks, implement localStorage for data persistence, and Chart.js for visualizing progress trends. The interface will include animated confetti effects for milestone achievements, a badge system for gamification, and responsive breakpoints for mobile optimization.
This is quite an ambitious project that touches on multiple complex features. I'd recommend breaking this into phases: start with core habit tracking (add/edit habits, daily check-ins, basic streak counting), then layer in visualization (Chart.js or D3.js for graphs), and finally add advanced features like gamification. For a production app, you'd also want to consider user authentication and cloud sync rather than just local storage. I can provide a foundational implementation with the essential features, but implementing all of these comprehensively would result in thousands of lines of code.
I can provide a foundational habit tracker with HTML/CSS/JavaScript. The implementation will include a basic interface with habit creation forms, local storage for data persistence, and simple streak counters using date calculations. For production-ready features like calendar integration (Google Calendar API), advanced data visualization (D3.js or Chart.js), and comprehensive gamification systems, you'll need additional libraries and potentially backend infrastructure. I'll focus on a functional prototype with core tracking features, basic statistics, and mobile-responsive design using CSS Flexbox and media queries.
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
Claude Opus 4 und Sonnet 4.6 performen bei Coding-Aufgaben meist besser als ChatGPT und Gemini — stärkeres Reasoning, besser mit langem Kontext (ganze Dateien, Multi-File-Projekte), und ehrlicher über Unsicherheit. ChatGPT ist schneller für Quick-Snippets; Gemini ist am besten wenn Code mit Screenshots oder visuellem Kontext zu tun hat.
Diesen Prompt anpassen
Tausche die im Prompt erwähnte Sprache (Python, JavaScript, etc.) gegen deinen Stack. Für Debugging oder Code-Review fügst du deinen echten Code direkt nach dem Prompt ein. Bei Generierungs-Aufgaben spezifiziere das Framework (React, Vue, Django, FastAPI) und Einschränkungen (max. Zeilen, keine externen Libraries, muss async sein).
Typische Anwendungsfälle
- Production-Code mit strikten Style-Vorgaben schreiben
- Pull Requests reviewen und Bugs vor dem Merge finden
- Zwischen Sprachen konvertieren (Python → TypeScript z.B.)
- Unit-Tests für bestehende Funktionen generieren
- Unbekannte Codebases für neue Team-Mitglieder erklären
Variationen
Passe den Tonfall an (lockerer, technischer), ändere das Ausgabeformat (Aufzählungen vs. Absätze) oder füge Einschränkungen hinzu (Wortlimits, Zielgruppe).