refactor(client): Quiz component

pull/12/head
sundowndev 2019-12-07 18:37:08 +01:00
parent 1e7e147364
commit 990093f84d
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
<span class="progress">({{ index + 1 }}/{{ questions.length }})</span>
</p>
<span v-for="(choice) in schools" :key="choice.id">
<button class="choice-btn" @click="answer(choice.id)">{{ choice.name }}</button>
<span>
<button v-for="(choice) in schools" :key="choice.id" class="choice-btn" @click="answer(choice.id)">{{ choice.name }}</button>
</span>
</div>
</template>