Need help debugging Letter and Image from sign language list

I have a student who is trying to populate the Letter and accompanying sign language image. Only “A” image is showing up. Any suggestions?

The conditionals need to be in this format:

if (filteredLetterList[i] == "A" || filteredLetterList[i] == "a") {
      appendItem(filteredImageList, sign[1]);

not

if (filteredLetterList[i] == ("A" || "a")) {
      appendItem(filteredImageList, sign[1]);