0
Can you tell what is wrong with the code
https://sololearn.com/compiler-playground/WPdaKuJ5f485/?ref=app
1 Resposta
+ 2
1. You tagged "Python" which is obviously wrong.
2. The HTML is invalid: You have multiple <body>, <html>, <head>, and <!doctype>
3. You have copied the Notification part twice: One in the HTML tab, another in the Javascript tab.
4. Notification apparently needs permission, which it might not get from a sandbox like sololearn playground.
5. The variable/ constance "delay" used in the Notification part has not been defined.