calculateAge
function is called which calculates the age based on the difference between the current date and the birthdate entered by the user. The result is displayed in a span element with an id of "age".
Age Calculator
Enter your birth date:
Your age is: