Getting Started with SvelteKit

BookIt project running locally with custom homepage.

6 articles
  1. 00 What is Svelte?
  2. 00 Create the BookIt Project
  3. 00 Explore the Project Structure
  4. 00 Understanding .svelte Files
  5. 00 Run Your First Dev Server
  6. 00 Make Your First Change
Basic Routing

Navigate between Home → Services → Service Detail → About → Contact.

6 articles
  1. 00 How File-Based Routing Works
  2. 00 Create the About Page
  3. 00 Add a Contact Page
  4. 00 Create the Services Page
  5. 00 Dynamic Routes
  6. 00 Link All Pages Together
Layouts

All pages share header/footer, services section has sub-navigation

6 articles
  1. 00 The Problem: Repeating Code
  2. 00 SvelteKit Layout
  3. 00 Understanding {@render children()}
  4. 00 Add a Site Header
  5. 00 Add a Site Footer
  6. 00 Nested Layouts
Reactivity Basics

Booking form that shows live preview of entered data

6 articles
  1. 00 Static vs Reactive
  2. 00 Create a Booking Form Component
  3. 00 Track Form Fields with $state
  4. 00 Display Live Form Preview
  5. 00 Handle the Submit Button
  6. 00 Reset Form After "Submission"
Control Flow

Services page displays categorized list with proper empty states.

6 articles
  1. 00 Introduction to Control Flow in Svelte
  2. 00 Conditional Rendering with {#if}, {:else}, and {:else if}
  3. 00 Handle Empty States
  4. 00 Render Service List with `{#each}`
  5. 00 Why Keys Matter
  6. 00 Filter Services by Category
Data Binding

Fully functional booking form with all fields bound to state

6 articles
  1. 00 Two-Way Binding with bind:value
  2. 00 Customer Name and Email Fields
  3. 00 Date Picker Input
  4. 00 Time Selection Dropdown
  5. 00 Service Selection with bind:group
  6. 00 Add Optional Notes Textarea
Component Communication

Clean component architecture with ServiceCard, BookingForm, PriceBadge

6 articles
  1. 00 Why Components?
  2. 00 Create ServiceCard Component
  3. 00 Pass Service Data with $props
  4. 00 Create BookingForm Component
  5. 00 Create PriceBadge Component
  6. 00 Spread Props
Styling

Polished, professional-looking booking app.

6 articles
  1. 00 How Scoped Styles Work
  2. 00 Style the ServiceCard
  3. 00 Dynamic Classes
  4. 00 Style the Booking Form
  5. 00 Add Hover States
  6. 00 Global Styles

The Hackpile © 2026