-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (41 loc) · 1.34 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<title>Age calculator app</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="top">
<label id="1">DAY<input type="number" id="day" placeholder="DD" /></label>
<label id="2">MONTH<input type="number" id="month" placeholder="MM" /></label>
<label id="3">YEAR<input type="number" id="year" placeholder="YYYY" /></label>
</div>
<div class="mid">
<div class="line"></div>
<button onclick="saveData()"><svg xmlns="http://www.w3.org/2000/svg" width="46" height="44" viewBox="0 0 46 44">
<g fill="none" stroke="#FFF" stroke-width="2">
<path d="M1 22.019C8.333 21.686 23 25.616 23 44M23 44V0M45 22.019C37.667 21.686 23 25.616 23 44" />
</g>
</svg>
</button>
</div>
<div class="bottom">
<div class="left">
<div id="years">--</div>
<div id="months">--</div>
<div id="days">--</div>
</div>
<div class="right">
<b>years</b>
<b>months</b>
<b>days</b>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>