MDN
Paul lund’s tutorial on notification API

demo