-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (77 loc) · 2.54 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>Metronome</title>
</head>
<body>
<div class="container">
<div class="metronome">
<div class="bpm-display">
<span class="tempo">150</span>
<span class="bpm">BPM</span>
<div class="tempo-text">Allegro</div>
<div class="signal-indicator">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
</div>
<div class="tempo-settings">
<button class="decrease-tempo">
<div class="decrease-tempo-content">-</div>
</button>
<input type="range" min="20" max="280" step="1" class="slider" />
<button class="increase-tempo">
<div class="increase-tempo-content">+</div>
</button>
</div>
<div class="start-stop-container">
<button class="start-stop">
<div class="start">
<svg
width="100"
height="100"
viewBox="0 0 100 100"
xmlns="http://www.w3.org/2000/svg"
>
<polygon points="30,20 80,50 30,80" fill="#38479f" />
</svg>
</div>
<div class="stop">
<svg
xmlns="http://www.w3.org/2000/svg"
height="80"
viewBox="0 96 960 960"
width="60"
fill="#38479f"
>
<path d="M560 816V336h160v480H560zm-320 0V336h160v480H240z" />
</svg>
</div>
</button>
</div>
<div class="measures">
<button class="subtract-beats">
<div class="subtract-beats-content">-</div>
</button>
<div class="measure-count">4</div>
<button class="add-beats">
<div class="add-beats-content">+</div>
</button>
</div>
</div>
</div>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.4/howler.min.js"
integrity="sha512-xi/RZRIF/S0hJ+yJJYuZ5yk6/8pCiRlEXZzoguSMl+vk2i3m6UjUO/WcZ11blRL/O+rnj94JRGwt/CHbc9+6EA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="./app.js"></script>
</body>
</html>