-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.js
73 lines (66 loc) · 3.25 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
function getRandomXcuse() {
const xcuses = [
"I’m too old to start",
"I’m not talented enough",
"I wasn’t born in the right area",
"I come from a poor background",
"I’m not smart enough",
"I don’t have the support",
"I don’t have enough time to discover what I like",
"My family and friends don’t think I’m capable.",
"I don’t know if I will succeed",
"I’ve already dedicated myself to a different path",
"I’m just not lucky enough",
"I didn’t have the right teachers",
"I’m not destined to succeed",
"I’m not motivated enough",
"I’m too easily distracted by other things",
"I’m not educated enough",
"I can’t handle failure",
"I will start tomorrow",
"I’m not ready",
"I don’t believe I can do it",
"I'll start from tomorrow",
"Internet was down",
"Arthik istithi theek na hamari",
"Chacha, Vidhayak nhi h hmare",
"My cats having an abortion. I need to be there for HIM.",
"Sorry, my mom said No..",
"I don't feel smart today.",
"This is new to me.",
"I don't have enough skills",
"I'm not good enough to complete this challenge",
"Grandma tried to poison me. Again.",
"I ate cat food, intead of tuna",
"I broke my arm reaching for a sandwich",
"My wife found out I was cheating and threw all my stuff out",
"My refrigerator fell on me",
"My convertible is full of flour",
"I just put my casserole in the oven",
"I poked myself in the eye with a hairbrush",
"I broke my foot after I got up from the toilet",
"I got bitten by a mosquito.",
"I fell over in the shower and knocked myself out",
"I rolled out of bed and knocked myself out so I missed my alarm.",
"I was in the loo and my legs fell asleep. When I stood up, I fell and broke my ankle",
"My girlfriend bit me in a bad place",
"A fox stole my car keys while I was asleep.",
"I had a dream that my cat died and now I’m afraid to leave her.",
"A chicken attacked my mother.",
"There’s a crocodile in my house.",
"My goldfish is ill.",
"I have a new puppy and I need to play with him.",
"There’s a bird in my house – I don’t know what to do.",
"My cat has hiccups and I can’t leave her.",
"I accidentally got on a plane.",
"Because I didn’t have a driver’s license.",
"My fortune teller advised against saying more.",
"I have a court hearing at the same because I stole the last cookie. What a coincidence?!",
"I do not usually go out on days that end with the letter 'y'. Sorry, personal preference.",
"People are blaming me for World War III, and I am trying to keep the peace.",
"Unfortunately, there is a disturbance in the force, and it is not with me right now. I never go anywhere without the force—Skywalker advises strongly against it"
];
var randomXcuse = Math.floor(Math.random() * xcuses.length);
console.log(xcuses[randomXcuse]);
document.getElementById("xcuseMessage").innerHTML=xcuses[randomXcuse];
}