-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (57 loc) · 3.64 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
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Font Awesome Link -->
<script src="https://kit.fontawesome.com/413d010aec.js" crossorigin="anonymous"></script>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed&family=Barlow:wght@500&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="wrapper">
<div class="info-box">
<div class="info-content">
<h1 class="title">The <span class="line-break">Dog Age - Human Age</span> Converter</h1>
<img src="img/dogs-and-owner.png" alt="two dogs with their owner in front of city skyline backdrop">
<p><a href="https://www.freepik.com/vectors/abstract">Illustration created by vectorjuice - www.freepik.com</a></p>
</div>
</div>
<div class="convert-container">
<div class="container-wrapper">
<h2 class="convert-note">Use this tool to <span class="wavy-line">easily</span> convert between human & dog age units</h2>
<div class="convert-box convert-box-left">
<label for="unit-1-value"></label>
<input type="number" id="unit-1-value" placeholder="Enter number"></input>
<select name="convert-1" id="convert-1">
<option value="human-years">Human Years</option>
<option value="dog-years">Dog Years</option>
<option value="dog-months">Dog Months</option>
<option value="dog-weeks">Dog Weeks</option>
<option value="dog-days">Dog Days</option>
</select>
</div><!-- close convert-box-left -->
<div class="equal-icon">
<i class="fas fa-equals" alt="equals"></i>
</div>
<div class="convert-box convert-box-right">
<label for="unit-2-value"></label>
<input type="number" id="unit-2-value" placeholder="Enter number"></input>
<select name="convert-2" id="convert-2">
<option value="dog-years">Dog Years</option>
<option value="dog-months">Dog Months</option>
<option value="dog-weeks">Dog Weeks</option>
<option value="dog-days">Dog Days</option>
<option value="human-years">Human Years</option>
</select>
</div><!-- close convert-box-right -->
<p class="note"><strong>*Conversion factor:</strong> 1 dog year is approximately equal to 10.5 human years</p>
<p class="credit">{ Created by <a href="https://twitter.com/maelingcodes">@maelingcodes }</a></p>
</div><!-- close container-wrapper -->
</div><!-- close convert-container -->
</div>
</div><!-- close container -->
<script src="index.js"></script>
</body>
</html>