Skip to content

Build a Pricing Page

Beginner~13 min0/4 steps

Add Payments in 10 Minutes

A product nobody pays for is a hobby. The fastest way to turn interest into revenue is a clean pricing page with tiers and an obvious way to buy.

In this lesson you'll build a three-tier pricing layout—Starter, Pro, and Business—each with a price, a feature list, and a strong call-to-action. We'll style the buttons as Buy and Subscribe actions, the same UI pattern you'll wire to Stripe Checkout in the next step.

We're building the interface only here. When you connect Stripe later, each button just points at a Checkout session—but the page your customer sees is exactly what you build now.

Instructions

1

Add a page heading and a responsive grid container to hold your three pricing tiers.

Hint: Use: `<h1 class="text-4xl font-bold text-center mb-4">Pricing</h1>` then `<div class="grid md:grid-cols-3 gap-8">`

Where does this go?

<!-- Build your pricing tiers here -->

Write it on line 11 — under that comment, after the code you already added.

2

Add three pricing cards, each with an h2 tier name and a large price.

3

List the features in each tier using an unordered list.

4

Add a Subscribe call-to-action button to the Pro tier (this is where you'll later trigger Stripe Checkout).

Your Code

html
13 lines
1
2
3
4
5
6
7
8
9
10
11
12
13

Live Preview

Live Preview