how to click different text in repeater to show different image

i created a repeater with different text in each container , while i need to click the text and it will show a corresponding information box. but i find out all the text has the same unique ID, and i don’t know how to assign different ID to the text, i think the code won’t work if it’s all the same unique ID

what i try to do is once i click each text , the link information box will show.
anyone help?

Read the Repeater API to see how to use a Repeater.

You can use the onItemRepeater() function to to handle components in different Repeater items.

Or you can connect to an onClick() function that determines which Repeater item the clicked text was in by getting the Repeated Item selector . See the Button onClick() API for more information.