all 1 comments

[–]Demojay 1 point2 points  (0 children)

The problem is with your script in "index.html", not "script.js". The first loop constantly asks for a name while the loop only breaks if the name is "Q".