Bug Hunt

When AI writes your code, reading it is your superpower. Each round is 8 short JavaScript snippets from a casebook of 23: spot what's wrong. Find 6 to earn the Bug Hunter badge.

New to code? Read Read code like a builder first. A self-check saved on this device, not a certificate.

Question 1 of 8

When the server has an error, this crashes with 'Unexpected token <'. Why?

const response = await fetch("/api/orders")
const orders = await response.json()
render(orders)