Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Intro to Astro: Build a Blog from Scratch
43 students

Intro to Astro: Build a Blog from Scratch

Astro Tutorial: Learn frontmatter, components & dynamic routing hands-on. Perfect for beginner blogs & portfolios
Created byM Sakai
Last updated 7/2026
English
English [Auto],

What you'll learn

  • Understand Astro's basic structure (frontmatter and template syntax) and be able to build pages using components and props.
  • Be able to manage common UI and auto-generate pages using layout components and dynamic routing.
  • Be able to create and manage blog posts using Markdown and frontmatter, and implement dynamic content display using map, filter, and conditionals.
  • Be able to build a fully functional blog site from scratch, complete with styling, components, Markdown, and navigation.

Course content

11 sections • 32 lectures • 2h 22m total length
  • Course Introduction5:37
  • How the Course Works3:07

Requirements

  • You have written basic HTML tags (e.g., h1, p, a, div).
  • You have changed colors and margins with CSS.
  • No JavaScript experience is required.

Description

This course contains the use of artificial intelligence.

Are you facing any of these challenges?

  • You know how to write HTML and CSS, but aren't sure what to learn next.

  • You want to try a framework, but React and Vue seem too intimidating to start with.

  • You want to build your own blog or portfolio site from scratch.

  • You end up just copying code from tutorials and don't feel like you are gaining real skills.

This course is designed specifically for you.

Course Features

1. Hands-on First: Don't just read

Each day follows a 3-step structure: "Explanatory Video → Hands-on Exercise → Solution Video." By actually getting your hands dirty and writing code, you will acquire practical, usable skills.

2. Start entirely in your browser

We use StackBlitz (a browser-based development environment) for all exercises. There is no need to install Node.js or a code editor. Just open the URL and you can start immediately.

3. One theme a day, completed in 10 days

We keep the daily workload manageable, building your blog site step-by-step over 10 days. The pace is designed so that even busy professionals can easily keep up.

Curriculum

  • Day 1 | Launch Astro and create a "Hello World"

  • Day 2 | Build pages using components

  • Day 3 | Manage common UI parts with layout components

  • Day 4 | Auto-generate multiple pages with dynamic routing

  • Day 5 | Add styling

  • Day 6 | Write blog posts using Markdown

  • Day 7 | Master Astro's template syntax

  • Day 8 | Manage articles using data files

  • Day 9 | Improve the 404 page and navigation

  • Day 10 | Final Exercise: Complete your blog site

Who this course is for

  • Those who have a foundation in HTML/CSS and are looking for the next step.

  • Those learning a web framework for the first time (a perfect stepping stone before React or Vue).

  • Those who want to build their own blog or portfolio site.

  • Those who want to gain real skills through exercises, rather than just copying code.

Prerequisites

  • You have written basic HTML tags (e.g., h1, p, a, div).

  • You have changed colors and margins using CSS.

  • No JavaScript experience is required.

What you will achieve by the end of this course

Upon completing the course, you will have built a fully functional blog site featuring:

  • UI management using components

  • Article pages written in Markdown (auto-generated via dynamic routing)

  • Styling applied with scoped CSS

  • A custom 404 page and active state navigation

You can deploy it directly to platforms like GitHub Pages or Netlify and start using it as your personal blog or portfolio right away!

Who this course is for:

  • Those with basic HTML/CSS skills looking for their next step.
  • First-time framework learners (perfect prep for React/Vue).
  • Those wanting to build their own blog or portfolio site.
  • Those who want to gain real skills through hands-on exercises, not just copying code.