Nice article.
Rohan Gayen
12

What you can do is make an array of quote objects each one containing an id, a quote and the author’s name. Then you can initialize a random number variable that you will use to pull a random quote from the array each time the button is clicked. I believe that to be the easiest solution. Hope I’ve helped. ☺

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.