Test your skills: JSON - Learn web development | MDN

Hello all,
Can someone please review my code in addition to providing feedback?

link

Much thanks!

Welcome back, @Darnell_X_Daniell

Congratulations! Your code works as intended.

There are just two simplifications:

  • Use cat instead of catInfo[index] in the for...of loop (line 26)
  • Use 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