Im making a game where you guess a random fruit. I have the fruits in an array but it seems that the user can only enter the array number value and not the string associated with it. How can I fix this so that the guess can equal the string value and not the array numeric position value?
also, my final alert is not working for some reason. Im working on fixing that, but im not sure why its not triggering.