Svelte and SvelteKit online course
The Svelte and SvelteKit online course in CodeWorlds is 14 modules of short lessons with a code editor and 188 hands-on exercises, told as a story-driven adventure. You can read the lessons for free on this site.
Welcome to Nordheim, the land of the Vikings! Discover Svelte 5, a framework that compiles components into plain JavaScript, and SvelteKit. Jarl Sven the Runic will guide you through 14 locations, from Midgard to Heimdall's Watch.
Your guide
Jarl Sven Runiczny
Code Viking
What you'll learn
- Svelte 5 runes: $state, $derived and $effect
- Components, scoped styles and project structure
- Props, callback props, $bindable and the Context API
- Bindings and template logic: {#if}, {#each}, {#await}
- Component lifecycle and stores: writable, readable, derived
- Transitions, list animations, tweened and spring
- use: actions for working with DOM elements
- SvelteKit: routing, load(), SSR and SSG, form actions, hooks and deployment
Main projects
During the course you will build real projects that you can add to your portfolio
Viking Form
A form with a name, rank, skills and bio bound to state with bind:value and bind:group
Warrior Ranking
A list sorted with animate:flip and a bar chart animated with tweened
Viking Chronicles
A final project to build on your own: sign-in, warriors, expeditions and a dashboard in SvelteKit
Course program
14 modules full of interactive exercises and practical projects
Midgard
Introduction to Svelte
What Svelte is, a new project, your first component, reactive variables, the Svelte REPL and event handling
24 exercises
Yggdrasil
Components
Nesting components, scoped and global styles, project structure and special Svelte elements
21 exercises
Rune Chamber
Reactivity and Runes
$state, $derived and $effect, their variants and a comparison with Svelte 4 syntax
21 exercises
Asgard
Props and Events
$props, snippets, callback props, $bindable and the Context API
18 exercises
BifrΓΆst
Bindings
bind:value, bind:checked, bind:group, select lists, bind:this, dimensions and scrolling
12 exercises
The Norns
Template Logic
{#if}, {#each}, {#await}, {#key}, {@html}, {@const} and {@debug}
12 exercises
Valhalla
Lifecycle
onMount, onDestroy, beforeUpdate, afterUpdate, tick() and $effect
10 exercises
Well of Mimir
Stores
writable, readable, derived, custom stores and a comparison with $state
11 exercises
RagnarΓΆk
Transitions and Animations
fade, fly, slide, custom transitions, animate:flip, crossfade, tweened and spring
11 exercises
MjΓΆlnir
Actions
The use: directive, parameters and update(), lazy loading, portals and drag and drop
9 exercises
Drakkar
SvelteKit Routing
Pages, navigation, dynamic routes, layouts, error pages and redirects
11 exercises
Prophecies of the Volva
Data Loading and SSR
load(), SSR, SSG and CSR, prerendering, invalidate, streaming and error handling
9 exercises
Market of Birka
Form Actions
Form actions, server-side validation, redirects and use:enhance
9 exercises
Heimdall's Watch
Hooks, API and Deployment
hooks.server.js, API routes (+server.js), adapters, environment variables and the final project
10 exercises
Course theme
Nordic Mythology and Vikings
Each module is set in a unique theme that makes learning an adventure.
Your guide
Jarl Sven Runiczny
Code Viking
Will guide you through all challenges and help you gain new skills.
Svelte and SvelteKit course FAQ
Is the Svelte and SvelteKit course free?
Partly. You can read the Svelte and SvelteKit lessons for free on this site. The course tasks in the app require a premium plan, while a free account lets you complete the HTML and CSS course in the app with 10 fuel units a day.
How long does the Svelte and SvelteKit course take?
The estimated learning time for the Svelte and SvelteKit course is 20-30 hours. The course has 14 modules and more than 188 tasks, and you set the pace.
Do I need previous experience for the Svelte and SvelteKit course?
Before the Svelte and SvelteKit course it helps to know: JavaScript ES6+, HTML/CSS basics, Knowledge of React or Vue (recommended).
What will I learn in the Svelte and SvelteKit course?
In the Svelte and SvelteKit course you will learn, among other things: Svelte 5 runes: $state, $derived and $effect, Components, scoped styles and project structure, Props, callback props, $bindable and the Context API, Bindings and template logic: {#if}, {#each}, {#await}.
What is learning in CodeWorlds like?
In CodeWorlds, every module is a series of short lessons with a live code editor, check questions and hands-on tasks. Progress earns you XP and unlocks new locations in the Land of the Vikings world.
Start learning Svelte 5 today
Join CodeWorlds and discover modern learning methods that make programming fascinating and accessible to everyone.
