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
Wolle
Wolle2y ago
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.
vert_Nk26☑
vert_Nk26☑OP2y ago
I want to display 5min left when the count down hit 5min But thanks for the audio @daswolle
Wolle
Wolle2y ago
Just copy the check for 0min and change it to 5min? Also I would reduce the time first, then change the display.
vert_Nk26☑
vert_Nk26☑OP2y ago
@daswolle Do I have to creat new div to store what I wanna display or I can just use doc.creatElement ?
Want results from more Discord servers?
Add your server