Hi! Following this tutorial (https://sabe.io/tutorials/how-to-create-modal-popup-box) I want to learn how can I make two buttons one page and each of the buttons to triggger different event?
To do this you're going to have to turn the variables into an array and iterate over each element, repeating the same step we did for one button/modal for multiple of them.
And how to do this? Is there anywhere an example?