-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (30 loc) · 1.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Metronome</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/metronome.css" rel="stylesheet">
</head>
<body>
<div class="container text-center mt-3">
<div class="mb-3">
<label for="bpmInput" class="form-label">Tempo (BPM):</label>
<input type="number" class="form-control w-25 mx-auto" id="bpmInput" placeholder="Insira o BPM" min="1" value="120">
</div>
<div class="mb-3">
<label for="timeSignature" class="form-label">Compasso:</label>
<select class="form-select w-25 mx-auto" id="timeSignature">
<option value="4">4/4</option>
<option value="3">3/4</option>
<option value="6">6/8</option>
</select>
</div>
<button class="btn btn-primary" id="startButton">Iniciar</button>
<button class="btn btn-danger" id="stopButton" disabled>Parar</button>
<div class="visualizer mt-4"></div>
</div>
<script src="assets/js/metronome.js"></script>
</body>
</html>