This is a web application designed to calculate tax based on user input for income and age. The application follows the requirements provided by Fyle for their Web Development Internship Challenge.
- Tax Calculation: Calculates tax based on user input for income and age according to the provided formula.
- Error Handling: Highlights errors in input fields and provides tooltips for guidance.
- Modal Display: Displays final tax calculation in a modal after submission.
- Responsive Design: Ensures the application is usable across different devices and screen sizes.
- HTML
- CSS
- JavaScript
-
Clone the repository to your local machine:
git clone <repository_link> -
Open the index.html file in your web browser.
-
Enter the required details in the form:
- Gross Annual Income
- Extra Income
- Deductions
- Age
-
Submit the form to calculate tax.
-
Review the modal popup to see the calculated tax.
- The application assumes that the user will enter numerical values for income, extra income, and deductions.
- All the numbers must be Positive.
- The age dropdown is mandatory, and the user must select one of the provided options before submitting the form.
- The Gross annual Income can't be less than Deduction amount.
- Errors
-
Input Field is Mandatory
-
Character input error
-
Negative Number Input error
-
Empty Age Group field Error
-
Annual Income Less than Deduction amount error
Dhruv Jain





