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?
not defined means that it was unable to find the javascript function to handle the onclick() method. i sudjest you check for spell error and or post the screenshort
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?
not defined means that it was unable to find the javascript function to handle the onclick() method. i sudjest you check for spell error and or post the screenshort