refactor(client): Quiz component
parent
1e7e147364
commit
990093f84d
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue