Mastro 👨‍🍳
GitHub   Bluesky

The Mastro Guide

Learn the fundamental web technologies (HTML, CSS and JavaScript) by building your very first website and putting it live – all in your browser.

This guide does not show you everything you’ll ever need to know when creating websites. Instead, it shows you the door to the world of web design. It gives you an overview over the landscape, kick-starts you with practical examples, and tells you where to learn more once you need to.

While the guide uses the Mastro framework, the patterns discussed are universal. Each chapter builds on the previous. If you already know semantic HTML, classless CSS and JavaScript you can do the setup and then skip ahead to publishing your website. But if the only HTML you know are <div> and <span>, it’s best to start with the fundamentals.

Follow the free course

Table of Contents

  1. Intro: Why learn HTML and CSS?
  2. Setup: GitHub and VS Code for Web
  3. Start with HTML
  4. Publish your static website
  5. Style with CSS
  6. About JavaScript
  7. Server-side components and routing
  8. A static blog from markdown files
  9. Third-party packages
  10. Interactivity with JavaScript in the browser
  11. URLs, HTTP and servers
  12. Setup Mastro as a server
  13. Forms and REST APIs