-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe1.html
157 lines (144 loc) · 8.38 KB
/
recipe1.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
<!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">
Buffalo Chicken Dip 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="">2 (10 ounce) cans chunk chicken, drained</a></li>
<li><a href="#">3/4 cup hot pepper sauce</a></li>
<li><a href="#">2 (8 ounce) packages cream cheese, softened</a></li>
<li><a href="#">1 cup ranch dressing</a></li>
<li><a href="#">1 ½ cups shredded Cheddar cheese</a></li>
<li><a href="#">1 bunch celery, cut into 4-inch pieces</a></li>
<li><a href="#">1 (8 ounce) box chicken-flavored crackers</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>
Heat chicken and hot pepper sauce in a skillet over medium heat until heated through, 3 to 5 minutes. Stir in cream cheese and ranch dressing. Cook and stir until well blended and warm, 3 to 5 minutes.
</p>
<h2>Step 2</h2>
<p>
Mix in 1/2 of the Cheddar cheese, and transfer the mixture to a slow cooker. Sprinkle the remaining cheese over top.
</p>
<h2>Step 3</h2>
<p>
Cover and cook on Low until dip is hot and bubbly, about 35 minutes.
</p>
<h2>Step 4</h2>
<p>
Serve with celery sticks and crackers.
</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>