Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Svelte Programming from Basics to Advance
Rating: 3.0 out of 5(1 rating)
675 students

Svelte Programming from Basics to Advance

Build a user-friendly website with Svelte
Created byRahul Sodhay
Last updated 6/2025
English
English [Auto],

What you'll learn

  • Learnt the foundations of Svelte first, then take the next step
  • Built your own interactive website with Svelte
  • Create and manage user sign ups, log ins, and authentication
  • Everything you learn in this course and project build can be transferred over to your own site builds

Course content

1 section25 lectures1h 48m total length
  • Svelte is the Future - Learn About It In This Course3:37

    Discover svelte, a declarative component framework that compiles to smaller bundles, provides svelte stores, motion and transitions, and scoped CSS for building web apps.

  • How to install node and visual studio code3:32

    Install Node.js LTS and Visual Studio Code, add Svelte extensions, and create a new Svelte project with npx; install dependencies and run the dev server on localhost:8080.

  • Project folder Structure of Svelte5:16

    Discover the svelte project structure, including package.json, rollup config, public assets, and the source folder. Learn how yarn dev serves index.html and compiles to main.js using app.svelte.

  • What is dot svelte file in svelte3:18

    Understand how a dot svelte file describes a portion of the user interface with script, markup, and style, represents a component, and binds data to the markup through declarative binding.

  • How to Bind Text in Svelte2:14

    Learn to bind text from the script to the markup in a Svelte component using curly braces, with a constant name and dynamic JavaScript expressions.

  • How to bind html in svelte2:33

    Master binding in Svelte by using curly braces for plain text and the @html prefix to render real HTML, with cautions about cross-site scripting and trusted content.

  • How to Bind Attributes in Svelte2:20

    Bind dynamic attributes in Svelte by linking data to id, class, style, and boolean attributes like disabled, using curly brace syntax and optional shorthand for the same name.

  • What is Class Attribute in Svelte4:16

    Explore static and dynamic class attributes in Svelte, bind classes with curly braces, and toggle via the class directive, including the shorthand class: promoted.

  • What is Conditional Rendering in Svelte3:52

    Explore conditional rendering in Svelte using if block, else block, and else if block to show HTML based on a number being zero, negative, positive, or not a number.

  • List Rendering in Svelte3:48

    Explore list rendering in Svelte using the each block to repeat html for array items, bind names and indices, and render objects like full names in a user interface.

  • Rating Anime with help of list and keys in svelte3:40

    Learn how key expressions in Svelte's each block enable efficient list diffing, prevent UI bugs during data changes, and keep item state with a practical anime ratings example.

  • What is event handling in Svelte4:29

    master event handling in Svelte using the on directive to respond to clicks and other events, increment a counter with inline or script-defined handlers, and work with the event object.

  • Form Handling in Svelte Part -18:18

    Learn how to handle forms in svelte by binding inputs, textareas, and selects to a form values object with the bind directive, including single and multi-select examples.

  • Form Handling in Svelte Part - 26:54

    Learn to handle forms in Svelte by binding checkboxes, checkbox groups, and radio groups to form values, and submit data with event binding and prevent default.

  • What Is Reactive Declaration In Svelte5:44

    Explore Svelte reactivity by building reactive declarations that derive full name from first and last names and compute a cart total from an items array, with automatic updates on changes.

  • Reactive Statements in Svelte3:47

    Explore reactive statements in svelte using the dollar colon syntax to react to changes in dependent values, with examples like volume control from 0 to 20 using conditions and alerts.

  • Components in Svelte3:50

    Explore Svelte's component-based architecture by building encapsulated, reusable UI parts that compose a full application, and learn how to create, import, and register new components.

  • Component Props in Svelte5:22

    Learn how to pass data to reusable Svelte components using props, export let, and binding, including default values and spreading objects across parent and child grids.

  • Context API in Svelte5:37

    Learn how to use the context API in Svelte to share data by setting the context in the root and retrieving it in deep components with setContext and getContext.

  • Component Events in Svelte5:39

    Learn to implement custom events in svelte with createEventDispatcher to communicate from child to parent. Build a popup example that emits a close event and reads event.detail data.

  • Event Forwarding in Svelte4:14

    Learn how to forward events in Svelte from a deeply nested inner component to the app by omitting a handler and dispatching a greet event with data.

  • Slots in Svelte4:02

    Explore slots in Svelte, letting a parent control the inner content of a child component, illustrated by a card component that renders text, headings, or images.

  • Named Slots in Svelte4:43

    Learn to build reusable Svelte components with named slots for header, content, and footer, passed from the parent, including multiple slots and conditional rendering with the $slots object.

  • What is Slot Props in Svelte4:28

    Learn slot props in Svelte by building a names list component that uses an each block and slots to pass first and last names to the parent for flexible rendering.

  • Component Styles in Svelte2:49

    Discover how svelte scopes component styles by default and applies global styles with the global modifier across app and child components.

Requirements

  • No prior Svelte or SvelteKit knowledge needed!
  • Students should know some basic Javascript.

Description

Why learn Svelte?

  • Write less code! Simplified and streamlined, Svelte is significantly quicker to script than React or Vue

  • Easy to learn! Svelte is all HTML, so for newer developers it's intuitive to use and easy to master

  • Growing in popularity! Each year Svelte gets more and more popular and is now used by the New York Times, Ikea, Apple Music and more.

  • Svelte is one of the most loved frameworks! In 2021 developers voted Svelte the 'most loved' framework (at 71.47%) and in 2022 Svelte love grew by almost 4% to 75.28% (Stackoverflow Developer Surveys 2021 and 2022)


Master Svelte Framework - The Complete Course is a hands-on deep dive in to Svelte. Starting with the basics of each, you'll quickly move on to the main project that the course is built around - a giant Book Lover website project!

Building this website put all your new skills to the test, and each new technique builds on what you just learnt! By the end of the course you'll be able to build a website from scratch that lets users:

  • Register with an email and log in to the site with a password

  • Add their own book information to the site via a form

  • 'Like' and 'Unlike' a book they see on the site


    Create a reactive profile page - with a 'My Books' page and a 'Favourite Books' page

    This course is aimed at beginners to Svelte, and teaches students everything they need to dive in to Svelte Framework development. Students should have some basic Javascript knowledge.

    By the end of the course you'll have the skills and knowledge you need to build a site that users can log in to, post content to and vote on their favourite content. It's a lot of functionality, a lot of fun, and a great project for your portfolio too!

    Enjoy the course, and happy coding!

Who this course is for:

  • Anyone new to Svelte or any good coders looking to increase their Svelte knowledge