diff --git a/src/lib/SearchFilter.svelte b/src/lib/SearchFilter.svelte
index d86d714..f398178 100644
--- a/src/lib/SearchFilter.svelte
+++ b/src/lib/SearchFilter.svelte
@@ -1,18 +1,61 @@
-
-
- {#each filteredSearch as item}
- - {item}
- {/each}
-
+
+
+
+ {#if isFocused}
+
+ {#each filteredSearch as item}
+ - {
+ search = item;
+ isFocused = false;
+ }}
+ >
+ {item}
+
+ {/each}
+
+ {/if}
+
+
+
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 87fadaf..9a6357e 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -3,13 +3,13 @@
// import BetterAccordion from '$lib/BetterAccordion.svelte';
// import Toggle from '$lib/Toggle.svelte';
let isToggled = false;
-
+ let search = '';
let items = ['scott', 'wes', 'landon', 'courtney', 'lucie', 'brooklyn', 'Samson'];
-Welcome to Level Up UI
+Welcome to Level Up UI {search}
-
+