How can I put an if answered correctly play sound: "mp3 url" in HTML?
if answered correctly play sound: "mp3 url"
I tried multiple ways, but they still don't work.
I am trying to do it with Tampermonkey
You'll need Javascript to check if your condition returns true.
if(answeredcorrectly) { let mp3= new Audio('urltomp3file.mp3); mp3.play(); }
2.1m questions
2.1m answers
60 comments
57.0k users