Tell us what’s happening:
Describe your issue in detail here.
I am having a hard time with this one, when i use Switch i hit almost none of what i should.
when i used else if statements i came allot closer
something comes up wrong with my “Bet " and " Hold” and the last 3 card sequences were it mixes them up i’m not checking those boxes. any advice?
**Your code so far**
let count = 0;
function cc(card) {
// Only change code below this line
return "Change Me";
// Only change code above this line
}
cc(2); cc(3); cc(7); cc('K'); cc('A');
**Your browser information:**
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Counting Cards
Link to the challenge: