<html>
<head>
<title>Age Calculator</title>
<script src="https://learnvaly.org/tools/age-calculator.js"></script>
<link href="https://www.learnvaly.org/tools/age-calculator.css" rel="stylesheet"></link>
</head>
<body>
<center>
<div class="container">
<form>
<div class="base">
<div class="enter">
<h4>Age Calculator</h4>
</div>
<div class="block">
<p class="title">Date</p>
<input id="date" maxlength="2" minlength="1" name="date" placeholder="dd" required="required" type="text" />
</div>
<div class="block">
<p class="title">Month</p>
<input id="month" maxlength="2" minlength="1" name="month" placeholder="mm" required="required" type="text" />
</div>
<div class="block">
<p class="title">Year</p>
<input id="year" maxlength="4" minlength="4" name="year" placeholder="yyyy" required="required" type="text" />
</div>
</div>
<div class="base">
<div class="enter">
<input name="submit" onclick="age()" type="button" value="Submit" />
</div>
</div>
<div id="age"></div>
</form>
</div>
</center>
</body>
</html>
একটি মন্তব্য পোস্ট করুন
Leave with comments