TypeScript Through Problem Solving

Loading...
FreeFree topic, included on the free plan.
5 decks50 cards

About this topic

A problem-first introduction to TypeScript. Instead of reading pages of syntax, you implement one small function per card and watch the tests go green.

The topic builds core fluency in five stages, each a themed deck that grows in difficulty:

  1. Values & Strings — indexing, iteration, and transformation on the most fundamental type.
  2. Arrays — slicing, mapping, filtering, and reshaping sequences.
  3. Objects & Maps — building, transforming, and aggregating key/value data.
  4. Functions & Closures — higher-order functions, captured state, and composition.
  5. Control Flow & Recursion — iterative and recursive problem decomposition.

Every card is a small function you implement against a test suite you run in the browser. Solutions are one click away when you're stuck, and the edge cases in each test teach as much as the happy path. By the end you'll have the everyday fluency every later TypeScript topic assumes.

Decks