it now also adds the awnsers to the db
This commit is contained in:
parent
757f3906c4
commit
9da2ddc123
5 changed files with 58 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
import { DefaultQuestions } from "$lib/config.js";
|
||||
import { QuestionsData } from "./create.svelte";
|
||||
import { createGame } from "./createGame";
|
||||
</script>
|
||||
|
||||
<div class="flex w-full justify-center gap-2 overflow-y-auto rounded border-2 p-3 pr-5">
|
||||
|
@ -10,7 +11,7 @@
|
|||
<button class="btn flex items-center gap-1">
|
||||
<i class="nf nf-md-cpu_64_bit"></i> Generate Questions Using AI
|
||||
</button>
|
||||
<button class="btn flex items-center gap-1">
|
||||
<button class="btn flex items-center gap-1" onclick={() => createGame()}>
|
||||
<i class="nf nf-md-play"></i> Start Game
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue