💻 Coding & Development

Pomodoro Timer

📁 Coding & Development 👤 Contributed by @f 🗓️ Updated
The prompt
Create a comprehensive pomodoro timer app using HTML5, CSS3 and JavaScript following the time management technique. Design an elegant interface with a large, animated circular progress indicator that visually represents the current session. Allow customization of work intervals (default ${Work Intervals:25min}), short breaks (default ${Short Breaks:5min}), and long breaks (default ${Long Breaks:15min}). Include a task list integration where users can associate pomodoro sessions with specific tasks. Add configurable sound notifications for interval transitions with volume control. Implement detailed statistics tracking daily/weekly productivity with visual charts. Use localStorage to persist settings and history between sessions. Make the app installable as a PWA with offline support and notifications. Add keyboard shortcuts for quick timer control (start/pause/reset). Include multiple theme options with customizable colors and fonts. Add a focus mode that blocks distractions during work intervals.

Example outputs

Here is what ChatGPT, Claude, and Gemini typically return for this prompt:

🚀 ChatGPT

I'll create a comprehensive Pomodoro timer app for you! This will include a beautiful circular progress indicator using SVG and CSS animations, customizable intervals (25/5/15 minutes by default), and a task management system. The app will feature localStorage for persistence, PWA capabilities with a manifest.json and service worker for offline support, and detailed statistics using Chart.js. I'll implement keyboard shortcuts (spacebar for start/pause, 'r' for reset), multiple color themes, and optional focus mode with website blocking capabilities.

✨ Claude

I can help you build this Pomodoro timer, though I should note a few considerations: the "focus mode that blocks distractions" would be limited to the app itself since browsers can't block other websites for security reasons. I'll create the core timer with SVG-based circular progress, customizable intervals, task tracking, and statistics visualizations. The PWA functionality will require hosting on HTTPS, and browser notifications need user permission. I'll provide the HTML/CSS/JS with detailed comments explaining each feature and its limitations.

💎 Gemini

I'll provide a complete Pomodoro timer implementation with an animated SVG circle for the countdown, customizable work/break intervals defaulting to 25/5/15 minutes, and integrated task list functionality. The app will use the Web Audio API for notification sounds, localStorage for data persistence, and include a service worker for PWA installation. Statistics will be rendered using the Chart.js library for daily/weekly productivity tracking, with keyboard shortcuts and theme switching implemented via CSS custom properties.

How to use this prompt

Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.

Which AI model works best

Claude Opus 4 and Sonnet 4.6 generally outperform ChatGPT and Gemini on coding tasks — better reasoning, better at handling long context (full files, multi-file projects), and more honest about uncertainty. ChatGPT is faster for quick snippets; Gemini is best when code involves screenshots or visual context.

How to customize this prompt

Swap the language mentioned in the prompt (Python, JavaScript, etc.) for whichever stack you're on. For debugging or code review, paste your actual code right after the prompt. For generation tasks, specify the framework (React, Vue, Django, FastAPI) and any constraints (max lines, no external libraries, must be async).

Common use cases

  • Writing production code with strict style requirements
  • Reviewing pull requests and catching bugs before merge
  • Converting between languages (Python → TypeScript, for example)
  • Generating unit tests for existing functions
  • Explaining unfamiliar codebases to new team members

Variations

Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).

Related prompts