< return

This program picks out a random quote from my list of favourite quotes and presents it inside the window graphic.

How does it pick?

The function produces a random number from 0 to the length of the list (minus 1) and then outputs the selected randomised number as the chosen index of the quote list.

You can try it out by clicking the "get a quote" button on the right. (I hope it works..)

#HTML #CSS #JavaScript