How to play any sound file using CSS?
We create an Audio object to load and play the sound file you can play any sound file just by creating object and then use play (); function with object to play the sound. Step 2. Make a CSS file and define styling for Sound Notification
To stop the timer, you need to call in the clearTimeout ( ) timing event method and this comes in very handy. It has just one parameter : the return ID of the setTimeout ( ) method