Hi Guys im new to this so dont really know how it works
im making a flash-card app and am using a function to determine if the user click the correct card.
at the moment the card are randomly display out of a array i need to to display from 0 in the array to the greatest number in the array, then once the array is at the greatest number go back to 0 and start again.
then once that process is over check is theres a id in the array that has =>3 correct answers take it and remove it from the array and replace it with another card from another array.
this.random = this.cardinsession[Math.floor(Math.random() * this.cardinsession.length)]
this.cardinsession is the array i want to use as my training array.
this.test = _.shuffle(this.CardService.cardList);
this.test is the big array
ill be so greatful for your help.
thanks so much