Basic JavaScript - Counting Cards