Build a stopwatch widget which can measure how much time has passed. It shows the current timer and has two buttons underneath: "Start/Stop" and "Reset".
You are free to exercise your creativity to style the appearance of the stopwatch. You can try out Google's stopwatch widget for inspiration and an example.
The official solutions record the elapsed time since the last timer tick when Stop is pressed. The displayed time includes time between timer callbacks.
The elapsed time is displayed to two-digit hundredths of a second. The published checks cover exact second, minute, and hour boundaries to verify that each completed unit rolls over correctly.
The Angular solution preserves the total elapsed duration when formatting it for display. The format calculation previously modified the running total.