-
Notifications
You must be signed in to change notification settings - Fork 0
/
calcularCompaces.html
32 lines (30 loc) · 1.04 KB
/
calcularCompaces.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
<!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" />
<title>Calcular compaces</title>
</head>
<body>
<header>
<h1>How many measures do I need for my song?</h1>
<p>Calculate how many measures do you need on a song, knowing tempo, length and beats per measure</p>
</header>
<section>
<form>
<label for="tempo">Enter tempo</label>
<input id="tempo" type="number" />
<label for="beatsPerMeasure">Number of beats per measure</label>
<input id="beatsPerMeasure" type="number" />
<label for="length">Length of the song in minutes</label>
<input id="length" type="number" />
<button type="button" onclick="calcularCompaces()">
Calculate number of measures do you need
</button>
</form>
<p id="result"></p>
</section>
<script src="./calcularCompaces.js"></script>
</body>
</html>