This project is designed to calculate total tax based on user inputs such as gross annual income, extra income, age group, and deductions. It provides a user-friendly interface for users to input their income and deductions and receive an estimated tax amount. The application used HTML, CSS, and JavaScript for the frontend, allowing for dynamic interaction with users.
- Allows users to input their gross annual income, extra income, age group, and deductions.
- Calculates total tax based on the provided inputs and predefined tax rules.
- Provides a modal to display the calculated tax amount.
- Ensures input validation to handle invalid or missing inputs gracefully.
- Open the index.html file in your web browser.
- Enter your financial information in the respective input fields.
- Click the "Calculate Tax" button to trigger the tax calculation.
- View the calculated tax amount in the modal popup.
To run the project locally, follow these steps:
Clone this repository to your local machine.
Open the index.html file in your web browser.
Start entering your info and test the tax calculation functionality.
- index.html: Main HTML file containing the user interface elements and JavaScript code.
- styles.css: CSS file containing styles for the user interface.
- script.js: JavaScript file containing logic for input validation and tax calculation.
- HTML5
- CSS3
- JavaScript
- Bootstrap