Add border to image on click

I’m trying to implement a questionnaire which involves the user clicking on images. To identify that they’ve been clicked, I’d like to add a border to the image (or change some other CSS attribute). Is this possible?

If not, I’ll have to change the text colour, but the method suggested here seems incredibly hacky… or is that just the Corvid way?

You can use that way or you can look at using your own code for it.
https://www.wix.com/corvid/reference/$w.Box.html#style
https://www.wix.com/corvid/reference/$w.Style.html

Note that this is not possible on all elements as noted in the info for each one.