flex @flex

Can anyone tell me how to do an OnClick event in HTML, I got the button, but my idiotic brain can’t debug anything beyond Scratch…

Oct 6, 2021, 2:32 PM
2

comments

your_element.addEventListener("click", (event) => {
console.log("oh my god guys");
});