Open project · after lesson 3: Events and inputs
Make a class poll: ask a question with three answers. Each click adds a vote, the totals update by themselves, and a message changes once someone has voted.

These light up when your code uses them. Click one to see where you learned it.
Tick each one when it is true of your project. Nobody marks it: be honest with yourself.
<button @click="votes.pizza++">Pizza ({{ votes.pizza }})</button><p v-if="votes.pizza + votes.tacos + votes.sushi > 0">Thanks for voting! {{ votes.pizza + votes.tacos + votes.sushi }} votes so far.</p>
<p v-else>No votes yet. Be the first!</p>Tick every milestone first.
You built it with: