🌍 Public
Viewing a saved revision (read-only)
d030bfc1768546b68e3fab08118e9474
FCC - 25+5 Clock
This example shows a 25+5 Pomodoro timer with adjustable break and session lengths, a countdown display, and start/stop/reset controls. The React component manages state for session and break values, while a `setInterval` animation updates the displayed time every second and triggers an audio beep when a countdown reaches zero. The interface uses React hooks for state and renders through `ReactDOM` with inline styling. The timer’s display color shifts to red when less than a minute remains, and user adjustments are disabled while the timer is running.
AI-generated descriptionReact Starter code.