Sorry , stumped again:
Uncaught SyntaxError: Unexpected identifier
“Function WhichLinkWasClicked(evt) {”
<!DOCTYPE html>
<html>
<body>
<p>This example uses the addEventListener() method to catch which kink was clicked.</p>
<a href="https://www.google.com">Visit google.com!</a>
<a href="https://www.duckduckgo.com">Visit duckduckgo.com</a>
<script>
a.addEventListener("click", WhichLinkWasClicked());
Function WhichLinkWasClicked(evt) {
// alert("Function WhichLinkWasClicked(evt)") ;
// alert(evt) ;
alert(evt.target.innerText);
}
</script>
</body>
</html>