Playing Sounds with the HTMLAudioElement

While working on my Pomodoro Timer and testing out the Notifications API, I decided I wanted to add in some sounds. I figured that notifications might not always be ideal when using a timer and that sometimes a good old fashioned timer can be a much better tool. I discovered information on the HTMLAudioElement and…

Exploring the Notifications API

I was recently working on a Pomodoro Timer and decided it would be a great time to look into browser notifications. I discovered the Notifications API and started to play around with how to incorporate it into my timer. The first step is to request permission from the user to allow notifications. A callback function…