curriculum/challenges/english/blocks/workshop-loan-qualification-checker/66c8ba41a77db20a93f9d7a1.md
In this workshop, you'll review JavaScript conditionals by building a loan qualification checker app.
The app will check whether the user is eligible for a duplex, car, and condo loan based on their annual income and credit score. A credit score is a number that represents how good you are at managing borrowed money.
To get started, create the following variables and values.
| Variable Name | Value |
|---|---|
minIncomeForDuplex | 60000 |
minCreditScoreForDuplex | 700 |
minIncomeForCondo | 45000 |
minCreditScoreForCondo | 680 |
minIncomeForCar | 30000 |
minCreditScoreForCar | 650 |
You should create a minIncomeForDuplex variable set to 60000.
assert.equal(minIncomeForDuplex, 60000);
You should create a minCreditScoreForDuplex set to 700.
assert.equal(minCreditScoreForDuplex, 700);
You should create a minIncomeForCar variable set to 30000.
assert.equal(minIncomeForCar, 30000);
You should create a minCreditScoreForCar variable set to 650.
assert.equal(minCreditScoreForCar, 650);
You should create a minIncomeForCondo variable set to 45000.
assert.equal(minIncomeForCondo, 45000);
You should create a minCreditScoreForCondo variable set to 680.
assert.equal(minCreditScoreForCondo, 680);
--fcc-editable-region--
--fcc-editable-region--