-
Notifications
You must be signed in to change notification settings - Fork 0
/
displayRecipe.html
123 lines (114 loc) · 2.81 KB
/
displayRecipe.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0" />
<title>Results</title>
<link
rel="stylesheet"
href="/style.css" type="text/css" />
<link rel="stylesheet" href="/src/components/displayRecipe.css">
</head>
<body>
<header class="header">
<div class="left-side">
<h1>Results:</h1>
<p id="recipe-count"></p>
</div>
<!-- Search -->
<div class="search-field">
<input
type="text"
name="searchResult"
id="search"
title="Find Recipe"
placeholder="Search by recipe names or first letter..."
/>
<button
type="button"
title="Search Button"
id="search-btn">
<img
src="/svgs/Search.svg"
alt="Search Icon" />
</button>
</div>
</header>
<div class="flex">
<aside class="left-aside">
<div class="filter-options">
<div class="c">
<h2>Category</h2>
<div>
<span>Beef</span>
<span>Chicken</span>
<span>Dessert</span>
<span>Lamb</span>
<span>Pasta</span>
<span>Pork</span>
<span>Seafood</span>
<span>Vegetarian</span>
<span>Goat</span>
<span>Vegan</span>
<span>Breakfast</span>
</div>
</div>
<div class="a">
<h2>Areas</h2>
<div>
<span>American</span>
<span>British</span>
<span>Canadian</span>
<span>Chinese</span>
<span>Croatian</span>
<span>Dutch</span>
<span>Egyptian</span>
<span>Filipino</span>
<span>French</span>
<span>Greek</span>
<span>Indian</span>
</div>
</div>
<div class="i">
<div>
<h2>Ingredients</h2>
<span>Chicken</span>
<span>Salmon</span>
<span>Beef</span>
<span>Pork</span>
<span>Avocado</span>
<span>Apple Cider Vigar</span>
<span>Asparagus</span>
<span>Aubergine (Eggplant)</span>
<span>Baby Plum Tomatoes</span>
<span>Bacon</span>
<span>Baking Powder</span>
</div>
</div>
</div>
<div class="brand-name">
<img src="/svgs/logo.svg" alt="FindRecipe's Logo">
<a href="/index.html">Find<span class="highlight">Recipe</span></a>
</div>
</aside>
<!-- Add a message when no recipe are rendered -->
<p id="noRecipe-message" class="message"></p>
<div class="grid" id="recipe-container">
<!-- <div class="meal">
<img
src="/featured/beef-stroganoff-bg.png"
alt="" loading="lazy"/>
<div class="recipe-info">
<h3>Bramley Apples</h3>
<span>Breakfast, Sweet</span><br />
<button type="button">View Recipe</button>
</div>
</div> -->
</div>
<script
type="module"
src="./src/js/mealDBAPI.js"></script>
</body>
</html>