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
~~~
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.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse 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