ENGLISH·COURSE API
    Preparing search index...
    • The prize a module redeems once every one of its lessons has earned its ticket.

      Parameters

      • moduleSlug: string

        The module's slug

      Returns
          | "whistle"
          | "harmonica"
          | "megaphone"
          | "drum"
          | "car"
          | "microphone"
          | "kazoo"
          | "spring"
          | "kaleidoscope"
          | "yoyo"
          | "top"
          | "walkie"
          | "tinphone"
          | "crown"
          | "robot"
          | "compass"
          | "xylophone"
          | "maracas"
          | "trumpet"
          | "boomerang"
          | "skate"
          | "popper"
          | "pinwheel"
          | "jackbox"
          | "bell"
          | "duck"
          | "kite"
          | "gift"

      The module's prize, or gift when the slug is not catalogued

      The table lives in code rather than in course content because the prize is a product decision, not course data. A module the table does not know — a new or renamed module folder — still has something to redeem: the gift box.

      prizeForModule("2-vowels"); // "harmonica"
      prizeForModule("11-bonus"); // "gift"