-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (44 loc) · 1.9 KB
/
index.html
File metadata and controls
46 lines (44 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="shoppingList.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap" rel="shoppingList.css">
<title>Shopping List</title>
</head>
<body onload="getRecipes(), getExtras()" >
<h1>Shopping List Creator</h1>
<div class="container">
<div class="recipe-listcontainer" id="recipeListContainer">
<h2>Recipes:</h2>
<div class="recipe-list" id="recipeList"></div>
<div class="recipe-ingredients-container" id="recipeIngredientsContainer">
<h2>Ingredients:</h2>
<div class="ingredients-list" id="ingredientsList"></div>
</div>
</div>
<div class="extras-container" id="extrasContainer">
<h2>Extras:</h2>
<div class="extras-list" id="extrasList"></div>
</div>
<div class="shopping-listcontainer" id="shoppingListContainer">
<div class="selected-meals" id="selectedMeals">
<h2>Selected Meals:</h2>
<div class="selected-meals-list" id="selectedMealsList">
<div class='text'>No Meals Selected</div>
</div>
</div>
<div class="selected-extras" id="selectedExtras">
<h2>Selected Extras:</h2>
<div class="selected-extras-list" id="selectedExtrasList">
<div class='text'>No Extras Selected</div>
</div>
</div>
<h2>Shopping List:</h2>
<button class="shopping-button" onclick="generateShoppingList()">Generate Shopping List</button>
<div class="shopping-list" id="shoppingList"></div>
</div>
</div>
</body>
<script src="shoppingList.js"></script>