Change content on dynamic page clicking on container

Hi everyone,
I would like to know if I can modify the content of a dynamic page by clicking on a container of a repeater.

1/ I have an exhibition page
Sometimes Exhibition has several different locations, which are displayed in a repeater.
2/ I would like the image gallery and text to change depending on the location clicked, is this simply possible?

I begin with this code… but what action I need to put?

export function containerExpo_click(event) {
//Add your code for this event here:
}

I’m not an expert in code… but if there is a method or documentation to help me, I would be very, very grateful!
thank you