Snippet drills
Each drill is one short function with exactly one planted bug, like the snippet section of an online assessment. Run the visible tests to see it fail, fix it with the smallest change, then submit against hidden tests. Once it's solved you'll see the bug type and why it happened.
Untimed, one drill at a time, with three hints that get more specific. Each hint costs 5 points.
6 snippets in 20 minutes, no hints, submitted automatically at 0:00, the way an online assessment runs.
Start a timed set →JavaScript drills
- EasyFirst overdue invoiceJavaScript
- EasyFree shipping thresholdJavaScript
- EasyMoving averageJavaScript
- EasyPayment amountJavaScript
- MediumCoupon totalJavaScript
- MediumOrder lines from a formJavaScript
- MediumRemove expired sessionsJavaScript
- MediumTop scorer from a CSVJavaScript
The bug type of each drill stays hidden until you solve it, so the title doesn't give it away.