is a simple front-end random image viewer, using unsplash.com's HTML <image> source tag. It's like a lorem ipsum random text generator, but for images. By including the link: "https://source.unsplash.com/random/" followed by any dimensions, ie: "300x300" we generate a random image sized 300x300 on every page load:
What the Code Looks Like:
<img src="https://source.unsplash.com/random/300x300" alt="Random Image">
<a class="buttonBox" href="./">New Image?</a>
Note: Right Click + "Save image as..." browser behavior: Mozilla Firefox : saves current image on screen Apple Safari : saves current image on screen Google Chrome : generates/saves a new/different random image aka "I'm Feeling Lucky"
Written in:
&
with a
Bootstrap
framework