-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe3.html
177 lines (162 loc) · 9.36 KB
/
recipe3.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Freelancer - Start Bootstrap Theme</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Font Awesome icons (free version)-->
<script src="https://use.fontawesome.com/releases/v6.1.0/js/all.js" crossorigin="anonymous"></script>
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet"
type="text/css" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body>
<!-- Navigation-->
<nav class="navbar navbar-expand-lg bg-secondary text-uppercase fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand" href="#page-top">Kitchen Companion</a>
<button class="navbar-toggler text-uppercase font-weight-bold bg-primary text-white rounded" type="button"
data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive"
aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#about">About</a></li>
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#todo">ToDo</a></li>
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#inventory">Inventory</a></li>
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#budget">Budget</a></li>
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#shopping">ShoppingList</a></li>
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#calendar">Calendar</a></li>
<li class="nav-item mx-0 mx-lg-1" style="border-width:3px; border-style:solid; border-color:white;">
<a class="nav-link py-3 px-0 px-lg-3 rounded text-center" href="index.html#recipe">Recipe</a></li>
</ul>
</div>
</div>
</nav>
<header class="masthead bg-primary text-white text-center">
<div class="container d-flex align-items-center flex-column">
<!-- Masthead Avatar Image-->
<img class="masthead-avatar mb-5" src="assets/img/logo.png" alt="..." />
<!-- Masthead Heading-->
<h1 class="masthead-heading text-uppercase mb-0">Kitchen Companion</h1>
<!-- Icon Divider-->
<div class="divider-custom divider-light">
<div class="divider-custom-line"></div>
<div class="divider-custom-icon"><i class="fas fa-star"></i></div>
<div class="divider-custom-line"></div>
</div>
<!-- Masthead Subheading-->
<p class="masthead-subheading font-weight-light mb-0">The future of kitchen organization</p>
</div>
</header>
<section>
<div class="container d-flex align-items-center flex-column">
<h1 class="page-section-heading text-center text-uppercase text-secondary mb-0">
Chicken Pot Pie Recipe
</h1><br><br>
<label ><b>Search Ingredient</b></label>
<input class="text-center" type="text" id="myInputIngredient" onclick="displayKeyboard_recipe()" placeholder="Search Ingredient">
<button class="font-weight-bold bg-secondary text-white rounded button-add" id="addBtn" onclick="myFunction()"
>Search</button>
<img class="keyboard-recipe" src="assets/img/keyboard.png">
<h2 class="page-section-heading text-center text-uppercase text-secondary mb-0">Ingredients</h2>
<ul class="page-section-heading text-center text-uppercase text-secondary mb-0" id="myUL">
<li><a href="">1 pound skinless, boneless chicken breast halves - cubed</a></li>
<li><a href="#">1 cup sliced carrots</a></li>
<li><a href="#">1 cup frozen green peas</a></li>
<li><a href="#">½ cup sliced celery</a></li>
<li><a href="#">⅓ cup butter</a></li>
<li><a href="#">⅓ cup chopped onion</a></li>
<li><a href="#">⅓ cup all-purpose flour</a></li>
<li><a href="#">½ teaspoon salt</a></li>
<li><a href="#">¼ teaspoon black pepper</a></li>
<li><a href="#">¼ teaspoon celery seed</a></li>
<li><a href="#">1 ¾ cups chicken broth</a></li>
<li><a href="#">⅔ cup milk</a></li>
<li><a href="#">2 (9 inch) unbaked pie crusts</a></li>
</ul>
<script>
function myFunction() {
let input = document.getElementById("myInputIngredient");
filter = input.value.toUpperCase();
ul = document.getElementById("myUL");
li = ul.getElementsByTagName("li");
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName("a")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
li[i].style.display = "";
} else {
li[i].style.display = "none";
}
}
removeKeyboard_recipe()
}
function displayKeyboard_recipe() {
// alert(document.getElementsByClassName("keyboard"));
document.getElementsByClassName("keyboard-recipe")[0].style.display = "block";
}
function removeKeyboard_recipe() {
document.getElementsByClassName("keyboard-recipe")[0].style.display = "none";
}
</script>
<h2>Step 1</h2>
<p>
Preheat the oven to 425 degrees F (220 degrees C.)
</p>
<h2>Step 2</h2>
<p>
Combine chicken, carrots, peas, and celery in a saucepan; add water to cover and bring to a boil.
Boil for 15 minutes, then remove from the heat and drain.
</p>
<h2>Step 3</h2>
<p>
While the chicken is cooking, melt butter in another saucepan over medium heat.
Add onion and cook until soft and translucent, 5 to 7 minutes. Stir in flour, salt, pepper, and celery seed.
Slowly stir in chicken broth and milk. Reduce heat to medium-low and simmer until thick, 5 to 10 minutes.
Remove from heat and set aside.
</p>
<h2>Step 4</h2>
<p>
Place chicken and vegetables in the bottom pie crust.
Pour hot liquid mixture over top.
Cover with top crust, seal the edges, and cut away any excess dough.
Make several small slits in the top crust to allow steam to escape.
</p>
<h2>Step 5</h2>
<p>
Bake in the preheated oven until pastry is golden brown and filling is bubbly, 30 to 35 minutes.
Cool for 10 minutes before serving.
</p>
</div>
</section>
<!-- Footer-->
<footer class="footer text-center" padding="3px">
<p>Made for CMSC434 Fall 2022</p>
</footer>
<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *-->
<!-- * * SB Forms JS * *-->
<!-- * * Activate your form at https://startbootstrap.com/solution/contact-forms * *-->
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *-->
<script src="https://cdn.startbootstrap.com/sb-forms-latest.js"></script>
</body>
</html>