Brainlag
  1. Library
  2. Examples
  3. Web

A habit-streak tracker

How streak apps work: turn a list of check-in dates into current and best streaks per habit, with real date maths.

Web15 minPremium

Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.