code to Automatically calculate the age

Posted in: Newspaper
Post count: 43

I have code to Automatically calculate the age after typing the birth date?
but
what we need is, to show age with no input of birth date, but we will give a fixed birth date in code itself.
it should show age for fixed birth date.

Post count: 43

Here the code I have

<html>
<head>
<title>Exact Age Calculator</title>
<link rel=’stylesheet’ href=’style.css’/>
<script src=”https://code.jquery.com/jquery-latest.min.js”></script&gt;
<script src=’script.js’></script>
</head>
<body>
<div id=”main_container”>
<div id=”birth_date_input”>Birth Date*: <input type=”date” id=”birth_date”></div>
<br/>
<div id=”calculate”>Calculate your age**</div>

<div id=”age_container”><span id=”exact_age”>Age</span></div>
<p>* The year here is 365 days and the month here is 30 days, that means your birthday may not mean you will be 0 days old.</br>
**Don’t worry I will not share your input.
</p>
</p>
</div>
</body>
</html>

Post count: 35449

Hi,

Please notice that third part of code or plugins are not covered by the theme support -> https://forum.tagdiv.com/support-policy-2/ for this you nee custom work, a developer that can handle it, if you want want you can make a request here , and one of our developers will check your problem.

Thank you for your understanding!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.