Assignment 1 function gradeQuiz(candidateAnswers) not grading correctly

Hi everyone, here’s my link:

The code prints to the console perfectly, so I’m nearly there - but it is not grading the candidateAnswers correctly. i.e., if I input 5 incorrect answers, it says it’s 100% correct.

I understand that this means my code in the function gradeQuiz(candidateAnswers) must be incorrect, but for the life of me I can’t tell what is wrong with it and I’ve been hours at this last stage. Can anyone take a look and give me a hint?

Thanks so much!!

I got it! All I did was forget to put () after toLowerCase()! Thanks @terranceweeden for the videos and feedback here.