-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (82 loc) · 4.39 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="HTML5, CSS, JavaScript, Vanilla JS, Stopwatch, Web App, Halfmoon dark-mode">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Stopwatch Web App">
<meta name="author" content="James Morgan, james.morgan@thebulb.africa">
<meta name="description" content="First of many to come in this guided project-based learning approach. Includes a lap function, modelled after the Samsung mobile app.
Built with HTML5, CSS, and Vanilla JavaScript.">
<meta name="theme-color" content="#17181B" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://mjstopwatch.netlify.app/">
<meta property="og:title" content="Stopwatch Web App">
<meta property="og:description" content="First of many to come in this guided project-based learning approach. Includes a lap function, modelled after the Samsung mobile app.
Built with HTML5, CSS, and Vanilla JavaScript.">
<meta property="og:image"
content="https://res.cloudinary.com/morganjay/image/upload/v1603911412/Stopwatch/Stopwatch-1200x628_gf9ws3.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://mjstopwatch.netlify.app/">
<meta property="twitter:title" content="Stopwatch Web App">
<meta property="twitter:description" content="First of many to come in this guided project-based learning approach. Includes a lap function, modelled after the Samsung mobile app.
Built with HTML5, CSS, and Vanilla JavaScript.">
<meta property="twitter:image"
content="https://res.cloudinary.com/morganjay/image/upload/v1603911412/Stopwatch/Stopwatch-1200x628_gf9ws3.jpg">
<!-- Links -->
<link rel="shortcut icon"
href="https://res.cloudinary.com/morganjay/image/upload/v1603911409/Stopwatch/1647130_bjr6wy.jpg"
type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/halfmoon@1.1.1/css/halfmoon-variables.min.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="resources/css/style.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous">
<link rel="manifest" href="manifest.json">
<link rel="apple-touch-icon" href="/icons/apple-icon-180.png">
<title>Stopwatch Web App</title>
</head>
<body>
<button class="btn btn-action mt-5 mr-5" type="button" aria-label="Toggle dark mode">
<i class="fa fa-moon-o" aria-hidden="true"></i>
</button>
<div class="container">
<div class="time--display">
<span class="hours button--hide">00:</span>00:00.00
</div>
<div class="laptimer"></div>
<main>
<table class="laps-table button--hide">
<thead>
<tr>
<th>Lap</th>
<th>Lap time</th>
<th>Overall time</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</main>
<section>
<div class="start"><button class="button--start">Start</button></div>
<div class="stop"><button class="button--stop button--hide">Stop</button></div>
<div class="lap"><button class="button--lap button--hide">Lap</button></div>
<div class="resume"><button class="button--resume button--hide">Resume</button></div>
<div class="reset"><button class="button--reset button--hide">Reset</button></div>
</section>
</div>
<div class="copyright mb-5">With love from <a
href="https://github.com/MorganJay/Coding-with-The-Bulb-Africa/tree/master/Stopwatch" target="_blank" rel="noreferrer">Morgan
Jay</a> 💘</div>
<script src="https://cdn.jsdelivr.net/npm/halfmoon@1.1.1/js/halfmoon.min.js" ></script>
<script src="resources/js/ripple.js"></script>
<script src="resources/js/stopwatch.min.js"></script>
<script>
if ('serviceWorker' in navigator)
navigator.serviceWorker.register('/service-worker.js');
</script>
</body>
</html>