-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (44 loc) · 1.54 KB
/
index.html
File metadata and controls
49 lines (44 loc) · 1.54 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
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Age Calculator</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div class="container-main">
<section class="section1">
<form>
<form-group>
<label for="day">DAY</label>
<input type="number" name="day" id="day" placeholder="DD">
<p id="err"></p>
</form-group>
<form-group>
<label for="month">MONTH</label>
<input type="number" name="month" id="month" placeholder="MM">
<p id="err"></p>
</form-group>
<form-group>
<label for="year">YEAR</label>
<input type="number" name="year" id="year" placeholder="YYY">
<p id="err"></p>
</form-group>
<button id="submit" type="submit"><img src="./images/icon-arrow.svg" alt="submit"></button>
</form>
</section>
<!--
<section class="section2">
<button id="submit" type="submit"><img src="./images/icon-arrow.svg" alt="submit"></button>
</section> -->
<section class="section3">
<p><span id="Y">--</span>years</p>
<p><span id="M">--</span>months</p>
<p><span id="D">--</span>days</p>
</section>
</div>
<script src="index.js"></script>
</body>
</html>