Your first Astro site, in seven lessons
Free, with no sign-up. About 125 minutes in total, and you finish with a real website online.
Start lesson 1Track your progress
- Lesson 1 Get ready
- Lesson 2 Create your project
- Lesson 3 Make your first pages
- Lesson 4 Share a layout
- Lesson 5 Write in Markdown
- Lesson 6 Make it look good
- Lesson 7 Go live
Finish a lesson and its star lights up. 7 to go.
Get your computer ready
Install the two free programs you need, then learn just enough about the terminal to run a command.
Create your project
Run one command to create an Astro project, then see your site running on your own computer.
Make your first pages
Edit your home page, use a variable, and add a second page by creating a single file.
Share a layout across pages
Stop repeating yourself. Build a layout and a navigation menu that every page can use.
Write blog posts in Markdown
Set up a content collection so that adding a blog post is as simple as adding a text file.
Make it look good
Add a site-wide stylesheet so your text is easy to read on any screen.
Put your site online
Build your finished site, publish it for free, and get a real address you can share.