-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (33 loc) · 1.64 KB
/
index.html
File metadata and controls
38 lines (33 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description"
content="Calculate your age accurately in years, months, and days using this basic Age Calculator built with JavaScript." />
<meta name="keywords"
content="age calculator, calculate age, JavaScript age tool, basic calculator, birthday calculator" />
<meta property="og:title" content="Age Calculator" />
<meta property="og:description"
content="Calculate your age accurately in years, months, and days using this basic Age Calculator built with JavaScript." />
<meta property="og:image" content="https://coderespite.com/image/js-projects/age-calculator.png" />
<meta property="og:url" content="https://coderespite.com/projects/js-projects/age-calculator" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Age Calculator" />
<meta name="twitter:description"
content="Calculate your age accurately in years, months, and days using this basic Age Calculator built with JavaScript." />
<meta name="twitter:image" content="https://coderespite.com/image/js-projects/age-calculator.png" />
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Age Calculator</title>
</head>
<body>
<main>
<h1 id="title">Age Calculator</h1>
<label for="dob">Enter you date of birth</label>
<input type="date" name="" id="dob">
<button id="calculate">Calculate Age</button>
<h3 id="output"></h3>
</main>
<script src="script.js"></script>
</body>
</html>