HTML Button with onclick Function Not Working
I was developing a button that changed the favicon for the website. The button calls the add function.
When I click the button, the console pops up this error:
It is nothing wrong with the code of the function but maybe how I am formatting it. Could somebody help and show me how?
Open your repl in a new tab and open the debug console. Click "console" form the tabs at the top. if there is an error, it will be shown in red.
Failed to load resource: the server responded with a status of 404 () favicon-notification.min.js:1
It also appears to be coming from the src script in the code. How can I fix that?