Random Image Grabber

Lorem Picsum API

Wanna see something cool?

This script pulls 100 images and displays them in a random order right on the web page using the Lorem Picsum API, complete with the photographer credit, too. Want a different image? You can click the blue button as many times as you want to get a new picture in the frame.

Click on the Go To Site button below and give it a try.

This is a JavaScript project that implements:

  • Async and callback functions.
  • Fetching data with an API.
  • Parsing data as JSON.
  • Click event handlers.
  • Adding and removing CSS classes.

View Project/Site
return to portfolio