Step 3 -build a loan qualification checker

I cannot understand this mistake…
even if I check for the result…

Your getLoanMessage function should return undefined if the applicant’s annual income and credit score do not meet the requirements for a duplex loan.

Hi.

Can you please link to the task. Please also format your code rather than post a picture.

For future reference, when you hit the help button on the task the template will prompt you to add the code if it is too long to do this automatically and will automatically link to the step.

When you enter a code block into a forum post, please 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 (').

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The 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.

Thank you.

image

Does this look right to you?