This project is a simple web application that calculates a user's age based on the date they input. The age is displayed up to the specific day, showing years, months, and days.
You can see the live demo here.
- Input fields for day, month, and year.
- Validates if all input fields are filled.
- Calculates the exact age in years, months, and days.
- Displays the result dynamically.
- Clone the repository:
git clone https://github.com/Ckabuo/ageCalculator.git cd ageCalculator - Open
index.htmlin your web browser to run the application.
- Enter the day, month, and year of your birthdate in the respective input fields.
- Click the "Submit" button.
- The calculated age will be displayed below the form.
- HTML
- CSS (Bootstrap)
- JavaScript
The HTML structure for the Age Calculator, including the input form and the display area for the results.
The JavaScript file containing the logic for calculating the age based on the input date.