diff --git a/public/index.html b/public/index.html
index 5da7ed3..4c140ad 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,7 +4,7 @@
-
Svelte app
+ Binary Quiz!
diff --git a/src/components/Inputs.svelte b/src/components/Inputs.svelte
index ddfbc2e..c6573b3 100644
--- a/src/components/Inputs.svelte
+++ b/src/components/Inputs.svelte
@@ -17,6 +17,9 @@
if (!$num_problems){
num_problems.update(() => DEFAULT_NUM_PROBLEMS)
}
+ if (!$bits){
+ bits.update(() => DEFAULT_BITS)
+ }
const problems_ = generateProblems($bits, $num_problems)
problems.update(() => problems_)
activeQuiz.update(() => true)
diff --git a/src/components/Problem.svelte b/src/components/Problem.svelte
index 3e5ed19..1601da8 100644
--- a/src/components/Problem.svelte
+++ b/src/components/Problem.svelte
@@ -34,8 +34,15 @@
{#if displaySummary}
- Congratulations, you've completed {$num_problems} {$bits}-bit problems!
- Go back to home screen.
+
+
+ Congratulations, you've completed {$num_problems} {$bits}-bit problems!
+
+
+
+
{:else}