Diese Lektion gibt es vorerst nur auf Englisch.
Decide, then reuse
A profile page decides which badge to show, and the same bonus rule appears on three different pages. Conditions make the decisions; functions let you write a rule once and reuse it everywhere.