How to recognize a click in js code example
Example: how to detect clicks with javascript
element.addEventListener('click', function () {
alert('Clicked!')
});
element.addEventListener('click', function () {
alert('Clicked!')
});