Https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/review-js-fundamentals-by-building-a-gradebook-app/step-4

my code is:

function studentMsg(totalScores, studentScore){
    if(hasPassingGrade(studentScore)){
        return ("Class average:" + getAverage(totalScores)  +".Your grade:"+getGrade(studentScore)  + ".You passed the course.")   
        } else {
        return ("Class average:" + getAverage(totalScores) +".Your grade:"+getGrade(studentScore)  + ".You failed the course.")
  } 
  }
console.log(studentMsg([92, 88, 12, 77, 57, 100, 67, 38, 97, 89], 37));

getting error:
Sorry, your code does not pass. Don’t give up.

Your function call of studentMsg([92, 88, 12, 77, 57, 100, 67, 38, 97, 89], 37) should return the following message: "Class average: 71.7. Your grade: F. You failed the course.".

Hi there!

Create your topic to the challenge step using Help button on the challenge editor. It will display your code properly with a link to the challenge step

The error shows you what the output should be. Compare that to the output of your function and see what’s different.

If you still need help, share your output here.

Please copy your entire code in your reply so we can review it.

hi there!

compairing the correct output vs your out below:

Class average: 71.7. Your grade: F. You failed the course.
Class average:71.7.Your grade:F.You failed the course.

the above one is the correct output. and below one is your code output. look both carefully, the spacing and punctutaion are not same.