04 - monster slayer game/prj-monster-01-starting-setup/index.html
@@ -29,6 +29,12 @@ <div class="healthbar__value" :style="playerBarStyle"></div> </div> </section> <section class="container" v-if="winner"> <h2>Game Over!</h2> <h3 v-if="winner == 'monster'">You lost!</h3> <h3 v-else-if="winner == 'player'">You won!</h3> <h3 v-else>It's a Draw</h3> </section> <section id="controls"> <button @click="attackMonster">ATTACK</button> <button @click="specialAttackMonster" :disabled="mayUseSpecialAttack">