How can I make a notification in js?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make a notification in js??

7th Mar 2018, 7:06 PM
Sina
Sina - avatar
2 Answers
+ 3
As they said, I'd go with the Notification API if it were myself. It works really well. However, if I recall correctly (it's been awhile), it isn't supported across all browsers, so keep that in mind.
7th Mar 2018, 8:21 PM
Fata1 Err0r
Fata1 Err0r - avatar
0
Maybe you mean the alert ("..."); function? That will create a popup. Not sure if that answers your question though...
7th Mar 2018, 9:44 PM
D B
D B - avatar