Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
Welcome to SoloLearn Your question is a bit unclear. What is the code supposed to do when the button is clicked. I guess you are talking about the notification API: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API But I'm not sure. If by notification you meant event: https://www.sololearn.com/learn/JavaScript/2758 Please clear your question
12th Oct 2020, 1:41 AM
Kevin ★