How To Create A Random Image Generator

Hello all!

Does anyone have the time to explain how to create a button that generates a random image?

Your time is greatly appreciated!

Random … i.e. on of 1000 at random

Or Random and Unique? i.e. a never before seen image?

Use the Unsplash Random Photo API to get the random photo-

https://unsplash.com/documentation#get-a-random-photo

Ankur@ Nocodetalks
Looking for a Bubble Coach? Check out here

Oh sorry! Yes, random.

More context:

  • I’d like to insert all of the images myself.

  • Direct the user to a page with a single button that says something like “Play”

  • Have a random image pop up either above or below the “Play” button

  • Have the ability to see what image it landed on for each user to move to the next steps for them