Free course
Astro Course
Learn Astro from the ground up: project structure, pages, components, layouts, props, data, content collections, assets, islands, and deployment.
Prerequisites: HTML, CSS and JavaScript
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Build and deploy a small content-driven Astro site that sends browser JavaScript only for the parts that need interactivity.
Course contents
Start an Astro project
Create a project, understand its folders, and run the toolchain.
Pages and routing
Turn files and data into static routes and endpoints.
Components and layouts
Compose typed templates with props, slots, and scoped styles.
Data, content, and assets
Load data, validate content, and optimize project images.
Islands and deployment
Add focused interactivity, build the site, and deploy it.
- ✓ Start with zero JavaScript
- ✓ Add a UI framework integration
- ✓ Choose a client directive
- ✓ Render a framework component without hydration
- ✓ Keep islands independent
- ✓ Choose static or on-demand rendering
- ✓ Build and inspect the site
- ✓ Deploy a static Astro site
- ✓ Finish the Astro site
- ✓ Check your understanding: islands and deployment