Hello all,
Can someone please review my code in addition to providing feedback?
Much thanks!
Welcome back, @Darnell_X_Daniell
Congratulations! Your code works as intended.
There are just two simplifications:
cat instead of catInfo[index] in the for...of loop (line 26)index instead of cat in the if statement (and change the right side accordingly). Can you find out what I mean?All the best,
Michael