-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (63 loc) · 2.58 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
<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=Outfit:wght@400;700&family=Poppins:ital,wght@0,400;0,700;0,800;1,700;1,800&display=swap" rel="stylesheet">
<title>Frontend Mentor | Age calculator app</title>
</head>
<body>
<main>
<div class="box-container">
<form action="#">
<label for="day">DAY<br><br>
<input type="text" id="day" name="day" placeholder="DD"></label>
<label for="month">MONTH<br><br>
<input type="text" id="month" name="month" placeholder="MM"></label>
<label for="year">YEAR<br><br>
<input type="text" id="year" name="year" placeholder="YYYY"></label>
</form>
<div class="warning">
<p id="p01"></p>
<P id="p02" class="pry_month"></P>
<P id="p03"></P>
</div>
<button id="button"><svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="2 2 46 40"><g fill="#fff" 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 class="header">
<h1 class="years"><span>38</span> years</h1>
<h1 class="months"><span>3</span> months</h1>
<h1 class="days"><span>26</span> days</h1>
</div>
<div class="svg">
<svg>
<rect width="22" height="10" style="fill:hsl(259, 100%, 65%);" />
</svg>
<svg>
<rect width="22" height="10" style="fill:hsl(259, 100%, 65%);" />
</svg>
<svg>
<rect width="22" height="10" style="fill:hsl(259, 100%, 65%);" />
</svg>
<svg>
<rect width="22" height="10" style="fill:hsl(259, 100%, 65%);" />
</svg>
<svg>
<rect width="22" height="10" style="fill:hsl(259, 100%, 65%);" />
</svg>
<svg>
<rect width="22" height="10" style="fill:hsl(259, 100%, 65%);" />
</svg>
</div>
</div>
</main>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Stanley Nwa Nwa</a>.
</div>
<script src="/code.js"></script>
</body>
</html>