-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (37 loc) · 1.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href='https://fonts.googleapis.com/css?family=ABeeZee' rel='stylesheet'>
<link rel="stylesheet" href="index.css">
<script type="module" src="index.js" defer></script>
<title>Signt-reading Test</title>
</head>
<body>
<div class="audiocontainer"> </div>
<script>
const Addaudio = document.querySelector(".audiocontainer")
for (var i=23;i<=94;i++){
var newWav=document.createElement('audio');
newWav.id=(`r${i}`);
newWav.src=(`notes/${i}.mp3`);
Addaudio.appendChild(newWav);
}
</script>
<div id="container" class="container">
<div id="dot1" class="dot1"></div>
<div id="dot2" class="dot2"></div>
<div class="blurbg"></div>
<p class="title">Sight-reading Test</p>
<input type="submit" value="START" id="startbtn" class="startbtn" onclick="starttest();">START</input>
<p class="midiconn">Midi connection state: <span id="constate" class="constate">Disconnected</span></p>
</div>
<script>
function starttest(){
location.assign("./index2.html");
}
</script>
</body>
</html>