Counting Cards this is hard could use some help

you are doing a lot of syntax errors

for using if/else if/else you need to use parenthesis and brackets which you are not using

if (...) {
   ...
} else if (...) {
   ...
} else {
   ...
}

to do a comparison you need to use the appropriate operators, ===, ==, !=, >, <, <=, >=

you can’t assign a list of items to a single variable. you need to or put the list in an array, or just assign a single item to the variable

1 Like