Read each card. Sort all 20 cards into the five families. Use the valence electrons and how the element acts.
Tap a card, then tap a family box. Or drag a card to a box. Keyboard: select a card, then press 1 to 5.