Skip to content

Tutorial Overview

How do you build a restaurant menu webpage from scratch using only HTML and CSS?

How This Tutorial Works

This tutorial uses a branch-per-stage model. Each stage lives on its own Git branch and introduces one concept. You can follow along by checking out each branch in order, or read the docs to understand what changed.

bash
# Start at the beginning
git checkout main

# Jump to any stage
git checkout feature/05-basic-css

Every stage produces a working page. You can stop at any stage and have something that opens in a browser.

Stages

🏗️ Foundation

Build the bare HTML structure — a valid page with semantic elements.

#StageBranchConcept
0HTML SkeletonmainBasic HTML document structure
1Header & Introfeature/01-header-introHeadings and paragraphs
2Semantic Sectionsfeature/02-semantic-sectionsSemantic HTML elements

🍔 Content

Fill the page with menu items and a footer.

#StageBranchConcept
3Menu Itemsfeature/03-menu-itemsReusable HTML patterns
4Footerfeature/04-footerPage completion with footer

🎨 Styling

Add CSS for colors, spacing, and card-style components.

#StageBranchConcept
5Basic CSSfeature/05-basic-cssCSS fundamentals
6Spacingfeature/06-spacingThe CSS box model
7Menu Cardsfeature/07-menu-cardsVisual components with CSS

📐 Layout & Polish

Use flexbox for alignment, then add hover effects and mobile support.

#StageBranchConcept
8Flexbox Layoutfeature/08-flexbox-layoutFlexbox basics
9Polish & Responsivefeature/09-polish-responsivePseudo-classes and responsive design

Tech Stack

TechnologyWhat For
HTML5Page structure and content
CSS3Styling, layout, and responsiveness

No JavaScript. No frameworks. No build tools. Just a text editor and a browser.

Prerequisites

  • A text editor (VS Code, Sublime Text, or even Notepad)
  • A modern web browser (Chrome, Firefox, Safari, or Edge)
  • No prior coding experience required

Quick Start

bash
git clone https://github.com/vedanta/burger-barn.git
cd burger-barn
open index.html