why my code is not correct
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")
if (creditScore => "minCreditScoreForDuplex")
{return "You qualify for a duplex, condo, and car loan.";}
else if (annualIncome < "minIncomeForDuplex")
if (creditScore < "minCreditScoreForDuplex")
{
"you are not qualify."
}
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
Challenge Information:
Build a Loan Qualification Checker - Step 3