-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
299 lines (244 loc) · 24.8 KB
/
script.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
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
// const roundsDrawDisplay = document.getElementById(`round-draw`);
// const resultDisplay = document.getElementById('results');
// const word = 'helllllo'
function pickupLines() {
const list = ["Do you believe in love at first sight, or should I walk by again?",
"Are you a Wi-Fi signal? Because I'm feeling a strong connection here.",
"I bet your birthday is October 10 because you’re a 10/10.",
"Are you a time traveler? Because I see you in my future.",
"Do you have a Band-Aid? I scraped my knee falling for you.",
"Do you play soccer? Because you look like a keeper.",
"Are you from Tennessee? Because you're the only 10 I see.",
"If you and I were socks, we'd make a great pair.",
"If I could rearrange the alphabet, I'd put U and I together.",
"Know what's on the menu today? Me 'n u.",
"Are you a magician? Because when I look at you, everyone else disappears.",
"I promise I won’t break your heart — I’ll just steal it.",
"I'm not a photographer, but I can definitely picture us together.",
"You're so fine, you made me forget my pickup line.", "I never believed in love at first sight, but that's before I saw you.", "Your eyes are like IKEA. I could get lost in them for hours", "I still get butterflies in my stomach when I think about you.", "Want a raisin? No? How about a date?", "Did we go to school together? I could swear we had chemistry.", " seem to have lost my phone number. Can I have yours?", "I’m going to have to ask you to leave, you’re making everyone else in here look bad.", "Want to go outside for some fresh air? You took my breath away.", "Are you a loan? Because you've got my interest.",
];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function catFacts() {
const list = ["Cats are believed to be the only mammals who don’t taste sweetness.", "Cats can jump up to six times their length.", "Cats have 230 bones, while humans only have 206.", "Cats have whiskers on the backs of their front legs, as well.", "Cats make very little noise when they walk around. The thick, soft pads on their paws allow them to sneak up on their prey”", "Cats have an extra organ that allows them to taste scents on the air", "Cats have an extra organ that allows them to taste scents on the air", "Cats use their long tails to balance themselves when they’re jumping or walking along narrow ledges.", `There are cats who have more than 18 toes. These extra-digit felines are referred to as being "polydactyl".`, "Cats are crepuscular, which means that they’re most active at dawn and dusk.", "Cats can spend up to a third of their waking hours grooming.", "Cats may yawn as a way to end a confrontation with another animal. Think of it as their “talk to the hand” gesture.", "Meowing is a behavior that cats developed exclusively to communicate with people.", "When a cat flops over and exposes his belly, it’s not always an invitation for a belly rub. A cat does this when he’s relaxed and showing trust.", "When cats hit you with retracted claws, they’re playing, not attacking.", "Cats are very fussy about their water bowls; some prefer to ignore their bowls entirely in favor of drinking from the sink faucet", "Some cats love the smell of chlorine.", "For some reason, cats really dislike citrus scents."]
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function randomColorandAnimation() {
const list = ["black", "red", "green", "blue", "yellow",];
const second = ["red", "black", "yellow", "purple"];
const third = ["Gill Sans", "Verdana", "Arial", "Helvetica", "Arial Black", "Tahoma", "Trebuchet MS", "Impact"];
const fourth = ["10px", "5px", "15px", "20px", "25px"]
const computerChoice = list[Math.floor(Math.random() * list.length)];
const computerChoice2 = second[Math.floor(Math.random() * second.length)];
const computerChoice3 = third[Math.floor(Math.random() * third.length)];
const computerChoice4 = fourth[Math.floor(Math.random() * fourth.length)];
document.body.style.background = computerChoice;
document.body.style.color = computerChoice2;
document.body.style.fontFamily = computerChoice3;
document.body.style.fontSize = computerChoice4;
}
function dadjokes() {
const list = ["Why shouldn't you tell secrets in a cornfield? There are too many ears all around.", "What kind of underpants do lawyers wear? Briefs.", "What do you call it when a cow grows facial hair? A moo-stache.", "Did you hear about the cleaners who went to space? They ended up scrubbing the mission.", "Did you hear about the two rowboats that got into an argument? It was an oar-deal.", "What did the beach say when the tide came in? Long time no sea.", "Why do turkeys play percussion? They have drumsticks.", "There are only two things I don't eat for breakfast: Lunch and dinner.", "I adopted a dog from a blacksmith. As soon as I brought him home, he made a bolt for the door.", "How much does it cost to swim with sharks? An arm and a leg.", "What did one toilet say to the other? You appear a bit flushed.", "Why are most people tired on April 1? They've just finished a 31-day March.", "How do you make a tissue dance? Put a little boogie in it.", "Why did the rabbit go to the salon? It was having a bad hare day.", "Where do birds stay when they travel? Someplace cheep.",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function pizzaToppings() {
const list = ["Pepperoni", "Onions", "Ham", "Mushrooms", "Sausage", "Pineapple", "Supreme (Bacon, Onion, beef mince, capsicum(bell peppers), pepperoni, mushroom, andolive)", "Hawaiian (Ham and Pineapple)", "BBQ Meatlovers (pepperoni, bacon, cabanossi, beef mince, ham)", "Garlic Butter Prawns and Chilli (garlic butter prawns, capsicum, onion, chili, rocket)", "Sausage and Kale", "Hot n’ spicy(spicy salami, capsicum, sliced jalapenos, onions, hot sauce)", "Aussie pizza (bacon, red onion, a whole egg cracked on)", "Caramelized onion, feta, beef mince", "Squid, chorizo, rocket", "Spring pizza (zucchini, artichoke, asparagus, spinach, and pesto dolloped on just before serving)", "Seafood pizza (precooked squid, mussels, clams, prawns etc)", "BBQ chicken (BBQ sauce, shredded chicken, red onion, smoked paprika)"];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function randomBreakfast() {
const list = ["Scrambled Eggs", "Boiled Eggs", "bacon", "bagel", "Froot loop", "Avocado Toast", "Yogurt", "Frosted Flakes"];
const sundayChoice = list[Math.floor(Math.random() * list.length)];
const mondayChoice = list[Math.floor(Math.random() * list.length)];
const tuesdayChoice = list[Math.floor(Math.random() * list.length)];
const wednesdayChoice = list[Math.floor(Math.random() * list.length)];
const thursdayChoice = list[Math.floor(Math.random() * list.length)];
const fridayChoice = list[Math.floor(Math.random() * list.length)];
const saturdayChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
const display2 = document.getElementById('result2');
display.textContent = `Sunday: ${sundayChoice} | Monday: ${mondayChoice} | Tuesday: ${tuesdayChoice} | Wednesday: ${wednesdayChoice} `;
display2.textContent = `Thursday: ${thursdayChoice} | Friday: ${fridayChoice} | Saturday: ${saturdayChoice} | `;
}
function randomCompliments() {
const list = ["Your smile is contagious.", "I bet you can make even the crankiest babies smile.", "You have the best laugh.", "You light up the room.", "You have a great sense of humor.", "If you were a cartoon character, you'd be the one that gets bluebirds to sing on your shoulders.", "You're like sunshine on a rainy day.", "Colors seem brighter when you're around.", "You are perfect just the way you are.", "You are enough.", "On a scale from 1 to 10, you're an 11.", "You're one of a kind."];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function insults() {
const list = ["Can I have the name of your hair salon? I need to know where not to go.", "If you were a spice, you’d be flour.", "I smell something burning. Are you trying to think again?", "You’re like a lighthouse in a desert: bright but not very useful.", "You’re just like a Russian doll—full of yourself.", " You are the human equivalent of a participation trophy.", "Your face is just fine. It’s your personality that’s the issue.", "I do not have the time or the crayons to explain this to you.", "I will not have a battle of wits with someone who is unarmed.", "It appears that your brain cells are not holding hands right now.", "You have your entire life to be a knucklehead. You can take today off.", "Where’s your off button?", "You are proof that the universe has a sense of humor.", "I know you are, but what am I?", "I bet your pH level is 14. Basic.", "How do you not fall down more?", "You’re as deep as a puddle in a parking lot.", "You remind me of a slightly tilted picture frame.", "Stupidity is not a crime. You’re free to go.", "You really should come with a warning label.", "I would describe your personality as a vibrant shade of beige.", "A sharp tongue is not necessarily an indicator of a keen mind.", "You don’t need to fear success. You have nothing to worry about.", "Is there an intermission to this drama?"];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function furniture() {
const list = ["Sofas", "Sectionals", "Sleeper Sofas", "Accent Chairs", "Loveseats", "Chaises", " Chairs-and-a-half", "Recliners", "Swivels & Gliders", "Chair Ottomans", "Coffee tables", "End tables", "Benches", "Accent tables", "Accent chests", "Bookcases and open shelving", "Credenzas and consoles", "Dining tables", "Arm Chairs", "SideChairs", "Bar and counter stools", " Sideboards", "Console tables", "Beds", "Headboards", "Nightstands", "Dressers", "Chests and armoires", "Mirrors", "Mattresses", "Desks", "Storage cabinets",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function icecream() {
const list = ["Chocolate", "Vanilla", "Strawberry", "Mint Chocolate Chip", "Butter Pecan", "Chocolate Chip Cookie Dough", " Cookies n' Cream", "Rocky Road", "Coffee", "Chocolate Chip", "Pistachio", "Neapolitan", "Cake Batter", "Salted Caramel", "Butterscotch", "French Vanilla", "Cherry Vanilla", "Chocolate Peanut Butter", "Maple", "Black Raspberry Chip", "Moose Tracks", "Raspberry Ripple", "Strawberry Cheesecake", "Cotton Candy", "Watermelon", "Pralines 'n Cream", "Matcha Green Tea", "Banana", "Rum Raisin", "Bubblegum", "Tutti Frutti", "Eggnog"];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function emoji() {
const list = ["😀", "😃", "😄", "😁", "😆", "😅", "😂", "🤣", "🥲", "🥹", "😊", "😇", "🙂", "🙃", "😉", "😌", "🤬", "😶🌫️", "🤢", "👾", "🤑",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function summerOlympicSports() {
const list = ["Archery", "Artistic Gymnastics", "Artistic Swimming", "Athletics", "Badminton", "Baseball/Softball", "Basketball", "Basketball 3x3", "Beach Volleyball", "Boxing", "Breaking", "Canoe Slalom", "Canoe Sprint", "Cricket", "Cycling BMX Freestlye", "Cycling BMX Racing", "Cycling Mountain Bike", "Cycling Road", "Cycling Track", "Diving", "Equestrian", "Fencing", "Flag Football", "Football(Soccer)", "Golf", "Handball", "Hockey", "Judo", "Karate", "Lacrosse", "Marathon Swimming", "Modern Pentathlon", "Rhythmic Gymnastics", "Rowing", "Rugby Sevens", "Sailing", "Shooting", "Skateboarding", "Table Tennis", "Taekwondo", "Trampoline", "Triathlon", "Volleyball", "Water Polo", "Weightlifting", "Wrestling",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function winterOlympicSports() {
const list = ["Alpine Swiing", "Biathlon", "Bobsleigh", "Cross-sountry Skiing", "Curling", "Figure Skating", "Freestyle Skaiing", "Ice Hockey", "Luge", "Nordic Combined", "Short Track Speed Skating", "Skeleton", "Ski Jumping", "Ski Mountaineering", "Snowbaord", "Speed Skating",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function summerYouthOlympicSports() {
const list = ["Acrobatic Gymnastics", "Archery", "Artistic Gymnastics", "Athletics", "Badminton", "Baseball 5", "Basketball 3x3", "Beach Handball", "Beach Volleyball", "Boxing", "Breaking", "Cycling BMX Freestyle", "Cycling Road", "Diving", "Equestrian", "Fencing", "Futsal (Soccer)", "Golf", "Hockey", "Judo", "Karate", "Modern Pentathlon", "Rhythmic Gymnastics", "Roller SPeed Skating", "Rowing", "Rugby Sevens", "Sailing", "Shooting", "Skateboarding", "Sport Climbing", "Surfing", "Swimming", "Table Tennis", "Taekwondo", "Tennis", "Trampoline", "Triathlon", "Weightlifting", "Wrestling", "Wushu",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function winterYouthOlympicSports() {
const list = ["Alpine Skiing", "Biathlon", "Bobsleigh", "Cross-Country Skiing", "Curling", "Figure Skating", "Freestlye Skiing", "Ice Hockey", "Luge", "Nordic Combined", "Short Track Speed SKating", "Skeleton", "Ski Jumping", "Ski Mountaineering", "Snowboard", "Speed Skating",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function dogFacts() {
const list = ["All Dogs Are Directly Descended from Wolves", "There Are Over 75 Million Pet Dogs in the United States", "A Dog’s Nose Is Its Fingerprint", "Puppies Are Born Deaf and Blind", "A Dog’s Sense of Smell Is Reduced When Panting", "Dogs Have Stellar Noses", " Dogs Have Fewer Taste Buds Than Humans", "Dogs Are as Smart as 2-Year-Old Children", "Dogs Can Learn More Than 1,000 Words", " Dogs Sleep Curled in a Ball Out of Instinct", "A Bloodhound’s Nose Is So Strong Their Scent Can Be Used in Court", "A dog named Lassie Was the First Animal in the Animal Hall of Fame in 1969", "Basenjis Are the Only Barkless Dogs", "Obesity Is the Number One Health Concern in Dogs", "Chocolate Can Be Fatal to a Dog", "The Beatles Song “A Day in the Life” Has a Frequency Only Dogs Can Hear", "Dogs Learn About Each Other Through Butt Sniffing", "Your Dog Is More Responsive to Your Tone Than Your Words", "Dogs Dream Just Like You and Me", "Dalmatians Are Born Completely White", "Greyhounds Can Beat Cheetahs in a Race", " Dogs Are Selfless", "Humans and Dogs Improve Each Other’s Health", "The Saluki Is the Oldest Dog Breed", "Irish Wolfhounds Are the Tallest Dog Breed", "The Tallest Dog in the World Was 44 Inches Tall", "The Old English Mastiff and St. Bernard Are the World’s Heaviest Dog Breeds", "A Bulldog Was Taught to Skateboard", " There Are Approximately 600 Million Dogs in the World", "Dogs Were Domesticated Between 9,000 and 34,000 Years Ago", " Approximately 63.4 Million Households in the United States Have a Dog",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function dogJokes() {
const list = ["How does a Japanese chihuahua say hello? | Konichihuahua.", "What do you call a wild dog that meditates? | Aware wolf. ", "What do you call a dog who is getting old? | GrandPAW.", "Why did the man living in Alaska name his dog Frost? | Because Frost bites.", "What do you call a dog magician? | A labracadabrador. ", "Why should you be careful when it rains cats and dogs? | Because you might step in a poodle.", "In English class, why do dogs like conjunctions? | Because dogs love buts.", "Which dog breed is Dracula's favorite? | Bloodhounds.", "Why did the Dachshund want to sit in the shade? | Because it was a hot dog.", "Which dog breed loves living in the Big Apple? | A New Yorkie.", "Why is it called a litter of puppies? | Because they’ll trash the place.", "Why didn't the dog want to play football? | It was a Boxer.", "When you cross a dog with a cougar, what do you get? | A lot of trouble with a postman.", "What do dogs usually like to eat at the movie theaters? | Pupcorn", `Policeman: "Excuse me Mr, but were you aware that your dog has been chasing a guy on his bike?" | Dog Owner: "Are you nuts? My dog is not even able to ride a bike."
`, "What do you call a cowardly dog? | A golden retreater.", `Why can't you tell knock knock jokes to a dog? | "Knock knock", Dog: "grrrr, woof, woof, bark, bark, bark." `, "What do a dog and a marine biologist have in common? | One wags a tail, and the other tags a whale.", "What kinds of outdoor markets do dogs despise? | Flea markets.", "What was the little Scottish dog's reaction when he first saw the Loch Ness Monster? | He was Terrier-fied.", "What did Darth Vader's dog say to Luke's dog? | Come on! Join the bark side.",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function catJokes() {
const list = ["What is a cat's best subject in school? | Hiss-tory", "What do you call a cat who works in business | A purrfessional", "What’s a cat’s favorite TV show? | Claw & Order: Special Kittens Unit.", "What do you call the cat that gets caught by the police? | The purrpetrator.", "Why don’t cats play poker in the jungle? | Too many cheetahs!", "What’s a cat’s favorite song? | “Fur Elise.”", "Why don’t kittens like online shopping? | They prefer cat-alogues.", "Why did the cat ask for a drum set? | To play some bangin’ purrcussion!", "What did the cat say when it lost all its money? | “I’m paw!”", "Why don’t cats like house parties? | Too many cat-astrophes.", "What do you call a cat who runs the post office? | Post Meowster.", "What do you call a cat who works in business? | A purrfessional.", "What do you call a cat who teaches at a university? | A purrfessor.", "How do you impress a cat at dinnertime? | Prepare a fancy feast.",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function christmasMovies() {
const list = ["The Santa Clause (1994)", "A Christmas Story (1983)", "Rudolph, The Red-Nosed Reindeer (1964)", "National Lampoon's Christmas Vacation (1989)", "How the Grinch Stole Christmas! (1966)", "How the Grinch Stole Christmas (2000)", "Elf (2003)", "A Charlie Brown Christmas (1965)", "The Holiday (2006)", "Home Alone (1990)", "It's A Wonderful Life (1946)", "Scrooged (1988)", " Miracle on 34th Street (1947)", "Miracle on 34th Street (1994)", "Love Actually (2003)", "The Muppet Christmas Carol (1992)", "Die Hard (1988)", "The Nightmare Before Christmas (1993)", "The Family Stone (2005)", "Bad Santa (2003)", "Meet Me in St. Louis (1944)", "The Polar Express (2004)",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function naturalHazards() {
const list = ["Avalanche", "Coastal Flooding", "Cold Wave", "Drought", "Earthquake", "Hail", "Heat Wave", "Hurricane", "Ice Storm", "Landslide", "Lightning", "Riverine Flooding", "Strong Wind", "Tornado", "Tsunami", "Volcanic Activity", "Wildfire", "Winter Weather",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function dogbreeds() {
const list = ["Avalanche", "Coastal Flooding", "Cold Wave", "Drought", "Earthquake", "Hail", "Heat Wave", "Hurricane", "Ice Storm", "Landslide", "Lightning", "Riverine Flooding", "Strong Wind", "Tornado", "Tsunami", "Volcanic Activity", "Wildfire", "Winter Weather",];
const computerChoice = list[Math.floor(Math.random() * list.length)];
const display = document.getElementById('result');
display.textContent = `${computerChoice}`;
}
function bubbleWrap() {
document.getElementById("bubblePicture").innerHTML = `<img
id="picture" src="Popped Bubble wrap resize (78 x 71).png">`;
let audio = new Audio("pop-39222.mp3");
audio.play();
}
function newBubbleWrap() {
document.getElementById("bubblePicture").innerHTML = `<img
onclick="bubbleWrap()" id="picture" src="Single bubble.png">`;
}
// Jamacian
function banana() {
const bananaImages = ['Ackee.png.webp', `avocado.png.webp`, 'bananas-1.png.webp', "cherry-1.png.webp", "custard-apple-20162856.webp","guava-1.png.webp","Guinep.png.webp","jackfruit-1.png.webp","istockphoto-2039468660-612x612.jpg", "Mango-2.jpg.webp", "Naseberry.png.webp", "Ortanique.png.webp", "Otaheiti-apple.png.webp", "papaya-1.png.webp", "Jamaican-passionfruit.jpg.webp","Pineapple-1.jpg.webp","jamaican_hog_plum.jpg.webp", "watermelon.png.webp", "Tamarind.png.webp","Sugar-Apple.png.webp","Purple-star-apples.jpg.webp","Soursop.png.webp"]
const selectedBanana = bananaImages[Math.floor(Math.random() * bananaImages.length)];
if (selectedBanana == "Ackee.png.webp") {
document.getElementById("result2").innerHTML = `Ackee`;
}
else if (selectedBanana == "avocado.png.webp") {
document.getElementById("result2").innerHTML = ` Avocado (Jamaican Pear)`;
}
else if (selectedBanana == 'bananas-1.png.webp') {
document.getElementById("result2").innerHTML = ` Banana`;
}
else if (selectedBanana == 'cherry-1.png.webp') {
document.getElementById("result2").innerHTML = ` Cherries`;
}
else if (selectedBanana == 'custard-apple-20162856.webp') {
document.getElementById("result2").innerHTML = ` Custard Apple`;
}
else if (selectedBanana == 'guava-1.png.webp') {
document.getElementById("result2").innerHTML = ` Guava`;
}
else if (selectedBanana == 'Guinep.png.webp') {
document.getElementById("result2").innerHTML = ` Guinep`;
}
else if (selectedBanana == 'jackfruit-1.png.webp') {
document.getElementById("result2").innerHTML = ` Jackfruit`;
}
else if (selectedBanana == 'istockphoto-2039468660-612x612.jpg') {
document.getElementById("result2").innerHTML = ` June Plum`;
}
else if (selectedBanana == 'Mango-2.jpg.webp') {
document.getElementById("result2").innerHTML = ` Mango`;
}
else if (selectedBanana == 'Naseberry.png.webp') {
document.getElementById("result2").innerHTML = `Naseberry`;
}
else if (selectedBanana == 'Ortanique.png.webp') {
document.getElementById("result2").innerHTML = `Ortanique`;
}
else if (selectedBanana == 'Otaheiti-apple.png.webp') {
document.getElementById("result2").innerHTML = `Otaheiti Apple`;
}
else if (selectedBanana == 'papaya-1.png.webp') {
document.getElementById("result2").innerHTML = `Papaya`;
}
else if (selectedBanana == 'Jamaican-passionfruit.jpg.webp') {
document.getElementById("result2").innerHTML = `Jamaican Passionfruit`;
}
else if (selectedBanana == 'Pineapple-1.jpg.webp') {
document.getElementById("result2").innerHTML = `Pineapple`;
}
else if (selectedBanana == 'jamaican_hog_plum.jpg.webp') {
document.getElementById("result2").innerHTML = `Plums`;
}
else if (selectedBanana == 'Soursop.png.webp') {
document.getElementById("result2").innerHTML = `Soursop`;
}
else if (selectedBanana == 'Purple-star-apples.jpg.webp') {
document.getElementById("result2").innerHTML = `Starapple`;
}
else if (selectedBanana == 'Sugar-Apple.png.webp') {
document.getElementById("result2").innerHTML = `Sweetsop`;
}
else if (selectedBanana == 'Tamarind.png.webp') {
document.getElementById("result2").innerHTML = `Tamarind`;
}
else if (selectedBanana == 'watermelon.png.webp') {
document.getElementById("result2").innerHTML = `Watermelon`;
}
// Display/results Part
document.getElementById("jamResult").innerHTML = `<img
src="${selectedBanana}">`
}