const element = document.querySelector(".btn");
function showMe() {
console.log("jakis tekst");
}
function showSomething() {
console.log("Inny tekst");
}
//rejestrujemy 3 zdarzenia click dla elementu
element.addEventListener("click", showMe):
element.addEventListener("click", showSomething);
element.addEventListener("click", function() {
this.style.color = "red";
}