diff --git a/src/wordle/InfoAndSetings/WordLegnthSetings.svelte b/src/wordle/InfoAndSetings/WordLegnthSetings.svelte index 85e0ad0..0038576 100644 --- a/src/wordle/InfoAndSetings/WordLegnthSetings.svelte +++ b/src/wordle/InfoAndSetings/WordLegnthSetings.svelte @@ -1,5 +1,6 @@ @@ -18,6 +19,7 @@ onclick={() => { WordLegnth.v = LetersSelected; newGame(); + TabOpen.v = "none"; }} >Start New Game with Word legnth of {LetersSelected} letters @@ -34,6 +36,7 @@ padding: 10px; margin: 20px; border-radius: 10px; + width: 400px; } h4 { text-align: center; diff --git a/src/wordle/InfoAndSetings/main.svelte b/src/wordle/InfoAndSetings/main.svelte index 33d8814..a7055ee 100644 --- a/src/wordle/InfoAndSetings/main.svelte +++ b/src/wordle/InfoAndSetings/main.svelte @@ -1,45 +1,58 @@ - -
-
-

A Wordle clone designed for classrooms!

-

- Unlimited guesses, Unlimited words, and choose your own word length! -

+{#if TabOpen.v !== "none"} +
+
+ {#if TabOpen.v == "WordLength"} + + {:else if TabOpen.v == "Stats"} + + {/if} + +
- - - -
+{/if} diff --git a/src/wordle/InfoAndSetings/stats.svelte b/src/wordle/InfoAndSetings/stats.svelte index f642a4e..0cb2cdd 100644 --- a/src/wordle/InfoAndSetings/stats.svelte +++ b/src/wordle/InfoAndSetings/stats.svelte @@ -1,8 +1,8 @@ -

CLASSROOM WORDLE ~made by Rhythm Upadhyay of 7th A

+
@@ -20,6 +73,47 @@