Question · Svelte and SvelteKit course · Module 9: Transitions and Animations

Spring vs Tween

How does Spring differ from Tween?

Answer options

  • Spring uses spring physics, Tween reaches the target in a set time with an easing function
  • Spring is faster
  • There is no difference
  • Spring only works with numbers

You can check the correct answer by solving this task in the CodeWorlds game.