Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxguist committed Apr 4, 2024
1 parent 89a01c9 commit 7869a26
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ <h1>Voice Accounting</h1>
}
</script>


<audio id='8' controls style='display:none'>
<source src='sounds/8.mp3' type='audio/mpeg'> Your browser does not support the audio element.
</audio>
<audio id='96' controls style='display:none'>
<source src='sounds/96.mp3' type='audio/mpeg'> Your browser does not support the audio element.
</audio>
Expand Down Expand Up @@ -272,6 +274,11 @@ <h1>Voice Accounting</h1>


<script type="text/javascript">
document.addEventListener('keydown', function(e) {
if (e.keyCode == 8) {
document.getElementById('8').play();
}
});
document.addEventListener('keydown', function(e) {
if (e.keyCode == 96) {
document.getElementById('96').play();
Expand Down
Binary file added sounds/8.mp3
Binary file not shown.

0 comments on commit 7869a26

Please sign in to comment.