JSFiddle - React, Tailwind, and code Playground

by dusset

JavaScript

var p3ieTitle = new Array(); 
p3ieTitle[0] = "I knew you would come back..."; 
p3ieTitle[1] = "Eager to win, eh?"; 
p3ieTitle[2] = "*swoosh, swoosh* *flying around* Oh, there you are!"; 
p3ieTitle[3] = "You have earned achievement: [Sorry, Just Kidding]"; 
p3ieTitle[4] = "You've won! Oh, did you think I meant you?"; 
p3ieTitle[5] = "Back so soon?"; 
p3ieTitle[6] = "I bet you didn't expect to see THAT pop out of me!"; //Remove - Zorbie quote
p3ieTitle[7] = "Your prize is here...somewhere..."; 
p3ieTitle[8] = "Boochahayaya!"; 
p3ieTitle[9] = "Aw, did you miss me?"; //Remove - Zorbie quote
p3ieTitle[10] = "Don't you see I'm busy???"; 
p3ieTitle[11] = "You're here just for the iPhone right?";
p3ieTitle[12] = "Interesting."; 
p3ieTitle[13] = "Don'tcha wish your girlfriend was hot like me!?"; //Remove - Zorbie quote
p3ieTitle[14] = "Not all addictions are bad...";
p3ieTitle[15] = "Welcome to Prizuc- Oh, it's just you...";
p3ieTitle[16] = "A great way to start your day!"; 
p3ieTitle[17] = "Satisfaction Prizuceed"; 
p3ieTitle[18] = "Guess what... it works!"; 
p3ieTitle[19] = "A part of your daily routine."; 
p3ieTitle[20] = "For people that dare to dream."; 
p3ieTitle[21] = "It's a global prizulution."; 
p3ieTitle[22] = "Stairway to Prize-Heaven"; 
p3ieTitle[23] = "p3ie = π(t+f*p)*1000; p3ie ∈ Prizuccino"; 

arrayLength = p3ieTitle.length;
randnm = Math.round(Math.random()*(arrayLength-1)); 
document.title = "Prizuccino — " +p3ieTitle[randnm];