loop for and addEventListener

good evening

I’m using a loop for to create texts and add a tap addEventListener to the same texts.

In the addeventlistener I have to pass parameters to an external function.

can anyone help me with 2 rows of program how to do it?

thank you all