-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (23 loc) · 755 Bytes
/
index.html
File metadata and controls
28 lines (23 loc) · 755 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form id="birth">
<h2 id="bM">What month was you born? Please enter number ex: MM = 02</h2>
<input name="birthMonth" type="text" size="20" id="birthMon">
<h2 id="bD">What day you was born? Please enter number ex: DD = 02</h2>
<input name="birthday" type="text" size="20" id="birthDa">
<h2 id="bY">What year was your birth? Please enter number ex: YYYY = 1990</h2>
<input name="birthYear" type="text" size="20" id="birthYe">
</form>
<div id="btnAction">
<button onclick="outputbirth()">Submit</button>
<button onclick="submitBday()">View Age</button>
</div>
<p id="output"></p>
<p id="age"></p>
<script type="text/javascript" src="scripts/scripts.js"></script>
</body>
</html>