-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (42 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-145161862-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-145161862-2');
</script>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Example: Convert 3 hours 50 minutes to 3.83 hours.">
<meta name="keywords" content="time, conversion, convert, hours, minutes, decimal">
<meta name="author" content="David Šmehlík">
<title>Convertime – Convert Hours and Minutes to Decimal</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="img/favicon.png" type="image/png">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js"></script>
</head>
<body>
<h1>Convertime</h1>
<h2>Convert Hours and Minutes to Decimal</h2>
<p>
<label for="hours">Hours</label>
<input type="number" id="hours">
</p>
<p>
<label for="minutes">Minutes</label>
<input type="number" id="minutes">
</p>
<button onclick="Convert()">Convert</button>
<p>Decimal Hours</p>
<p id="decimal"></p>
<button class="btn" data-clipboard-target="#decimal">Copy</button>
<div class="footer">
<p>Buy <a href="https://www.linkedin.com/in/dvsmehlik/" target="_blank">me</a> a cup of <a href="https://ko-fi.com/akuataya" target="_blank">coffee</a> or get something cool in my <a href="https://www.etsy.com/shop/akuataya" target="_blank">Etsy Store</a>.</p>
</div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>