Hướng dẫn thử thách
1 / 7
Step 1
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` |
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵