Skip to content

Commit 3364dbb

Browse files
authored
edit
1 parent 7033b01 commit 3364dbb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Guitar/index.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@ <h1 style="color: white;">THE GUITAR</h1>
3131
</div>
3232
</div>
3333
</div>
34-
<script src="./script.js"></script>
34+
<script>
35+
function play(mp3_file)
36+
{
37+
var audio = new Audio(mp3_file);
38+
audio.play();
39+
}
40+
</script>
3541

3642
</body>
3743

38-
</html>
44+
</html>

0 commit comments

Comments
 (0)