Feat: add jingle
This commit is contained in:
parent
6497b19061
commit
43fc5305cc
2 changed files with 10 additions and 0 deletions
|
@ -7,3 +7,13 @@ title = "Als nächstes geht es raus zum Fun!"
|
||||||
## **Glückwunsch! Du hast das Räzel gelöst :)**
|
## **Glückwunsch! Du hast das Räzel gelöst :)**
|
||||||
|
|
||||||
Schau in ein paar Tagen nochmal vorbei ;)
|
Schau in ein paar Tagen nochmal vorbei ;)
|
||||||
|
|
||||||
|
<button onclick="playAudio()">Click mich!</button>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const audio = new Audio('/sounds/jingle.mp3');
|
||||||
|
|
||||||
|
function playAudio() {
|
||||||
|
audio.play();
|
||||||
|
}
|
||||||
|
</script>
|
BIN
static/sounds/jingle.mp3
Normal file
BIN
static/sounds/jingle.mp3
Normal file
Binary file not shown.
Loading…
Reference in a new issue