Use addEventListener() Instead of onclick/oninput/onchange ...

Use addEventListener() Instead of onclick/oninput/onchange ...

More to explore