https://tutorial.eyehunts.com/html/html-a-href-call-javascript-function-example-code/
HTML a href call JavaScript function | Example code