Astro is built for websites where content matters most: blogs, documentation, marketing pages and portfolios. It renders pages to HTML and sends zero JavaScript by default, adding interactivity only to the components that need it. This course shows how to build content sites with Astro that load quickly, rank well and stay easy for editors to update.
What you'll learn
- Astro's model:
.astrocomponents, frontmatter scripts and HTML-first output - The islands architecture and client directives such as
client:loadandclient:visible - Using React, Vue, Svelte or plain web components inside Astro where you need them
- Content collections with the content layer API, schemas and type-safe queries
- Writing in Markdown and MDX, and loading content from a CMS or API
- Routing, dynamic routes and pagination for blogs and docs
- Built-in image optimisation and responsive images
- Server rendering on demand and server islands for personalised parts of a page
- SEO essentials: meta tags, sitemaps, RSS, structured data and canonical URLs
- View transitions, internationalisation and deploying to static or serverless hosts
Who it's for
- Developers building marketing sites, blogs or documentation
- Agencies that want fast sites clients can maintain
- WordPress developers exploring a modern static-first alternative
Prerequisites
- Comfortable with HTML and CSS (see HTML & CSS Fundamentals: Build Your First Websites)
- Basic modern JavaScript
- Familiarity with Markdown and the command line
Outcomes
By the end of this course you will be able to:
- Build a multi-section content site with Astro and typed content collections.
- Add interactive islands only where they are needed and keep pages light.
- Implement solid on-page SEO, sitemaps and structured data.
- Deploy an Astro site and connect it to a headless CMS for editors.
Course outline
| Module | Topic |
|---|---|
| 1 | Why Astro: HTML-first sites and the islands model |
| 2 | Project setup, .astro components and layouts |
| 3 | Pages, routing and dynamic routes |
| 4 | Content collections and schemas |
| 5 | Markdown, MDX and remote content loaders |
| 6 | Islands with UI framework components |
| 7 | Images, fonts and performance |
| 8 | SEO: metadata, sitemaps, RSS and structured data |
| 9 | On-demand rendering, server islands and actions |
| 10 | View transitions and internationalisation |
| 11 | Connecting a headless CMS and deploying |
| 12 | Project: a fast blog and marketing site |
FAQ
Is Astro only for static sites?
No. Astro prerenders by default but supports server rendering per page, API endpoints and actions, so it can handle forms, logins and personalised content too.
Can I use my React components?
Yes. Astro has official integrations for React, Vue, Svelte, Solid and others, and you can mix them on one page.
Is Astro good for SEO?
Its HTML-first output and small JavaScript footprint make good Core Web Vitals easier to reach. We pair that with the on-page basics covered in Technical SEO Fundamentals.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.