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


pls help
what is my problem?

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

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

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.

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