6. while Loops Problem with this task ru/ua/en


#1


pls help
what is my problem?


#2

I suggest you take the currentCard variable close to the cards variable.

var cards = ['Diamond', 'Spade', 'Heart', 'Club'];
var currentCard = 'Heart';

#3

You shouldn't have all that code after line 3, it is confusing the code checker.

Did the exercise dump that code in for you? If so, I would strongly suggest using the "Report a Bug" option there on the left.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.