The Tax Calculator is a tool designed to calculate income tax based on the provided inputs such as gross annual income, extra income, deductions, and age group. It follows specific tax calculation rules outlined below:
- Income under 8 Lakhs: Not taxed.
- Income over 8 Lakhs:
- Tax rate based on age group:
- <40: 30%
- ≥40 but <60: 40%
- ≥60: 10%
- Tax rate based on age group:
- Age: 34
- Income: 40 Lakhs
- No deductions
- Tax Calculation: 0.3 * (40 - 8) = 0.3 * 32 = 9.6 Lakhs
- Allows input of gross annual income, extra income, deductions, and age group.
- Error handling for incorrect input values.
- Age dropdown field with predefined options.
- Highlight error icon for mandatory fields and incorrect inputs.
- Submit button displays a modal with final calculated values.
- Enter the required details in the input fields.
- Ensure to select the correct age group from the dropdown.
- Click on the submit button to calculate the tax.
- Review the modal popup displaying the calculated tax details.
- Clone the repository:
git clone <repository_url>
- Open the project directory.
- Open
index.html
in your web browser.
- HTML
- CSS
- JavaScript