Addad more quotes

This commit is contained in:
Stone-Red-Code
2021-01-06 23:32:08 +01:00
parent dd6ab311d8
commit 9dcd5840b7
8 changed files with 105 additions and 55 deletions
+7 -1
View File
@@ -4,4 +4,10 @@ $.get("footer.html", function (data) {
$.get("nav.html", function (data) {
$("#nav-placeholder").replaceWith(data);
});
});
$.get("header.html", function (data) {
$("#header-placeholder").replaceWith(data);
document.getElementById('header-title').innerHTML = document.querySelector('title').textContent;
});
+32 -18
View File
@@ -1,19 +1,33 @@
var answerArray = new Array(
"“A million sorrys is not equal to 1 thank you.” Emilia (Re:Zero)",
"“When you said that you hate yourself, it made me want to tell you all the wonderful things I know about you.” Rem (Re:Zero)",
"“No matter what happens, even when it looks like youre gonna lose, when no one else believes in you, when you dont believe in your self, I will believe! Rem (Re:Zero)",
"“Please let me believe in everything you believed in. Let me believe that life is great.” - Kanade Tachibana (Angel Beats!)",
"“God is so cruel. He stole all my happiness away.” - Yui Nakamura (Angel Beats!)",
"“I only wanted to love you, to make you proud.” - Yuri Nakamura (Angel Beats!)",
"“Why am I myself, and not somebody else.” Yuu Otosaka (Charlotte)",
"“Life is something you live only once, right?” Sala Shane (Charlotte)",
"“The scars that you cant see are the hardest to heal.” Nao Tomori (Charlotte)",
"“Life is not a game of luck. If you wanna win, work hard.” Sora (No Game No Life)",
"“There is more than one way to win a game. You can win without fighting!” Sora (No Game No Life)",
"“Theres no more trusted observer than someone who suspects you.” Sora (No Game No Life)",
"“In reality, the least interesting answer is usually the correct one.” Tet (No Game No Life)",
"“Chess is no different than tic-tac-toe.” Shiro (No Game No Life)",
"“A temporary defeat is nothing if it leads to ultimate victory!” Stephanie Dola (No Game No Life)"
);
window.onload = function() {
var answerArray = new Array(
"“A million sorrys is not equal to 1 thank you.” Emilia (Re:Zero)",
"“When you said that you hate yourself, it made me want to tell you all the wonderful things I know about you. Rem (Re:Zero)",
"“No matter what happens, even when it looks like youre gonna lose, when no one else believes in you, when you dont believe in your self, I will believe!” Rem (Re:Zero)",
"“Please let me believe in everything you believed in. Let me believe that life is great.” - Kanade Tachibana (Angel Beats!)",
"“God is so cruel. He stole all my happiness away.” - Yui Nakamura (Angel Beats!)",
"“I only wanted to love you, to make you proud.” - Yuri Nakamura (Angel Beats!)",
"“Even death cant cure idiocy.” Yui (Angel Beats!)",
"“Why am I myself, and not somebody else.” Yuu Otosaka (Charlotte)",
"“Trying to forget someone you love is like trying remember someone you never met.” Yuu Otosaka (Charlotte)",
"“It's hard to admit that, you're not as strong as everyone believes you are.” Yuu Otosaka (Charlotte)",
"“Life is something you live only once, right?” Sala Shane (Charlotte)",
"“You seem happy from the bottom of your heart. That also makes me just as happy.” Sala Shane (Charlotte)",
"“The scars that you cant see are the hardest to heal.” Nao Tomori (Charlotte)",
"“Happiness is not the absence of problems, it's the ability to deal with them.” Nao Tomori (Charlotte)",
"“The scariest about distance is you don't know wether they'll miss you or forget about you.” Nao Tomori (Charlotte)",
"“Do you think I am ok? No... I just learned to be strong and try to hide my real feelings all the time.” Nao Tomori (Charlotte)",
"“Life is not a game of luck. If you wanna win, work hard.” Sora (No Game No Life)",
"“There is more than one way to win a game. You can win without fighting!” Sora (No Game No Life)",
"“Theres no more trusted observer than someone who suspects you.” Sora (No Game No Life)",
"“In a real war, what fool waits for their enemys turn?” Sora (No Game No Life)",
"“We do not stop playing games because we grow old, we grow old because we stop playing.” Sora (No Game No Life)",
"“In reality, the least interesting answer is usually the correct one.” Tet (No Game No Life)",
"“Chess is no different than tic-tac-toe.” Shiro (No Game No Life)",
"“A temporary defeat is nothing if it leads to ultimate victory!” Stephanie Dola (No Game No Life)",
"“Like they say, “make the best of a bad situation.” Aqua (KonoSuba)",
"“This sunlight is my worst enemy after three straight all-nighters.” Kazuma Satou (KonoSuba)"
);
document.getElementById('quotes').innerHTML = answerArray[Math.floor(Math.random() * answerArray.length)];
document.getElementById('quotes').innerHTML = answerArray[Math.floor(Math.random() * answerArray.length)];
document.getElementById('quotes').classList.add("fade-in");
}