generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
recipe.html
152 lines (126 loc) · 6.49 KB
/
recipe.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Empty Pantry</title>
<link rel="icon" type="image/png" href="assets/images/pepper-icon.png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hover.css/2.1.1/css/hover-min.css"
type="text/css" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Rozha+One&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,300;0,400;1,400&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="assets/css/about.css" type="text/css">
</head>
<body>
<header>
<!--Navigation Bar-->
<nav class="navbar navbar-light navbar-expand-md fixed-top">
<a href="index.html" class="navbar-brand logo">Empty Pantry</a>
<button class="navbar-toggler ml-auto" id="tog-btn" type="button" data-toggle="collapse"
data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse menu" id="navbarNavDropdown">
<ul class="navbar-nav topnav-right ml-auto">
<li class="active nav-item mr-2"><a class="nav-link" href="recipe.html">Recipes</a></li>
<li class="nav-item mr-2"><a class="nav-link" href="about.html">About</a></li>
<li class="nav-item mr-2"><a class="nav-link" href="contact.html">Contact</a></li>
</ul>
</div>
</nav>
</header>
<!---BODY--->
<section id="recipe-finder">
<div class="container-fluid">
<div class="recipe-header">
<h1>Let's get cooking!</h1>
<p> Whatever is left in your empty pantry, we have a recipe idea for you!</p>
</div>
<div id="recipe-search" class="container-fluid">
<input id="search" placeholder="Type ingredient here..">
<button id="recipe-button" type="submit" onclick="recipeResults();openMessage();">Search</button>
<br>
</div>
<p class="recipe-sub" id="recipe-sub">Please type one ingredient per search.</p>
<div id="meal" class="container-fluid">
<!--- <div id="recipe-wrapper">
<h2> ${recipe[i].strMeal}</h2>;
<img src=${recipe[i].strMealThumb} width ='300px'/>;
<button type="button" id="toggle" onclick= "showMethod()">info</button>
<p id='recipe'>${recipe[i].strInstructions} </p>
</div>-->
</div>
</div>
</section>
<!--FOOTER-->
<footer class="container-fluid sticky-bottom">
<div class="row">
<div class="col-sm">
<a href="contact.html">
<h5 class="uppercase general-sub">email</h5>
<i class="fa fa-paper-plane" aria-hidden="true"></i>
</a>
</div>
<div class="col-sm">
<a href="tel:5551234567">
<h5 class="uppercase general-sub">telephone</h5>
<i class="fa fa-phone" aria-hidden="true"></i>
</a>
</div>
<div class="col-sm">
<h5 class="uppercase general-sub">social</h5>
<ul class="list-inline social-links">
<li class="list-inline-item">
<a target="_blank" href="https://www.facebook.com/">
<i class="fa fa-facebook" aria-hidden="true"></i>
<span class="sr-only">Facebook</span>
</a>
</li>
<li class="list-inline-item">
<a target="_blank" href="https://twitter.com/?lang=en-gb">
<i class="fa fa-twitter" aria-hidden="true"></i>
<span class="sr-only">Twitter</span>
</a>
</li>
<li class="list-inline-item">
<a target="_blank" href="https://www.pinterest.co.uk/">
<i class="fa fa-pinterest" aria-hidden="true"></i>
<span class="sr-only">Pinterest</span>
</a>
</li>
<li class="list-inline-item">
<a target="_blank" href="https://www.instagram.com/gutsy_baker/">
<i class="fa fa-instagram" aria-hidden="true"></i>
<span class="sr-only">Instagram</span>
</a>
</li>
<li class="list-inline-item">
<a target="_blank" href="https://www.youtube.com/watch?v=XHfiWYcYpJk">
<i class="fa fa-youtube" aria-hidden="true"></i>
<span class="sr-only">Youtube</span>
</a>
</li>
</ul>
</div>
</div>
</footer>
</body>
<script src="assets/js/recipe.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
crossorigin="anonymous"></script>
</html>