⛳ Code Golf Quests

Write the shortest expression. Hit every ✅, reject every ❌.

Two quests, one page

Switch between Regex Golf and CSS Selector Golf using the tabs above. Each has 10 progressive levels with live validation, hints, and star scoring by length. Progress is saved locally. Use Ctrl+←/→ to change levels.

Level

Par: chars

/ /
Type a regex…
Length: 0

✅ Must match

❌ Must NOT match

Level

Par: chars

CSS
Type a selector…
Length: 0

Rendered

Source