-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (48 loc) · 1.65 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
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<title>Frontend Mentor | Age calculator app</title>
</head>
<body>
<div class="card">
<div class="container">
<form>
<div class="form_container">
<div class="block">
<label for="day">Dia</label>
<input type="number" id="day" placeholder="DD">
<small></small>
</div>
<div class="block">
<label for="month">Mês</label>
<input type="number" id="month" placeholder="MM">
<small></small>
</div>
<div class="block">
<label for="year">Ano</label>
<input type="number" id="year" placeholder="AAAA">
<small></small>
</div>
</div>
<div class="submit_block">
<hr>
<button type="submit" class="submit_btn"><img src="assets/images/icon-arrow.svg" alt="icon"></button>
</div>
</form>
<div class="output">
<h1><span id="YY">--</span>anos</h1>
<h1><span id="MM">--</span>meses</h1>
<h1><span id="DD">--</span>dias</h1>
</div>
</div>
</div>
<script src="app.js" defer></script>
</body>
</html>