A simple, elegant Pomodoro timer that runs in your browser. Built with HTML, CSS, and JavaScript.
- 25-minute Pomodoro work sessions
- 5-minute short breaks
- 15-minute long breaks
- Start, pause, and reset functionality
- Visual progress bar
- Session counter
- Browser notifications (with sound fallback)
- Responsive design - works on desktop and mobile
- Modern, clean UI with smooth animations
- Open the timer: Simply open
index.htmlin your web browser - Choose a mode:
- Pomodoro: 25-minute work session
- Short Break: 5-minute break
- Long Break: 15-minute break
- Start the timer: Click the "Start" button
- Pause if needed: Click "Pause" to pause the timer
- Reset: Click "Reset" to reset the current timer
- Track progress: Watch the progress bar and session counter
The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s. It uses a timer to break work into intervals, traditionally 25 minutes in length, separated by short breaks.
- Decide on the task to be done
- Set the Pomodoro timer (25 minutes)
- Work on the task until the timer rings
- Take a short break (5 minutes)
- After four Pomodoros, take a longer break (15 minutes)
This timer works in all modern browsers that support:
- ES6 JavaScript
- CSS Grid and Flexbox
- Web Audio API (for sound notifications)
- Browser Notifications API
pomodoro/
├── index.html # Main HTML file
├── styles.css # CSS styles
├── script.js # JavaScript functionality
└── README.md # This file
You can easily customize the timer by modifying the JavaScript file:
- Change timer durations: Modify the
data-timeattributes in the HTML or the default values in the JavaScript - Customize colors: Update the CSS variables or gradient values
- Add new features: Extend the
PomodoroTimerclass with additional functionality
- Download or clone this repository
- Open
index.htmlin your web browser - Start using the Pomodoro timer!
No installation or build process required - it's ready to use immediately.
- Eliminate distractions: Close unnecessary tabs and apps
- Focus on one task: Don't switch tasks during a Pomodoro
- Take breaks seriously: Use break time to step away from your computer
- Track your sessions: Use the session counter to monitor your productivity
- Adjust as needed: Modify timer durations to fit your workflow
Enjoy your productive Pomodoro sessions! 🍅