Challenge #1

  1. Add an input field that allows users to enter a course goal.
  2. Output the user input in a h1 tag.
  3. Colour the output red (e.g. by adding a class) if it contains at least one exclamation mark.
  4. Put the h1 tag + output into a separate component to which you pass the user input

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes