Build a Loan Qualification Checker - Step 3

Tell us what’s happening:

Can someone help me explain to me how to return a string in a function i try using my method like creating new variable and assigning the text and its not working i think i misunderstood the logic and i cant understand it

Your code so far

const minIncomeForDuplex = 60000;
const minCreditScoreForDuplex = 700;

const minIncomeForCondo = 45000;
const minCreditScoreForCondo = 680;

const minIncomeForCar = 30000;
const minCreditScoreForCar = 650;


// User Editable Region

function getLoanMessage(annualIncome, creditScore) {
 if(annualIncome >= minIncomeForDuplex && creditScore >= mindCreditScoreForDuplex) {
    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/138.0.0.0 Safari/537.36

Challenge Information:

Build a Loan Qualification Checker - Step 3

You have a typo here

mindCreditScoreForDu