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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.