Skip to content

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.

Notifications You must be signed in to change notification settings

Ckabuo/ageCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Age Calculator

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.

Table of Contents

Demo

You can see the live demo here.

Features

  • 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.

Installation

  1. Clone the repository:
    git clone https://github.com/Ckabuo/ageCalculator.git
    cd ageCalculator
  2. Open index.html in your web browser to run the application.

Usage

  1. Enter the day, month, and year of your birthdate in the respective input fields.
  2. Click the "Submit" button.
  3. The calculated age will be displayed below the form.

Technologies Used

  • HTML
  • CSS (Bootstrap)
  • JavaScript

Code Structure

index.html

The HTML structure for the Age Calculator, including the input form and the display area for the results.

index.js

The JavaScript file containing the logic for calculating the age based on the input date.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published