-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (48 loc) · 1.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://kit.fontawesome.com/688304f15c.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="/css/reset.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/index.css" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/images/favicon-32x32.png"
/>
<title>Frontend Mentor | Age calculator app</title>
</head>
<body>
<main class="wrap">
<div class="inputs">
<label for="day">DAY</label>
<input type="number" name="day" id="day" placeholder="DD" />
<label for="month">MONTH</label>
<input type="number" name="month" id="month" placeholder="MM" />
<label for="year">YEAR</label>
<input type="number" name="year" id="year" placeholder="YYYY" />
</div>
<button class="btn"><i class="fa-solid fa-chevron-down"></i></button>
<div class="results">
<p class="result"><span class="results__year"> -- </span>years</p>
<p class="result"><span class="results__month">--</span> months</p>
<p class="result"><span class="results__day">--</span> days</p>
</div>
</main>
<footer class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by
<a href="https://github.com/User850413" target="_blank">최수형</a>.
</footer>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<script src="index.js"></script>
</body>
</html>