- 44lessons
- 3guided projects
- 8module checkpoints
- 0.9hours of video
What you'll learn
- Write single-file Svelte 5 components with templates, keyed blocks, props, scoped styles and event attributes.
- Compose components with callback props, snippets, bindable props and context.
- Load data with server and universal load functions, merge layout data, stream slow promises and invalidate on purpose.
- Handle forms with default and named actions, validation failures, progressive enhancement, redirects and cookies.
- Test rune logic, components, load functions, actions, endpoints and full journeys, and demonstrate a deployed or locally served application.
Skills you'll gain
- Svelte components
- Reactivity
- Composition
- events
- Kit routing
- Server data loading
- Form actions
- State
- security
- Application testing
Tools you'll use
- Svelte 5 (runes)
- SvelteKit
- npm
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Svelte components to Composition and events
Write single-file Svelte 5 components with templates, blocks, props, scoped styles and event attributes, and verify them through compiled output and the rendered DOM.
You build: Guided project “Reusable component kit with tests”: Compiled TripCard-style component with props, defaults and a compile-and-inspect script.
- 02
Modules 4 to 5
Kit routing to Server data loading
Map the src/routes directory to URLs with pages, nested layouts, dynamic and advanced parameters, error pages and server endpoints, and verify routes by requesting them.
You build: Guided project “Routed, data-loaded storefront”: Route tree with a grouped layout, a dynamic route and a custom error page.
- 03
Modules 6 to 7
Form actions to State and security
Handle form submissions on the server with default and named actions, return validation failures, enhance forms progressively, and redirect or set cookies after success.
You build: Guided project “Secure forms and guarded area”: Booking form with validation failures and use:enhance.
- 04
Module 8
Application testing
Test a SvelteKit application at each layer: rune logic with Vitest, components with Testing Library, load functions, actions and endpoints as functions, and whole journeys with Playwright against a production build.
You build: Final project build and trainer-reviewed demonstration (see project).
Full curriculum
8 modules and 44 lessons, 25 to 43 hours of study
01Svelte components6 lessons, 3 to 4 hours
Lessons
- Anatomy of a single-file component
- Template expressions and conditional blocks
- Keyed each blocks
- Declaring props with $props
- Scoped CSS, global selectors and style directives
- Event attributes and handlers
After this module you can
- Identify the script, markup and style sections of a .svelte file and show that the compiler turns the file into a JavaScript module plus scoped CSS.
- Render values with curly-brace expressions and branch the markup with if, else if and else blocks, predicting the DOM for each input.
- Attach handlers with onclick-style attributes, use the shorthand and inline arrow functions, and explain why handler attributes replace the on: directive in Svelte 5.
02Reactivity5 lessons, 2 to 4 hours
Lessons
- Reactive variables with $state
- Deep reactivity, raw state and snapshots
- Derived values with $derived and $derived.by
- Side effects with $effect and teardown
- Reactive classes and shared state modules
After this module you can
- Declare reactive primitives with $state, update them by plain assignment, and show in the compiled output that the rune call is compiled away.
- Mutate nested $state objects and arrays, choose $state.raw for reassign-only data, and use $state.snapshot to hand a plain copy to non-reactive code.
- Package state and behaviour in a class with $state fields in a .svelte.js module, share it between components, and avoid losing this in handlers.
03Composition and events5 lessons, 2 to 3 hours
Lessons
- Callback props for child-to-parent events
- Content with the children snippet
- Parameterised snippets passed as props
- Two-way binding with $bindable
- Sharing values through context
After this module you can
- Pass functions as props so a child reports user actions to its parent, and explain why this replaces event dispatchers in Svelte 5.
- Wrap arbitrary markup in a component by rendering the implicit children snippet, with an optional fallback when no content is given.
- Provide values to a subtree with setContext, read them with getContext, and keep them reactive by passing state objects or getter functions.
04Kit routing6 lessons, 3 to 4 hours
Lessons
- Pages from the routes directory
- Nested layouts and route groups
- Dynamic route parameters
- Optional, rest and matched parameters
- Error pages and the error helper
- Server endpoints with +server.js
After this module you can
- Create pages by adding +page.svelte files under src/routes and predict the URL each directory produces.
- Share UI with +layout.svelte rendering {@render children()}, nest layouts per directory, and use a route group to share a layout without changing URLs.
- Expose JSON endpoints with exported HTTP verb handlers that return Response objects, and test them with direct requests.
05Server data loading6 lessons, 3 to 4 hours
Lessons
- Server load and the data prop
- Universal load versus server load
- Layout data and merging with parent
- The provided fetch in load
- Streaming slow data with promises
- Rerunning loads with depends and invalidate
After this module you can
- Return data from a load function in +page.server.js and render it through the data prop, including how derived values follow navigation.
- Choose between +page.js and +page.server.js, and predict where each runs and how their results combine.
- Explain what makes a load rerun, label dependencies with depends, and refresh data with invalidate.
06Form actions5 lessons, 2 to 4 hours
Lessons
- A default action reading FormData
- Named actions and form targets
- Validation failures with fail and the form prop
- Progressive enhancement with use:enhance
- Redirects and cookies after a successful action
After this module you can
- Handle a plain POST form with a default action in +page.server.js and read fields from FormData on the server.
- Define several named actions on one page and target them with an action query or formaction, knowing default and named actions cannot be mixed.
- End a successful action with redirect 303 and set a session-style cookie with secure options, and reason about what the handle hook still must do.
07State and security6 lessons, 3 to 4 hours
Lessons
- Per-request state versus shared server variables
- URL search parameters as state
- The handle hook and event.locals
- Server-only modules and private environment values
- Origin checks and cookie flags
- Safe error reporting with handleError
After this module you can
- Show how a module-level variable on the server leaks between users, and replace it with cookies, locals or a database lookup.
- Store filters and sort order in search parameters, read them in load, and keep the page shareable and server-rendered.
- Log unexpected errors in handleError while returning a generic message to users, and distinguish them from expected errors.
08Application testing5 lessons, 2 to 4 hours
Lessons
- Vitest configuration and testing runes
- Component tests with Testing Library
- Testing load functions and actions as plain functions
- Testing +server.js endpoints with Request and Response
- End-to-end journeys with Playwright
After this module you can
- Configure Vitest for Svelte with browser conditions and jsdom, and unit-test rune-based modules in .svelte.test.js files using $effect.root and flushSync.
- Render components with Testing Library, query by role and name, and drive them with user-event rather than low-level DOM calls.
- Test a full user journey against a production build and preview server with Playwright, using role locators and web-first assertions.
What you'll build
3 guided projects along the way, then a final project.
Reusable component kit with tests
after module 3Routed, data-loaded storefront
after module 5Secure forms and guarded area
after module 7
Final project
SvelteKit application with tested routes forms and data boundaries. Choose one option: Community event board; Equipment lending desk; Study group planner.
What you submit
Source repository or archive plus a built and served application reachable by the trainer (local preview acceptable only with trainer present).
How it's reviewed
Trainer review against the rubric: Routing and layouts: correct URLs, layouts and error pages Data loading: correct server or universal placement, no secrets in the client bundle Forms: validation, enhancement, redirects and cookies behave as specified.
Where you'll use it
- Build a public listing with filters kept in the URL and a signed-in area for organisers.
- Handle a form with server-side validation that still works before JavaScript loads.
Roles that use these skills
- Front-end developer
- Full-stack developer
- Web developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What do I need before I start?
Prerequisite courses: JavaScript Programming, Web Foundations: HTML, CSS and Responsive Layouts, REST API Design. JavaScript from the earlier course (functions, destructuring, arrays and objects, modules, promises and async/await, npm), HTML and CSS from the earlier course (semantic elements, forms and labels, responsive layout), and HTTP and REST basics from REST API Design: methods, status codes, JSON representations and error contracts. No prior Svelte, Svelte 4 or React experience is assumed; learners who know React should treat Svelte's compile-time reactivity as a different model, not a renamed one. Diagnostic: write a function that fetches JSON, awaits it, filters an array of objects and renders a labelled form field from it using only the DOM APIs; if that takes more than an hour, revisit the earlier course and the earlier course first.
Do I get a certificate?
We do not issue certificates until you successfully build and demonstrate your live project. Module and final assessments are planned; the module pass rule is proposed, not final. Certificates are issued by OUTLEARN staff; nothing is issued automatically.
Where do the labs run?
Selected line: Svelte 5 (runes mode).
Be first in when Svelte & SvelteKit opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens


