navigation between questions okaydokay

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-01-05 18:11:34 +01:00
parent 77ad823803
commit 5d829273da
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
6 changed files with 56 additions and 39 deletions

View file

@ -2,12 +2,13 @@
import UserFormInput from "../../userform/UserFormInput.svelte";
export let answerText:string
export let answerNum:number
</script>
<div class="flex flex-col">
<div class="flex flex-col gap-2 mb-6">
<h1 class="text-xl text-primary font-bold text-center">Svar 2:</h1>
<h1 class="text-xl text-primary font-bold text-center">Svar {answerNum}:</h1>
<div class="bg-secondary p-6 rounded-xl text-sm">
{answerText}
</div>