🌐 Live Demo: Click here to visit site
This is a simple and responsive JavaScript Age Calculator built using HTML, CSS, and JavaScript. It prompts users to enter their birthdate and then calculates the exact age in years, months, and days.
- 📆 User inputs birth day, month, and year
- 🧮 Calculates accurate age including years, months, and days
- 📱 Clean and responsive layout
- 🔘 Interactive button to trigger age calculation
- HTML5
- CSS3 (Responsive layout and button styling)
- JavaScript (Date handling and DOM interaction)
- Clone the repository:
git clone https://github.com/huzaifa-frontend/javascript-age-calculator.git
- Navigate to the project folder:
cd javascript-age-calculator
- Open
index.html
in your browser.
- Prompt-based input for day, month (in any format), and year
- Calculates total age accurately with day/month adjustment
- Error-resistant month parsing (supports abbreviations and numbers)
- Clean, responsive design with center-aligned content
📦 javascript-age-calculator
┣ 📄 index.html
┣ 📄 style.css
┣ 📄 app.js
┣ 📄 README.md
┗ 📄 LICENSE
- Designed & Developed by Muhammad Huzaifa Karim.
- No external libraries used.
This project is licensed under the MIT License - see the LICENSE file for details.
Muhammad Huzaifa Karim
GitHub Profile
This project is deployed via GitHub Pages. Any changes pushed to the main branch will automatically update the live site.
For any queries or collaboration requests, feel free to reach out via GitHub.
© 2025 Muhammad Huzaifa Karim