Coddle

How to Play

Coddle is a daily challenge where you guess what a code snippet outputs. Every puzzle drops at 00:00 UTC and is the same for every developer around the world.

The Rules

  1. Read the code snippet carefully.
  2. Pick your answer from 4 options — you think you know what it outputs? Prove it.
  3. You get 3 attempts per challenge:
    • ✅ Correct — you win, and the explanation is revealed.
    • ❌ Wrong — an attempt is consumed. Try again.
    • All 3 wrong? The correct answer and explanation are shown.
  4. Share your result to challenge friends and spark debate.

Why This Is Fun

  • Every challenge has a "wait, really?!" moment — learn something new daily.
  • Topics range from type coercion to closures, parsing quirks to operator gotchas.
  • Short enough for a coffee break, deep enough to spark debate on Dev Twitter.

Example

What does this output?

console.log(typeof null)
A: "null"
B: "object" ✅
C: "undefined"
D: TypeError

TIL typeof null returns "object" — a bug from JS's first implementation that was never fixed.

Sharing Etiquette

After completing a challenge, tap Share to copy your result. It includes a link to coddle.dev so fellow developers can play along. No spoilers — the share text only shows whether you got it right and how many tries it took.

Accessibility

Coddle ships with dark mode by default, full keyboard navigation for the option grid, and screen-reader labels on all interactive elements.

Think you know your language quirks? Prove it — one challenge per day.

Built for developers who love language quirks.
New challenge every UTC day.

Star on GitHub