yequari.com/themes/saturn/static/js/quotes.js

20 lines
707 B
JavaScript
Raw Permalink Normal View History

2023-08-12 10:44:17 +00:00
var subtitles = [
"null",
"George likes his chicken spicy",
"Graphic design is my passion",
"They don\'t think it be like it is, but it do",
"Terminally online",
"Twitter is a fandom site for current events",
"Genesis does what Nintendon\'t",
"1000 JS libraries in your pocket",
"A large boulder the size of a small boulder",
"Smooth jazz for a smooth brain",
"Back at it again for the very first time",
"I have no spoons and I must cope"
];
var index = Math.floor(Math.random() * subtitles.length);
console.log("setting subtitle to " + subtitles[index]);
window.onload = function() {
document.getElementById("subtitle").textContent = subtitles[index];
}