JSFiddle - React, Tailwind, and code Playground

JavaScript

//store the quotations in arrays
quotes = [];
authors = [];
quotes[0] = "When life gives you lemons, don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?' Demand to see life's manager! Make life rue the day it thought it could give Cave Johnson lemons! Do you know who I am? I'm the man who's going to burn your house down! With the lemons! I'm going to get my engineers to invent a combustible lemon that burns your house down!";
authors[0] = "Cave Johnson, Portal";
quotes[1] = "Life is a negotiation; we all want. We all give to get what we want";
authors[1] = "Mordin Solus, Mass Effect 2";
quotes[2] = "People should be doubted. Many people misunderstand this concept. Doubting people is just a part of getting to know them. What many people call ‘trust’ is really just giving up on trying to understand others, and that very act is far worse than doubting. It is actually ‘apathy.’";
authors[2] = "Shinichi Akiyama, Liar Game";
quotes[3] = "That time was lost, yet time continued onward. ";
authors[3] = "Lightning, Final Fantasy XIII-2";
quotes[4] = "The sky above the port was the colour of television, tuned to a dead channel.";
authors[4] = "William Gibson, Neuromancer";
quotes[5] = "Now, why don't you go fuck your selfie?";
authors[5] = "Victoria Chase, Life Is Strange";
quotes[6] = "";
authors[6] = "";
quotes[7] = "Anime was a mistake.";
authors[7] = "Hayao Miyazaki";
quotes[8] = "I'm the jury,"+"<br>"+"I'm the judge,"+"<br>"+"And I committed all the crimes,"+"<br>"+"How hard I try;"+"<br>"+"It's not enough.";
authors[8] = "'Not Enough', Delain";
quotes[9] = "I learn to lose,"+"<br>"+"I learn to win,"+"<br>"+"I turn my face against the wind,"+"<br>"+"I will move fast,"+"<br>"+"I will move slow,"+"<br>"+"Take me where I have to go.";
authors[9] = "'Still Alive', Mirror's Edge";
quotes[10] = "Listen to me very carefully; people can become... whatever they want to be.";
authors[10] = "Franz...