Codecademy teaches programming through interactive in-browser exercises, with badges marking course milestones and a streak system tracking weekly learning consistency. Its companion app, Codecademy Go, syncs practice and progress so short mobile sessions count toward the same path.
The choice of a weekly streak is quietly important. A daily chain breaks the first time life intervenes; a weekly target forgives a missed day while still asking for regularity, which fits how adults actually study around jobs. Mobile micro-practice fills the gaps between longer coding sessions.
The design lesson: match streak granularity to a realistic cadence for the behaviour. The right unit of consistency is the one your users can genuinely sustain, not the most aggressive one you can display.
