{#if state == "ask" }
Q:
{:else}
A:
{/if}
{ question.description }
{#each props.choices as choice, index }
choose(index)} />
{ choice.text }
{/each}
{#if state == "ask" }
{#if currentChoice < 0}
Skip
{:else}
clearChoice()}>Clear
{/if}
answer(false)} disabled={currentChoice < 0}>Not sure
answer(true)} disabled={currentChoice < 0}>I'm sure
{:else} {#if wasCorrect }
you Got it!
{:else}
you Failed
{/if}
goBack()}>Go back
{/if}