Build a Loan Qualification Checker - Step 3

Tell us what’s happening:

i think my code are correct, what do you think are the problem

Your code so far


// User Editable Region

const minIncomeForDuplex = 75000;
const minCreditScoreForDuplex = 700;

const minIncomeForCondo = 50000;
const minCreditScoreForCondo = 650;

const minIncomeForCar = 30000;
const minCreditScoreForCar = 600;


function getLoanMessage(annualIncome, creditScore) {
  if (annualIncome >= minIncomeForDuplex && creditScore >= minCreditScoreForDuplex) {
    return "You qualify for a duplex, condo, and car loan.";
  }
}


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a Loan Qualification Checker - Step 3

Your code is correct but you have changed the seed code. Reset the step and try again, only doing what is asked.

1 Like

thank youuuu! it really help me

1 Like