How can i make an onclick box have multiple functions and display a different message each time?
So I’m in the middle of making a neocities page, and I’d like to be creative with introducing myself on my page, i saw on this website (https://y2k.neocities.org/salem.html) that there’s an onclick button which displays a DIFFERENT message each time it is clicked. what i’d like is it for to do just that, NOT display multiple messages at once (or display previous messages as well). any help on how i can achieve this is appreciated, ive been trying to achieve this but wherever i search doesnt have the same thing i want.
Source: CSS – Stack OverflowNovember 24, 2021