JavaScript 

Create a while loop with a condition that checks if the currentCard does not have that value 'spade'.

while ( currentCard != 'spade')

use != to shows don't have that value.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.