Stuck in an infinite loop

Stuck in an infinte window prompt loop in one the coding challenges in the Complete JavaScript Course: Build a Real World App from Scratch. Tried to terminate it but the prompt windows make the whole site stuck and can no longer access the code editor to change the code.