The function button1_click_1() does not have a closing bracket. Or you tried to include the onReady() function in this function which is an error.
You are assigning a string from ArrayList to the button’s link property, and a string is not a link.
Do you see error messages in the Developers console?
@tsuyoidesigns I had an issue with that, too. If you’re able, check the properties on the button you’re attempting to use for the code and manually add an onClick() action. When the code for that action pops up in the developer console, remove it entirely or replace the " export function button1_click(event)" action with it by copy-pasting it there.