How to implement alerts in the browser?

I want to implement in yii2 calendar in which I create developments indicating the time and date they are scheduled to show push notification in the browser

if you have created an event for example it has a title, description, and date with time when it comes time to show the alert?
March 23rd 20 at 19:17
2 answers
March 23rd 20 at 19:19
To show the alert in the browser with JavaScript, enough to Google two words: javascript and notification.
Get to the documentation:

Further, in the yii need to understand the calendar. Information needs to get to the page or during page load or via ajax. This is a complete task.
March 23rd 20 at 19:21
There are different libraries / packages. I think that the following libraries will be enough if you are working with Yii framework (2.0):

Alert Widget
Yii2 sweet alert

Find more questions by tags YiiJavaScript