Svelte · Junior · Question 57 of 76
How do you navigate between pages in SvelteKit?
- ✓Correct answer: With a regular
<a href="/about">; SvelteKit intercepts it and performs client-side navigation - 2Only with a special
<Link>component - 3Only with
goto()
Explanation
Plain links keep the app accessible and working without JavaScript. goto() from $app/navigation is for programmatic navigation.