document.querySelectorAll('.example').forEach(example => example.addEventListener('click', function(){exampleFunction(this.innerHTML)}));
function(event) event.target.textContent
function(event)
event.target.textContent