Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 746 Bytes

File metadata and controls

26 lines (21 loc) · 746 Bytes

Age Calculator 🎂

A simple tool that calculates your exact age in years, months, and days from your date of birth.

Features

  • Date picker for selecting your birth date (restricted to not allow future dates)
  • Calculates and displays precise age broken down into years, months, and days
  • Input validation — alerts if no date is selected or if a future date is entered

Tech Stack

  • HTML5
  • CSS3
  • JavaScript (Vanilla) with the Date object

How to Run

  1. Clone or download this folder.
  2. Open index.html in your browser.
  3. Select your date of birth and click Calculate Age to see your age in years, months, and days.

File Structure

Age_Calculator/
├── index.html
├── style.css
└── script.js