Coding task · Svelte and SvelteKit course · Module 1: Introduction to Svelte

Practice: Warrior Counter

Create a reactive warrior counter

Task

Complete the code: make warriors reactive state, increase it in the recruit function and attach recruit to the button click