-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe2.html
160 lines (147 loc) · 8.65 KB
/
recipe2.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
<!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">
Roasted Chicken Sides 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 (3 pound) whole chicken, giblets removed</a></li>
<li><a href="#">salt and black pepper to taste</a></li>
<li><a href="#">1 tablespoon onion powder, or to taste</a></li>
<li><a href="#">½ cup butter or margarine</a></li>
<li><a href="#">1 stalk celery, leaves removed</a></li>
<li><a href="#"></a></li>
<li><a href="#"></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 350 degrees F (175 degrees C).
</p>
<h2>Step 2</h2>
<p>
Place chicken in a roasting pan; season generously inside and out with onion powder, salt, and pepper.
Place 3 tablespoons of butter in chicken cavity; arrange dollops of remaining butter on the outside of chicken.
Cut celery into 3 or 4 pieces; place in the chicken cavity.
</p>
<h2>Step 3</h2>
<p>
Bake chicken uncovered in the preheated oven until no longer pink at the bone and the juices run clear, about 1 hour and 15 minutes.
An instant-read thermometer inserted into the thickest part of the thigh, near the bone, should read 165 degrees F (74 degrees C).
</p>
<h2>Step 4</h2>
<p>
Remove from the oven and baste with drippings. Cover with aluminum foil and allow to rest for about 30 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>