-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcookbook.html
129 lines (122 loc) · 4.82 KB
/
cookbook.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://fonts.googleapis.com/css?family=Istok Web' rel='stylesheet'>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/cookBook.css">
<title>Shopping List Calculator Cook Book</title>
</head>
<body>
<header class = "main-header">
<div id = main-title>
<h1>Shopping list calculator</h1>
</div>
<div id = "burger-icon">
<button class = "navbutton">
<img id = "navImg" src="../shopping-list-calculator/images/Mask groupnavmenu.png" alt="burger menu">
</button>
</div>
</header>
<nav id="nav-block">
<ul id = links>
<li class = "link"> <a href="../shopping-list-calculator/index.html">Home</a></li>
<li class = "link"> <a href="../shopping-list-calculator/cookbook.html">Cook Book</a></li>
<li class = "link"> <a href="../shopping-list-calculator/fridge.html">Fridge</a></li>
<li class = "link"> <a href="../shopping-list-calculator/shoppinglist.html">Shopping List</a></li>
</ul>
</nav>
<section id="cookbook-hero">
</section>
<div class = "container cook-title">
<section>
<li class="section-title">Cook book</li>
</section>
</div>
<div class="container">
<section class ="recipe">
<h1>Matcha Pancakes</h1>
<h2>Ingredients (serves 1)</h2>
<ul class = "ingredients">
<li>2 teaspoons matcha powder</li>
<li>1/4 cup flour</li>
<li>1/2 teaspoon baking powder</li>
<li>1/2 cup cottage cheese</li>
<li>1 tablespoon milk</li>
<li>1 large egg</li>
</ul>
<h2>Instructions</h2>
<p1>Add ingredients to a blender of food processor. Blend until smooth and combined. Cook on oiled or buttered pan.</p1>
<br>
<label class = "cont" for="matcha-pancakes">
<input type="checkbox" id= "matcha-pancakes" name="addToShoppingCart" value="addToShoppingCart" onclick="addToCartFunction(this)">
<span class="checkmark"></span>Add to shopping cart</label>
<button class="delete" onclick="deleteRecipe(this)">Delete Recipe</button>
</section>
</div>
<div class = "container">
<div id="next-rec">
</div>
</div>
<div class = "container">
<form id = "create-recipe">
<h1>
Create New Recipe
</h1>
<label>Name<br>
<input type="text" id="r-name">
</label>
<br>
<br>
<label>Servings<br>
<input type="text" id="servings">
</label>
<br>
<h2>
Ingredients
</h2>
<label>Add Ingredient<br>
<div id = "new-ings">
</div>
<div id="addForm">
<input type="text" id="addIng" placeholder="Ingredient...">
<input type="number" id="addQuant" placeholder="Quantity...">
<select name="unit" id="units">
<option value="oz">oz</option>
<option value="lbs">lbs</option>
<option value="g">g</option>
</select>
</div>
</label>
<button type = "button" id = "add">
ADD
</button>
<h2>Instructions</h2>
<label>Instructions<br>
<textarea id="instructions" rows = "7" cols="50"></textarea>
</label>
<br>
<button type = "button" id = "create">
CREATE RECIPE
</button>
</form>
</div>
<section id="your-recipes">
<h1>Your Recipes</h1>
<ul id ="links-ul">
<li><a href="#matcha-pancakes">Matcha Pancakes</a></li>
<li><a href="#create-recipe">Create New Recipe</a></li>
</ul>
</section>
<footer>
<div class="container footer-flex">
<a href="https://www.instagram.com/jujulcrane/" target = "_blank"><img src="../shopping-list-calculator/images/InstagramIconCircle.png" alt="Instagram Link"></a>
<p1>Created by Juliet Crane - 7/24/24 <br> [email protected] </p1>
<a href= "mailto: [email protected]"><img src="../shopping-list-calculator/images/MailIcon (1).png" alt="Email Link"></a>
</div>
</footer>
<script src="../shopping-list-calculator/js/cookbook.js"></script>
<script src="../shopping-list-calculator/js/main.js"></script>
</body>
</html>