help simple project
how trying to build this countdown and I want to display 'left with 5 min when the countdown is left with 5min' and at the end of the time I want to add a music how do I do that help
4 Replies
Your code looks like it is already doing what you want, exept for the audio, right?
For that you can use the
<audio>
HTML-tag.I want to display 5min left when the count down hit 5min
But thanks for the audio
@daswolle
Just copy the check for 0min and change it to 5min? Also I would reduce the time first, then change the display.
@daswolle Do I have to creat new div to store what I wanna display or I can just use doc.creatElement ?