Code JavaScript Notification API for beginners March 4, 2021 - By Praveen Nair Just two steps: Ask user the permission to send notifications Notification.requestPermission(); 2. Create/send notifiation notificaiton = new Notification (‘This is a notification’);