Build a gradebook app issue

As you can see NO 18 and 20 checks are not passing and as you can see im passing hasPassingGrade(“A”); to the console . where am i going wrong ?

Also i can get the opposite with another approach :
no 18 and 20 checks Are passing but 19 is not passing (“F” is not false but it is)

Screenshots don’t usually help us help you. Please post your code and a link to the challenge you are coding.

If you have a question about a specific challenge or need some help as it relates to your written code for that challenge, you can click the Get Help > Ask for Help button located on the challenge after you have attempted to submit at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Alternately, you can copy/paste your code as a reply to this post and precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.