Find What You Can Cook
Just type your ingredients, and we'll show you what YOU can cook!
{ handleInputEnd() }} bind:value={searchBar} type="text" placeholder="Type ingredients and/or add a '#' in front to filter by tags" class="input input-bordered w-full" />
{ await searchRecipes() }} class="btn btn-square" >
{#if tags.length > 0}
{#each tags as tag, i}
removeFromTags(tag)} >
#{tag}
{/each}
{/if} {#if fridge.length > 0}
{#each fridge as ing, i}
removeFromFridge(ing)} >
{ing}
{/each}
{/if}
{#if searchMatches.length > 0}
{#each searchMatches as ingredient, i}
setInputVal(ingredient)} >
{ingredient}
{/each}
{/if}
{#await searchRecipes}
Loading...
{:then} {#if loaded == true && recipes.length > 0}
{:else} {searchStatus} {/if} {/await}
{ handleAutoCompTO(e) }} />