I want it to go on to the next element in the array in a javascript quiz

前端 未结 2 1564
余生分开走
余生分开走 2021-01-23 08:27

So I have a bit of code, that once it finishes one question it stops is there anyway to once you pick a question and finish the question and get it right it goes on to the next

2条回答
  •  借酒劲吻你
    2021-01-23 09:07

    Sorry, but I did not understand your question clearly. Could you tell me more about it?

    If you mean that when you try to type answer option in number and it never returns true then your compared the number and the "correct" string.

    You should try to compare the same data type to get the desired result.

提交回复
热议问题