How to: Bootstrap button onclick events

We can easily add a onclick event to our button by selecting him via e.g. .querySelector() method then we can add our event listener to the selected node using the .addEventListener() method.