I am quite new with the whole coding thing. I do not quite understand this exercise. It's working but it says that the while loop is guessing a card, then seeing if it is a Spade, over and over, until it finds one.
But isn't that just because of the console.log statement outside of the while loop? Am I overthinking things? Is the while loop supposed to get tell me when it found a spade?
This is what it looks like:
Can someone please help?
Exercise: Arrays and Loops, while loops, page 6/7