‹ All games Game guideBug Hunt: full rules, strategy tips and FAQ
- Bug
- 01/--
- Lives
- Score
- 0000
Bug Hunt
Every snippet has one buggy line. Read what it should do, then tap the line that breaks it before the clock runs out.
Sponsored · doesn't affect scores
Advertise hereYour logo here, on every game · from $350/mo · Book a cell on skillxtube.com
Enjoying Bug Hunt?
Ideas or bugs? →Quick tips
- Run the example. Mentally run the example from the goal through each line. The bug is where the value goes wrong.
- Check the boundaries. <= vs <, range(n) vs range(1, n + 1): limits are where most bugs hide.
- Watch the types. Form input is text: "20" + 5 is "205" in JavaScript.
- Async needs await. A fetch without await gives a Promise, not a response.
- Spot copy-paste. Two similar lines where one variable didn't get renamed is a classic.
Sponsored · doesn't affect scores
Your logo · $199/mo