Quiz game, help

Quiz game, help
0.0 0

#1

Okay okay, im working on some project for myself, but im stick a bit.Would anyone be so kind, and check my codepen. When i click the YES button, it should start looping from 0 in my “truthy” array, but for some reason it takes the last position of my array.


#2

It start from the first element but it does not exit the loop, so the loop keep going since the last value is reached^^
Just add a return and it will works :slight_smile: