Building a random image generator button

I am still new at this and are still learning but I’m stumbling onto a problem.

I want to build a button that every time when clicked, it will show a random image right below the button.

So far, I was building this button based on the main page’s lesson about repeating group. But I don’t know how to make the image appear randomly.

It would greatly help me if someone can point out the logic behind this concept. Thanks in advance.

1 Like

I would like to do the same but instead of showing an image, showing a question.