html for loop list

Lets rename this “Check if each item needs an email sent”. It can be used to iterate over a fixed set of values, such as an array. This would give me 5 alert statements, but instead of using alert statements, I want to be able to display a button or some text or any other html elements. I’m trying to add