how to add even lis code example
Example: event listener javascript
document.querySelector('div').addEventListener('click', () => {
console.log('div clicked');
});
document.querySelector('div').addEventListener('click', () => {
console.log('div clicked');
});