π
π
π
π
document.querySelector('#search').focus( )); ">
Search
res.json()).then(res => { sessionStorage.setItem('searchResults', JSON.stringify(res)); searchResults = res; }); } " @input=" matches = []; if (searchInput.length < 3) { return }; searchResults.forEach(recipe => { const matchTitle = recipe.title.toLowerCase().includes(searchInput.toLowerCase()); const matchIngredient = recipe.ingredients.find(ingredient => ingredient.toLowerCase().includes(searchInput.toLowerCase())); const matchTag = recipe.tags.find(tag => tag.toLowerCase().includes(searchInput.toLowerCase())); if (!matchTitle && !matchIngredient && !matchTag) { return }; const match = {...recipe}; if (matchTitle) { match.matchTitle = matchTitle }; if (matchIngredient) { match.matchIngredient = matchIngredient }; if (matchTag) { match.matchTag = matchTag }; matches.push(match) }); ">
Close
Contains:
Rub π§
All recipes
BBQ π
Beef π
Baking π₯
Chicken π
Favourite β
Fish π
Grill π₯©
Lamb π
Other β
Pork π
Pasta π
Rub π§
Soup π₯£
Sauce π©Έ
Veggies π₯
ΒΌ hour
House Rub
ΒΌ hour
Beef Rub
ΒΌ hour
Montreal Steak Spice
ΒΌ hour
SPG