Repository navigation
Expand file tree
/
Copy pathscript.js
More file actions
312 lines (241 loc) · 28.6 KB
/
Copy pathscript.js
File metadata and controls
312 lines (241 loc) · 28.6 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
// Navigation
var dropbtn = $(`.dropbtn`);
dropbtn.on('click', dropDown);
function dropDown() {
console.log("clicked!");
document.getElementById("myDropdown").classList.toggle("show");
}
window.onclick = function(e) {
if (!e.target.matches('.dropbtn')) {
var myDropdown = document.getElementById("myDropdown");
if (myDropdown.classList.contains('show')) {
myDropdown.classList.remove('show');
}
}
}
var quotes = ['\"Twenty years from now you will be more disappointed by the things that you didn’t do than by the ones you did do.\"', '\"Get busy living or get busy dying.\"', '\"The goal isn’t to live forever, the goal is to create something that will.\"', '\"None of us really changes over time. We only become more fully what we are.\"', '\"All endings are also beginnings. We just don’t know it at the time.\"', '\"If we wait until we’re ready, we’ll be waiting for the rest of our lives.\"', '\"Not all those who wander are lost.\"', '\"If you’re making mistakes it means you’re out there doing something.\"', '\"If my life is going to mean anything, I have to live it myself.\"', '\"We are all in the gutter, but some of us are looking at the stars.\"', '\"Anything worth dying for is certainly worth living for.\"', '\"You could rattle the stars. You could do anything if only you dared.\"', '\"Regret is such a pointless emotion.\"', '\"It always seems impossible until it’s done.\"', '\"All our dreams can come true, if we have the courage to pursue them.\"', '\"Don’t limit yourself. Many people limit themselves to what they think they can do. You can go as far as your mind lets you. What you believe, remember, you can achieve.\"', '\"If people are doubting how far you can go, go so far that you can’t hear them anymore.\"', '\"We need to accept that we won’t always make the right decisions, that we’ll screw up royally sometimes – understanding that failure is not the opposite of success, it’s part of success.\"', '\"You’ve gotta dance like there’s nobody watching, love like you’ll never be hurt, sing like there’s nobody listening, and live like it’s heaven on earth.\"', '\"When one door of happiness closes, another opens; but often we look so long at the closed door that we do not see the one which has been opened for us.\"', '\"Smart people learn from everything and everyone, average people from their experiences, stupid people already have all the answers.\"', '\"Magic is believing in yourself. If you can make that happen, you can make anything happen.\"', '\"If something is important enough, even if the odds are stacked against you, you should still do it.\"', '\"Things may come to those who wait, but only the things left by those who hustle.\"', '\"How wonderful it is that nobody need wait a single moment before starting to improve the world.\"', '\"Very often, a change of self is needed more than a change of scene.\"', '\"It’s not the load that breaks you down, it’s the way you carry it.\"', '\"Keep your eyes on the stars, and your feet on the ground.\"', '\"You’ve got to get up every morning with determination if you’re going to go to bed with satisfaction.\"', '\"If opportunity doesn’t knock, build a door.\"', '\"Don’t be pushed around by the fears in your mind. Be led by the dreams in your heart.\"', '\"Opportunity is missed by most people because it is dressed in overalls and looks like work.\"', '\"Work hard for what you want because it won’t come to you without a fight. You have to be strong and courageous and know that you can do anything you put your mind to. If somebody puts you down or criticizes you, just keep on believing in yourself and turn it into something positive.\"', '\"Work hard, be kind, and amazing things will happen.\"', '\"Never flinch. Never fear. Never forget.\"', '\"Weakness is a guise. Wear it when they need to know you’re human but never when you feel it\"', '\"In the middle of every difficulty lies opportunity.\"', '\"Start where you are. Use what you have. Do what you can.\"'];
var authors = ['-H. Jackson Brown Jr.', '-Stephen King', '-Chuck Palahniuk', '-Anne Rice', '-Mitch Albom', '-Lemony Snicket', '-J. R. R. Tolkien', '-Neil Gaiman', '-Rick Riordan', '-Oscar Wilde', '-Joseph Heller', '-Sarah J. Maas', '-Cassandra Clare', '-Nelson Mandela', '-Walt Disney', '-Mary Kay Ash', '-Michelle Ruiz', '-Arianna Huffington', '-Willian W. Purkey', '-Hellen Keller', '-Socrates', '-Johann Wolfgang Von Goethe', '-Elon Musk', '-Abraham Lincoln', '-Anne Frank', '-A.C. Benson', '-Lou Holtz', '-Theodore Roosevelt', '-George Lorimer', '-Kurt Cobain', '-Roy T. Bennet', '-Thomas Edison', '-Leah LaBelle', '-Conan O’Brien', '-Jay Kristoff', '-Leigh Bardugo', '-Albert Einstein', '-Arthur Ashe'];
var motivationButton = $('.motivationButton');
var motivationContainer = $('.motivationContainer');
var motivationAuthor = $('.motivationAuthor');
motivationButton.on('click', giveMotivation);
function giveMotivation(){
var randomNumber = Math.floor(Math.random() * quotes.length);
motivationContainer.text(quotes[randomNumber]);
motivationAuthor.text(authors[randomNumber]);
}
var fitness = ['90 Minute Full-Body Aerobic Workout', '60 Minute 1000 Calories Workout', '55 Minute HIIT and Cardio Workout', '50 Minute Full Body Workout', '45 Minute Tabata Workout', '40 Minute Fat Burning HIIT Workout', '35 Minute Bootcamp Workout', '30 Minute Cardio and HIIT Workout', '25 Minute Cardio Workout', '20 Minutes Full Body Workout', '15 Minute TikTok Dance Workout', '10 Minute Morning Workout', '5 Minute Full Body Workout', '30 Minute Full Body Power Yoga Workout', '10 Minute Abs Workout', 'Yoga for Weight Loss & Belly Fat', 'Burn 600 Calories in 60 Minute Workout', '40 Minute Dance Workout', '15 Minute Burn Thigh Workout', '20 Minute Best Full Body Workout to Lose Fat', '15 Minute Yoga Workout for Full Body', '30 Minute Hip-Hop Workout', '15 Minute Fat Burning HIIT Workout', "15 Minute Upper Body Burn", '15 Minute Workout with Jeanette Jenkins', '20 Minute Yoga Practice', '30 Minute Cardio Latin Dance Workout', '45 Minute Full Body Fat Burn Workout', '20 Minute Fat Burning Yoga Workout', '20 Minute At Home Leg Workout', '30 Minute Full Body Fat Burn HIIT', '10 Minute Upper Body'];
var fitnessLinks = ['https://www.youtube.com/watch?v=fCY6SzJTZPk', 'https://www.youtube.com/watch?v=ubT6qNnUmQw', 'https://www.youtube.com/watch?v=dY5_Qih6vUY', 'https://www.youtube.com/watch?v=9Nb_Z0ZRmuw', 'https://www.youtube.com/watch?v=bgdb5QgI9aU', 'https://www.youtube.com/watch?v=MaJKfBb0j6w', 'https://www.youtube.com/watch?v=--8kNCLlALE', 'https://www.youtube.com/watch?v=CBWQGb4LyAM', 'https://www.youtube.com/watch?v=8JpKOczCPHU', 'https://www.youtube.com/watch?v=UBMk30rjy0o', 'https://www.youtube.com/watch?v=SoRmqE7A_IE', 'https://www.youtube.com/watch?v=3sEeVJEXTfY', 'https://www.youtube.com/watch?v=Tz9d7By2ytQ', 'https://www.youtube.com/watch?v=5h-9pqWIkzg', 'https://www.youtube.com/watch?v=UBnfm4s7CRA', 'https://www.youtube.com/watch?v=WmSIMpIDa_A', 'https://www.youtube.com/watch?v=s3F6R92s6_o', 'https://www.youtube.com/watch?v=Srd6TwU6UoI', 'https://www.youtube.com/watch?v=zLBFQ_mFl2E','https://www.youtube.com/watch?v=CGmr02bfHUo', 'https://www.youtube.com/watch?v=HYGCLCnj7NM', 'https://www.youtube.com/watch?v=ZWk19OVon2k', 'https://www.youtube.com/watch?v=TkaYafQ-XC4', 'https://www.youtube.com/watch?v=puLJaNv9m18', 'https://www.youtube.com/watch?v=_Zem0_qsDg0', 'https://www.youtube.com/watch?v=b1H3xO3x_Js', 'https://www.youtube.com/watch?v=LDvAuqTZxMw', 'https://www.youtube.com/watch?v=t7RhG0CEbVw', 'https://www.youtube.com/watch?v=G_26U5DIaRg', 'https://www.youtube.com/watch?v=ie7nbEybL6k', 'https://www.youtube.com/watch?v=DHOPWvO3ZcI'
];
var fitnessButton = $('.fitnessButton');
var fitnessContainer = $('.fitnessContainer');
var fitnessLinksContainer = $('.fitnessLinksContainer');
fitnessButton.on('click', giveFitness);
function giveFitness(){
var randomNumber = Math.floor(Math.random() * fitness.length);
fitnessContainer.text(fitness[randomNumber]);
fitnessLinksContainer.text(fitnessLinks[randomNumber]);
}
var activities = ['Go To the Lake', 'Go To the Park', 'Go Camping', 'Gardening', 'Arts and Crafts', 'Read', 'Write and Email to Your Future Self', 'Painting', 'Coloring', 'Bullet Journaling', 'Write a Hand-Written Letter and Mail It to Them', 'Write a Story', 'Redecorate Your Room', 'Organize Your Closet', 'Volunteer', 'Self-care/Spa Day', 'Watch a Movie', 'Learn a New Skill Through YouTube', 'Get In Touch With Someone You Havent Talked To In a While', 'Watch a Movie', 'Watch the Sunset', 'Go On a Hike', 'Make Playlists for DIfferent Moods', 'Make Playlists for Your Friends', 'Go Bike RIding', 'Play a Sport', 'Go Shopping with Someone', 'Cook', 'Binge Watch a Show', 'Go On a Walk', 'Have a Game-Night', 'Have a Picnic', 'Learn Origami', 'Learn how to Juggle'];
var activitiesButton = $('.activitiesButton');
var activitiesContainer = $('.activitiesContainer');
activitiesButton.on('click', giveActivities);
function giveActivities(){
var randomNumber = Math.floor(Math.random() * activities.length);
activitiesContainer.text(activities[randomNumber]);
}
var games = ['Badminton', 'Basketball', 'Tennis', 'Ping Pong', 'Frisbee', 'Hide and Seek', 'UNO', 'Apples to Apples', 'Online Card Games', 'Board Games', 'Skribbl.io', 'Spyfall', 'Baseball', 'Google Snake', 'Google Games', 'Kahoot', 'Quizlet Live'];
var gamesButton = $('.gamesButton');
var gamesContainer = $('.gamesContainer');
gamesButton.on('click', giveGames);
function giveGames(){
var randomNumber = Math.floor(Math.random() * games.length);
gamesContainer.text(games[randomNumber]);
}
var books = ['City of Bones by Cassandra Clare', 'Clockwork Angel by Cassandra Clare', 'Lady Midnight by Cassandra Clare', 'Chain of Gold by Cassandra Clare', 'Cinder by Marissa Meyer', 'Six of Crows by Leigh Bardugo', 'Shadow and Bone by Leigh Bardugo', 'The Wrath and the Dawn by Renee Adieh', 'The Beautiful by Renee Adieh', 'Flame in the Mist by Renee Adieh', 'Nevernight by Jay Kristoff', 'A Darker Shade of Magic by V. E Schwab', 'Throne of Glass by Sarah J. Maas', 'A Court of Thorns of Roses by Sarah J. Maas', 'The Cruel Prince by Holly Black', 'The Darkest Part of the Forest by Holly Black', 'The Coldest Girl in Coldtown by Holly Black', 'Carry On by Rainbow Rowell', 'Ash Princess by Laura Sebastian', 'We Hunt the Flame by Hafsah Faizal', 'Warcross by Marie Lu', 'Ready Player One by Ernest Cline', 'Aurora Rising by Jay Kristoff', 'Dune by Frank Herbert', 'Enders Game by Orson Scott Card', 'Becoming by Michelle Obama', 'Astrophysics for People in a Hurry by Neil deGrasse Tyson', 'Educated by Tara Westover', 'Hit Refresh by Satya Nadella', 'Hyperbole and a Half by ALlie Brosh','Stalking Jack the Ripper by Kerri Maniscalco', 'Da Vinci Code by Dan Brown', 'Inferno by Dan Brown', 'Angels and Demons by Dan Brown', 'One of Us is Lying by Karen M. McManus', 'Two Can Keep A Secret by Karen M. McManus','The Lightning Thief by Rick Riordan', 'Harry Potter by J. K. Rowling', 'Kane Chronicles by Rick Riordan', 'A Wrinkle in Time by Madeleine L Engle', 'The Lion, the Witch and the Wardrobe by C.S. Lewis', 'The Trials of Morrigan Crow by Jessica Townsend','House of Earth and Blood by Sarah J. Maas', 'Ninth House by Leigh Bardugo', 'Vengeful by V.E. Schwab', 'The Seven Husbands of Evelyn Hugo by Taylor Jenkins Reid', 'Her Royal Highness by Rachel Hawkins', 'When Dimple Met Rishi by Sandhya Menon', 'Because You\'ll Never Meet Me by Leah Thomas', 'Running with Lions by Julian Winters','Bringing Down the Duke by Evie Dunmore', 'Code Name Verity by Elizabeth Wein', 'Out of the Easy by Ruta Septys' , 'The Book Thief by Markus Zusack' , 'Climbing the Stairs by Padma Venkatraman', 'Red Scarf Girl by Ji-Li Jiang', 'Avatar The Last Airbender by Gene Luen Wang', 'The Legend of Korra by Gene Luen Wang', 'Pumpkinheads by Rainbow Rowell', 'Umbrella Academy by Gerard Way and Gabriel Ba', 'Sisters by Raina Telgemeier', 'Drama by Raina Telgemeier', 'El Deafo by Cece Bell' ]
var booksButton = $('.booksButton');
var booksContainer = $('.booksContainer');
booksButton.on('click', giveBooks);
function giveBooks(){
var randomNumber = Math.floor(Math.random() * books.length);
booksContainer.text(books[randomNumber]);
}
var movies = ['Charlies Angels', 'The Old Guard', 'Birds of Prey', 'Hobbs & Shaw', 'John Wick', 'Venom', 'Mission Impossible', 'James Bond', 'Logan', 'Suicide Squad', 'John Wick', 'Divergent', 'Now You See Me', 'Oceans Eleven', 'Star Wars', 'Kingsman', 'Night of the Museum', 'The Hobbit', 'Lord of the Rings', 'Dora and the Lost City of Gold', 'The Call of the Wild', 'Onward', 'Artemis Fowl', 'Intersteller', 'Journey to the Center of the Earth', 'My Spy', 'Knives Out', 'Good Boys', 'Oceans Eight', 'Jumanji', 'Jojo Rabbit', 'Murder Mystery', 'Shazam', 'Despicable Me', 'Minions', 'The Wolf of Wall Street', 'Harry Potter', 'The Lightning Thief', 'Enders Game', 'Fantastic Beasts', 'Justice League', 'Avengers', 'Batman', 'Pirates of the Caribbean', 'Men In Black', 'Ready Player One', 'Captain Marvel', 'Thor', 'Jurassic Park', 'Pride and Prejudice', 'Crazy Rich Asians', 'The Kissing Booth', 'Five Feet Apart', 'Love, Simon', 'The Fault in Our Stars', 'La La Land', 'Last Christmas', 'Mamma Mia', 'Pitch Perfect', 'Trainwreck', 'The Big Sick', 'Frozen', 'Brave', 'The Incredibles', 'Mulan', 'The Princess and the Frog', 'Rise of the Guardians', 'Tangled', 'The Lion King', 'Trolls', 'Moana', 'Dumbo', 'How to Train Your Dragon', 'SING', 'The Good Dinosaur', 'Wonderpark', 'Alice in Wonderland', 'Sleeping Beauty', '101 Dalmations', 'Pocahontas', 'Pan', 'Dr. Dolittle', 'Mary Poppins', 'Jungle Book', 'A Wrinkle in Time', 'Maleficent', 'BFG', 'The Little Mermaid', 'The Lightning Thief', 'Transformers', 'The Avatar', 'A Series of Unfortunate Events', 'Shazam', 'Deadpool', 'Joker', 'The Revenant', 'The Matrix', 'IT', 'Saving Private Ryan', 'The Terminator', 'American Sniper', 'Gone Girl', 'Lady Bird','Crip Camp', 'The Great Hack', 'Tomorrow', 'For Sama', 'Becoming', 'Heal', 'The Fight', 'The Iron Lady', 'Miss Americana', '13th', 'Voyeur', 'The Cave']
var moviesButton = $('.moviesButton');
var moviesContainer = $('.moviesContainer');
moviesButton.on('click', giveMovies)
function giveMovies(){
var randomNumber = Math.floor(Math.random() * movies.length);
moviesContainer.text(movies[randomNumber]);
}
var breakfast = ['Omelet', 'French Toast', 'Crepes', 'Breakfast Enchiladas', 'Waffles', 'Pancakes', 'Oatmeal', 'Croissants', 'Donuts', 'Dosa', 'Idli'];
var breakfastLinks = ['https://www.delish.com/cooking/recipe-ideas/a24892843/how-to-make-omelet',
'https://www.foodnetwork.com/recipes/robert-irvine/french-toast-recipe-1951408',
'https://www.allrecipes.com/recipe/16383/basic-crepes/',
'https://www.julieseatsandtreats.com/breakfast-enchiladas/',
'https://www.allrecipes.com/recipe/22180/waffles-i/',
'https://www.allrecipes.com/recipe/21014/good-old-fashioned-pancakes/',
'https://feelgoodfoodie.net/recipe/how-to-make-oatmeal/',
'https://sallysbakingaddiction.com/homemade-croissants/',
'https://sallysbakingaddiction.com/how-to-make-homemade-glazed-doughnuts/',
'https://www.thespruceeats.com/how-to-make-dosa-1957716',
'https://www.indianhealthyrecipes.com/soft-idli-recipe-using-idli-rava/',
];
var breakfastButton = $('.breakfastButton');
var breakfastContainer = $('.breakfastContainer');
var breakfastLinksContainer = $('.breakfastLinksContainer');
breakfastButton.on('click', giveBreakfast);
function giveBreakfast(){
var randomNumber = Math.floor(Math.random() * breakfast.length);
breakfastContainer.text(breakfast[randomNumber]);
breakfastLinksContainer.text(breakfastLinks[randomNumber]);
}
var appetizers = ['Stuffed Mushrooms', 'Bruschetta', 'Garlic Bread', 'Pasta Chips', 'Chips and Dip', "French Fries", "Egg Rolls" , 'Mozzarella Sticks', 'Pull-Apart Bread' , "Nachos" , "Cucumber Rolls", "Shrimp Tempura", "Calamari", "Soft Pretzels", "Spring Rolls"];
var appetizersLinks = ['https://www.delish.com/cooking/recipe-ideas/a20089643/easy-stuffed-mushroom-recipe/', 'https://enrilemoine.com/en/2010/08/04/tomato-basil-bruschette-recipe/', 'https://www.simplyrecipes.com/recipes/garlic_bread/', 'https://www.delish.com/cooking/recipe-ideas/recipes/a51657/pasta-chips-recipe/', 'https://simply-delicious-food.com/chips-and-dip-platter/', 'https://www.foodnetwork.com/recipes/ree-drummond/perfect-french-fries-recipe2-2120420', 'https://www.dinneratthezoo.com/homemade-egg-rolls/', 'https://www.food.com/recipe/mozzarella-sticks-30977', 'https://sallysbakingaddiction.com/everything-bagel-pull-apart-bread/', 'https://www.simplyrecipes.com/recipes/nachos/', 'https://tasty.co/recipe/cucumber-rolls', 'https://www.justonecookbook.com/shrimp-tempura/', 'https://www.fifteenspatulas.com/crispy-fried-calamari/', 'https://tasty.co/recipe/homemade-soft-pretzels', 'https://www.allrecipes.com/recipe/24239/vietnamese-fresh-spring-rolls/'];
var appetizersButton = $('.appetizersButton');
var appetizersContainer = $('.appetizersContainer');
var appetizersLinksContainer = $('.appetizersLinksContainer');
appetizersButton.on('click', giveAppetizers);
function giveAppetizers(){
var randomNumber = Math.floor(Math.random() * appetizers.length);
appetizersContainer.text(appetizers[randomNumber]);
appetizersLinksContainer.text(appetizersLinks[randomNumber]);
}
var entrees = ['Alfredo Pasta', 'Fried Rice', 'Pizza', 'Lasagna', 'Mac & Cheese', 'Lime Chicken Rice', 'Burrito', 'Shrimp Scampi', 'Mushroom Wellington', 'Beef Stroganoff', 'Burrito Bowl', 'Falafel', 'Roast Lamb', 'Poke Bowl', 'Sushi', 'Chicken Teriyaki', 'Chow Mein', 'Salad', 'Tacos', 'Risotto', 'Popeyes chicken burger'];
var entreesLinks = ['https://cravinghomecooked.com/easy-pasta-alfredo/', 'https://www.gimmesomeoven.com/fried-rice-recipe/', 'https://www.simplyrecipes.com/recipes/homemade_pizza/', 'https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/', 'https://www.thechunkychef.com/family-favorite-baked-mac-and-cheese/', 'https://gimmedelicious.com/one-pan-cilantro-lime-chicken-and-rice/', 'https://www.theseasonedmom.com/easiest-burrito-recipe/', 'https://www.foodnetwork.com/recipes/tyler-florence/shrimp-scampi-with-linguini-recipe-1942429', 'https://www.feastingathome.com/mushroom-wellington-rosemary-pecans/', 'https://www.bettycrocker.com/recipes/classic-beef-stroganoff/c17a904f-a8f6-48ae-bedb-5b301a8ea317', 'https://damndelicious.net/2014/09/10/easy-burrito-bowls/', 'https://www.themediterraneandish.com/how-to-make-falafel/', 'https://www.delish.com/cooking/recipe-ideas/recipes/a56354/best-roast-lamb-recipe/', 'https://therecipecritic.com/poke-bowl-recipe/', 'https://www.fifteenspatulas.com/homemade-sushi/', 'https://cafedelites.com/teriyaki-chicken-recipe/', 'https://www.cookingclassy.com/chicken-chow-mein/', 'https://www.acouplecooks.com/best-salad-recipes/', 'https://www.thewholesomedish.com/the-best-homemade-tacos/', 'https://www.allrecipes.com/recipe/85389/gourmet-mushroom-risotto/', 'https://gimmedelicious.com/popeyes-chicken-sandwich/'];
var entreesButton = $('.entreesButton');
var entreesContainer = $('.entreesContainer');
var entreesLinksContainer = $('.entreesLinksContainer');
entreesButton.on('click', giveEntrees);
function giveEntrees(){
var randomNumber = Math.floor(Math.random() * entrees.length);
entreesContainer.text(entrees[randomNumber]);
entreesLinksContainer.text(entreesLinks[randomNumber]);
}
var desserts = ['Vanilla Cake', 'Chocolate Cake', 'Red Velvet Cake', 'Chocolate Chip Cookies', 'Sugar Cookies', 'Oatmeal Raisin Cookies', 'Banana Bread', 'Brownies', 'Poppy Seed Muffins', 'Blueberry Muffins', 'Chocolate Chip Muffins', 'Cheesecake', 'Strawberry Yogurt Cake', 'Chocolate Mug Cake', 'Cinnamon Rolls', 'Macarons', 'Mango Mousse', 'Homemade Ice Cream', 'Choux Pastry'];
var dessertsLinks = ['https://sallysbakingaddiction.com/vanilla-cake/', 'https://addapinch.com/the-best-chocolate-cake-recipe-ever/', 'https://sallysbakingaddiction.com/red-velvet-layer-cake-with-cream-cheese-frosting/', 'https://joyfoodsunshine.com/the-most-amazing-chocolate-chip-cookies/', 'https://sallysbakingaddiction.com/best-sugar-cookies/', 'https://sallysbakingaddiction.com/soft-chewy-oatmeal-raisin-cookies/', 'https://sallysbakingaddiction.com/best-banana-bread-recipe/', 'https://www.loveandlemons.com/brownies-recipe/', 'https://www.tasteofhome.com/recipes/poppy-seed-muffins/', 'https://www.allrecipes.com/recipe/6865/to-die-for-blueberry-muffins/', 'https://www.onceuponachef.com/recipes/chocolate-chip-muffins.html', 'https://sugarspunrun.com/best-cheesecake-recipe/', 'https://www.aspicyperspective.com/farmstand-fresh/', 'https://www.allrecipes.com/recipe/241038/microwave-chocolate-mug-cake/', 'https://sallysbakingaddiction.com/easy-cinnamon-rolls-from-scratch/', 'https://tasty.co/recipe/macarons', 'https://www.vegrecipesofindia.com/quick-mango-mousse/', 'https://barefeetinthekitchen.com/homemade-ice-cream-recipe/', 'https://sallysbakingaddiction.com/choux-pastry/'];
var dessertsButton = $('.dessertsButton');
var dessertsContainer = $('.dessertsContainer');
var dessertsLinksContainer = $('.dessertsLinksContainer');
dessertsButton.on('click', giveDesserts);
function giveDesserts(){
var randomNumber = Math.floor(Math.random() * desserts.length);
dessertsContainer.text(desserts[randomNumber]);
dessertsLinksContainer.text(dessertsLinks[randomNumber]);
}
var drinks = ['Bubble Tea', 'Dalgona Coffee', 'Hot Chocolate', 'Lemonade', 'Strawberry Lemonade', 'Mango Lassi', 'Smoothies', 'Slushies'];
var drinksLinks = ['https://healthynibblesandbits.com/how-to-make-bubble-tea/', 'https://www.delish.com/cooking/recipe-ideas/a32072159/dalgona-coffee-recipe/', 'https://celebratingsweets.com/homemade-hot-chocolate/', 'https://www.allrecipes.com/recipe/32385/best-lemonade-ever/', 'https://www.allrecipes.com/recipe/233276/all-natural-strawberry-lemonade/', 'https://www.simplyrecipes.com/recipes/mango_lassi/', 'https://wholefully.com/8-staple-smoothies-know-make/', 'https://www.thekitchn.com/how-to-make-fruit-slushies-cooking-lessons-from-the-kitchn-206361'];
var drinksButton = $('.drinksButton');
var drinksContainer = $('.drinksContainer');
var drinksLinksContainer = $('.drinksLinksContainer');
drinksButton.on('click', giveDrinks);
function giveDrinks(){
var randomNumber = Math.floor(Math.random() * drinks.length);
drinksContainer.text(drinks[randomNumber]);
drinksLinksContainer.text(drinksLinks[randomNumber]);
}
var music = ['Podcast', 'Top Charts', 'New Releases', 'Covid-19 Guide', 'Summer', 'Country', 'Workout', 'Latin', 'Mood Booster', 'R&B', 'BLM', 'Gaming', 'Focus', 'Dance/Electronic', 'Chill', 'Indie', 'Throwback', 'Alternative', 'Pride', 'Party', 'Sleep', 'Classical', 'Jazz', 'Folk Acoustic', 'Soul', 'Romance', 'K-Pop', 'Punk', 'Desi', 'Afro', 'Comedy', 'TV & Movies', 'Metal', 'Reggae', 'Blues', 'Funk', 'Student', 'Kids & Family'];
var musicLinks = ['https://open.spotify.com/show/71mvGXupfKcmO6jlmOJQTP', 'https://open.spotify.com/playlist/37i9dQZEVXbMDoHDwVN2tF', 'https://open.spotify.com/playlist/37i9dQZF1DX4JAvHpjipBk', 'https://open.spotify.com/show/0qCYTqE3DQ1THZ24UfdjUd', 'https://open.spotify.com/show/0qCYTqE3DQ1THZ24UfdjUd', 'https://open.spotify.com/playlist/37i9dQZF1DX1gRalH1mWrP', 'https://open.spotify.com/playlist/37i9dQZF1DX1lVhptIYRda', 'https://open.spotify.com/playlist/37i9dQZF1DWUVpAXiEPK8P', 'https://open.spotify.com/playlist/37i9dQZF1DX10zKzsJ2jva', 'https://open.spotify.com/playlist/37i9dQZF1DX3rxVfibe1L0', 'https://open.spotify.com/playlist/37i9dQZF1DX4SBhb3fqCJd', 'https://open.spotify.com/playlist/37i9dQZF1DWWAqc46ZJdZf', 'https://open.spotify.com/playlist/37i9dQZF1DWTyiBJ6yEqeu', 'https://open.spotify.com/playlist/37i9dQZF1DWZeKCadgRdKQ', 'https://open.spotify.com/playlist/37i9dQZF1DX4dyzvuaRJ0n', 'https://open.spotify.com/playlist/37i9dQZF1DX4WYpdgoIcn6', 'https://open.spotify.com/playlist/37i9dQZF1DX2Nc3B70tvx0', 'https://open.spotify.com/playlist/37i9dQZF1DWWwaxRea1LWS', 'https://open.spotify.com/playlist/37i9dQZF1DX82GYcclJ3Ug', 'https://open.spotify.com/playlist/37i9dQZF1DXbmCTvLQy5AO', 'https://open.spotify.com/playlist/37i9dQZF1DWY4xHQp97fN6', 'https://open.spotify.com/playlist/37i9dQZF1DWZd79rJ6a7lp', 'https://open.spotify.com/playlist/37i9dQZF1DWWEJlAGA9gs0', 'https://open.spotify.com/playlist/37i9dQZF1DWTR4ZOXTfd9K', 'https://open.spotify.com/playlist/37i9dQZF1DWTR4ZOXTfd9K', 'https://open.spotify.com/playlist/37i9dQZF1DXbcgQ8d7s0A0', 'https://open.spotify.com/playlist/37i9dQZF1DX4FcAKI5Nhzq', 'https://open.spotify.com/playlist/37i9dQZF1DXa9wYJr1oMFq', 'https://open.spotify.com/playlist/37i9dQZF1DWTwzVdyRpXm1', 'https://open.spotify.com/playlist/37i9dQZF1DWYkaDif7Ztbp', 'https://open.spotify.com/playlist/37i9dQZF1DX1ywXghfWcTX', 'https://open.spotify.com/playlist/37i9dQZF1DWZC2yew0xGiz', 'https://open.spotify.com/playlist/37i9dQZF1DX5J7FIl4q56G', 'https://open.spotify.com/playlist/37i9dQZF1DXbSbnqxMTGx9', 'https://open.spotify.com/playlist/37i9dQZF1DXcnkReojaCnV', 'https://open.spotify.com/playlist/37i9dQZF1DX1MUPbVKMgJE', 'https://open.spotify.com/playlist/37i9dQZF1DX1dvMSwf27JO', 'https://open.spotify.com/playlist/37i9dQZF1DWWHW9jMSvcWf'];
var musicButton = $('.musicButton');
var musicContainer = $('.musicContainer');
var musicLinksContainer = $('.musicLinksContainer');
musicButton.on('click', giveMusic);
function giveMusic(){
var randomNumber = Math.floor(Math.random() * music.length);
musicContainer.text(music[randomNumber]);
musicLinksContainer.text(musicLinks[randomNumber]);
}
var languages = ['Spanish', 'French', 'Hindi', 'German', 'Italian', 'Portugese', 'Dutch', 'Japanese', 'Greek', 'Irish', 'Hebrew', 'Korean', 'Latin', 'Russian', 'Swahili', 'High Valyrian', 'Klingon', 'Chinese', 'Welsh', 'Scottish Gaelic', 'Swedish', 'Arabic', 'Czech', 'Danish', 'Finnish', 'Hungarian', 'Romanian', 'Hawaiian', 'Indonesian', 'Norwegian', 'Navajo', 'Polish', 'Turkish', 'Ukrainian', 'Vietnamese', 'Thai'];
var languagesButton = $('.languagesButton');
var languagesContainer = $('.languagesContainer');
languagesButton.on('click', giveLanguages);
function giveLanguages(){
var randomNumber = Math.floor(Math.random() * languages.length);
languagesContainer.text(languages[randomNumber]);
}
var compLanguages = ['HTML', 'CSS', 'JavaScript', 'Java', 'Python', 'C++', 'Ruby', 'Perl', 'C', 'C#', 'Delphi', 'Swift'];
var compLanguagesButton = $('.compLanguagesButton');
var compLanguagesContainer = $('.compLanguagesContainer');
compLanguagesButton.on('click', giveCompLanguages);
function giveCompLanguages(){
var randomNumber = Math.floor(Math.random() * compLanguages.length);
compLanguagesContainer.text(compLanguages[randomNumber]);
}
var hungerButton = $('.hunger-button');
var hungerContainer = $('.hunger-container');
var plasmaButton = $(`.plasma-button`);
var plasmaContainer = $(`.plasma-container`);
var bloodButton = $(`.blood-button`);
var bloodContainer = $(`.blood-container`);
var homelessButton = $(`.homeless-button`);
var homelessContainer = $(`.homeless-container`);
var debtButton = $(`.debt-button`);
var debtContainer = $(`.debt-container`);
var dwbButton = $(`.dwb-button`);
var dwbContainer = $(`.dwb-container`);
var maskClipButton = $(`.maskclip-button`);
var maskClipContainer = $(`.maskclip-container`);
var maskButton = $(`.mask-button`);
var maskContainer = $(`.mask-container`);
var drButton = $(`.dr-button`);
var drContainer = $(`.dr-container`);
var rwcfButton = $(`.rwcf-button`);
var rwcfContainer = $(`.rwcf-container`);
var volunteerButton = $(`.volunteer-button`);
var volunteerContainer = $(`.volunteer-container`);
var tutorButton = $(`.tutor-button`);
var tutorContainer = $(`.tutor-container`);
var lettersButton = $(`.letters-button`);
var lettersContainer = $(`.letters-container`);
hungerButton.on('click', hungerInfo);
function hungerInfo() {
hungerContainer.toggleClass('clicked');
};
plasmaButton.on('click', plasmaInfo);
function plasmaInfo(){
plasmaContainer.toggleClass('clicked');
}
bloodButton.on('click', bloodInfo);
function bloodInfo(){
bloodContainer.toggleClass('clicked');
}
homelessButton.on('click', homelessInfo);
function homelessInfo(){
homelessContainer.toggleClass('clicked');
}
debtButton.on('click', debtInfo);
function debtInfo(){
debtContainer.toggleClass('clicked');
}
dwbButton.on('click', dwbInfo);
function dwbInfo(){
dwbContainer.toggleClass('clicked');
}
maskClipButton.on('click', maskClipInfo);
function maskClipInfo(){
maskClipContainer.toggleClass('clicked');
}
maskButton.on('click', maskInfo);
function maskInfo(){
maskContainer.toggleClass('clicked');
}
drButton.on('click', drInfo);
function drInfo(){
drContainer.toggleClass('clicked');
}
rwcfButton.on('click', rwcfInfo);
function rwcfInfo(){
rwcfContainer.toggleClass('clicked');
}
volunteerButton.on('click', volunteerInfo);
function volunteerInfo(){
volunteerContainer.toggleClass('clicked');
}
tutorButton.on('click', tutorInfo);
function tutorInfo(){
tutorContainer.toggleClass('clicked');
}
lettersButton.on('click', lettersInfo);
function lettersInfo(){
lettersContainer.toggleClass('clicked');
}