Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/apursley2012/alex-pizza-assistant/llms.txt

Use this file to discover all available pages before exploring further.

Alex Pizza Assistant is a fully static web app that recreates a conversational pizza ordering experience in the browser. Built with plain HTML, CSS, and vanilla JavaScript — no frameworks, no build step, no backend — Alex guides users through a step-by-step order flow, validates every input, and produces an itemized receipt with a running total.

Introduction

Learn what Alex Pizza Assistant is, how it works, and what concepts it demonstrates.

Quickstart

Get the chatbot running locally in under five minutes.

Order Flow

Understand the full conversation sequence from name entry to order completion.

Configuration

Customize prices, tax rate, delivery fee, and coupon threshold via menu.json.

What Alex Does

Alex walks a user through a complete pizza order one prompt at a time. Every response is validated before the conversation moves forward, and a live receipt panel reflects the order state in real time.
1

Enter your name

Alex greets you by name and begins the order sequence.
2

Build your pizza

Choose size (small, medium, or large), toppings, crust type, and quantity. Add as many different pizzas as you like before checking out.
3

Choose order method and payment

Select carry out or delivery, then pay with cash or a simulated card. Delivery card orders can include an optional driver tip.
4

Receive your receipt

Alex displays an itemized total — subtotal, sales tax, delivery fee, tip, and grand total — and shows a live ETA countdown.

Key Features

Multi-Pizza Orders

Add unlimited pizzas to a single order. Each pizza tracks its own size, toppings, crust, and quantity.

Live Receipt Panel

The receipt updates after every answer so you always see a current snapshot of your order.

Input Validation

Every step validates the response before advancing — no blank fields, no invalid sizes, no bad card numbers.

Zero Dependencies

Pure HTML, CSS, and vanilla JavaScript. Works on GitHub Pages without a build step or server.

Build docs developers (and LLMs) love