-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (59 loc) · 4.95 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<button id="meatbutton" onclick="generateMainOrMeatIdea()">Generate main dish or meat idea</button>
<p id="meat"></p>
<button id="veggiebutton" onclick="generateVeggieIdea()">Generate veggie idea</button>
<p id="veggie"></p>
<button id="carbbutton" onclick="generateCarbIdea()">Generate carb idea</button>
<p id="carb"></p>
<button id="snackbutton" onclick="generateSnackIdea()">Generate snack/dessert/breakfast idea</button>
<p id="snack"></p>
<button id="drinkbutton" onclick="generateDrinkIdea()">Generate drink idea</button>
<p id="drink"></p>
<script>
function generateMainOrMeatIdea() {
const meats = ["Boiled pork belly with sauce", "Marinated hardboiled eggs", "Birria tacos",
"Hainan chicken", "Baked spam", "Miso glazed salmon",
"Baked meatballs", "Fried egg", "Garlic butter pork chops", "Tomato egg", "Oxtail soup"
"Fried tofu", "Fried dumplings", "Spicy braised tofu",
"Ochazuke", "Teriyaki salmon", "Kimchi jjigae", "Dakbokkeumtang", "Japanese curry",
"Buffalo wings", "Sutadon", "Butter chicken", "Chickpea curry", "Butadon",
"Chicken soup", "Thai basil chicken", "Salmon seaweed wraps", "Asian style spareribs", "Char siu",
"Soy garlic chicken", "3 cup chicken", "Yuzu glazed salmon", "French bread pizza", "Thai red curry",
"Ginger pork belly", "Honey sriracha sauce chicken/pork belly/shrimp", "Chipotle taco rice bowl", "Chicken piccata",
"Tom yum ramen (use vegetable/chicken stock)", "Chicken pesto sandwich", "Ham/turkey, fried egg, spinach/arugula, cheese/pesto (optional) sandwich"];
document.getElementById("meat").innerHTML = meats[(Math.floor(Math.random() * meats.length))];
}
function generateVeggieIdea() {
const veggies = ["Kimchi", "Stir fried kimchi with onions", "Roasted brussels sprouts", "Roasted potatoes", "Roasted sweet potatoes with cinnamon", "Miso eggplant",
"Garlic snow peas", "Garlic green beans", "Sauteed mushrooms with butter", "Roasted carrots", "Korean seaweed soup with korean radish",
"Miso soup", "Sliced cucumbers", "Roasted broccoli with lemon drizzle", "Boiled sesame broccoli", "Roasted asparagus", "Sauteed spinach", "Edamame",
"Smashed potatoes", "Roasted/boiled kabocha", "Garlic lemony sugar snap peas", "Boiled corn", "Sauteed onions",
"Roasted zucchini with some cheese", "Pan fried baby corn and snow peas", "Roasted onions", "Roasted cauliflower/broccoli with lemon tahini"];
document.getElementById("veggie").innerHTML = veggies[(Math.floor(Math.random() * veggies.length))];
}
function generateCarbIdea() {
const carbs = ["Steamed bun", "Mac and cheese", "White rice", "Rice with furikake", "Rice with edamame", "Pasta", "Korean pancake",
"Green onion pancake", "Chili oil noodles", "Garlic bread", "Brown rice", "Congee", "Quinoa", "Couscous", "Tortillas", "Naan"];
document.getElementById("carb").innerHTML = carbs[(Math.floor(Math.random() * carbs.length))];
}
function generateSnackIdea() {
const snacks = ["Avocado toast", "Avocado toast with fried egg", "Avocado toast with bacon slices", "Oatmeal with banana", "Oatmeal with raspberries",
"Oatmeal bars", "Chocolate bark", "Trail mix with white chocolate", "Yogurt and nuts", "Chia seed pudding with berries",
"Coconut milk chia seed pudding with mango", "Pancakes with fruit", "Fried eggs with spinach and bacon/sausage/potatoes",
"Toast with fried egg and ham/cream cheese", "Yogurt parfait", "Roasted chickpea snack", "Chocolate/flavored puffed rice cakes", "Oatmeal banana cookies",
"Pancakes with mango and macadamia nuts", "Tres leches"];
document.getElementById("snack").innerHTML = snacks[(Math.floor(Math.random() * snacks.length))];
}
function generateDrinkIdea() {
const drinks = ["Mint tea", "Rooibos tea", "Oat milk with fruit jam", "Orange juice", "Mango, strawberry, blueberry smoothie",
"Mango banana smoothie", "Honey lemon ginger tea", "Triple berry smoothie", "Chocolate almond butter date smoothie"];
document.getElementById("drink").innerHTML = drinks[(Math.floor(Math.random() * drinks.length))];
}
</script>
</body>
</html>