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

Practice: Handling a Click

Add a click event handler

Task

Complete the code so that clicking the button shows an alert saying 'SKÅL!'