Review Javascript Fundamentals by Building a GradeBook app-step4

Guys please help me ,i am already getting output but they asked for ,but output is not running.these are the steps i have taken

function studentMsg(totalScores, studentScore) {
  if(getGrade(studentScore) !== "F"){
return "Class average: " + getAverage(totalScores) + "Your grades" + getGrade(studentScore) + "You pass the course";
}

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

can you give the link to the step please?

why are your two returns so different in terms of punctuation? The 2nd one has periods but the first one doesn’t…

I have added

console.log(studentMsg([92, 88, 12, 77, 57, 100, 67, 38, 97, 89], 37));
console.log("Class average: 71.7. Your grade: F. You failed the course.")
console.log(studentMsg([56, 23, 89, 42, 75, 11, 68, 34, 91, 19], 100));
console.log("Class average: 50.8. Your grade: A++. You passed the course.")

at the bottom to test your function and confront with the expected output

Class average: 71.7. Your grades: F. You failed the course.
Class average: 71.7. Your grade: F. You failed the course.
Class average: 50.8Your gradesA++You pass the course
Class average: 50.8. Your grade: A++. You passed the course.

let’s see a couple at a time highlighting the differences

Class average: 71.7. Your grades: F. You failed the course.
                               |
Class average: 71.7. Your grade: F. You failed the course.
Class average: 50.8Your gradesA++You pass the course
                   ||               ||        ||           |
Class average: 50.8. Your grade: A++. You passed the course.

i fix it but still they are saying ur output is not right

post your updated code.

thankyou for your help