
Welcome to Prompt to Page
In this lesson you'll see what the course is about, how it works, and what you need to get started.
What you'll learn
What you'll have by the end: a live website that anyone can visit
How the course is organised: Part 1 (build it) and Part 2 (understand it)
What you need before Module 2
What you need
A laptop
An internet connection
A free Bolt account (we set this up together in Module 2)
Your task
Write one sentence about the website you want to build. It could be a portfolio, a small business site or a hobby page. Don't worry about the details yet.
Next up: Lesson 1.2, What AI website builders can and can't do.
What you'll learn
What AI is good at: fast first drafts, layout and design ideas, and placeholder text
What you need to check yourself: details about your business, broken buttons and mistakes, and how the site looks on a phone
Remember
AI gives you a strong start. Checking it is your job. That's why Part 2 of this course teaches you how your site works underneath.
Your task
Write down two things:
One thing you think AI will do well for your website
One thing you'll need to check yourself
Next up: Lesson 1.3, watch a first draft appear and learn what never to put in a prompt.
What you'll learn
How one short prompt can become the first draft of a website
Why the first draft is a starting point, not a finished site
What never to include in a prompt
Never include these in a prompt
Passwords or login details
ID numbers and bank or card details
Private details about other people, such as phone numbers, addresses or personal messages
Secret keys, private links or anything confidential
A simple test
If you wouldn't be comfortable sharing it publicly, don't type it into a prompt. Also check the privacy settings for your projects, because some AI tools show projects publicly on free plans.
Your task
Write a short list of three things you will never paste into a prompt. Keep it somewhere you can see it while you work.
Next up: Lesson 1.4, Plan your website. You'll need pen and paper, or the planning sheet, to answer five planning questions.
What you'll learn
The five planning questions: purpose, visitors, action, pages and style
How a finished plan looks, using Lerato's photography website as an example
How to turn your answers into a short brief of two or three sentences
The five questions
Purpose: What is the website for?
Visitors: Who will visit it?
Action: What should visitors do when they get there?
Pages: Which pages do you need? For your first site, keep it to three: Home, About and Contact.
Style: What mood and colours do you want?
Your brief
Copy this sentence and fill in the gaps:
I'm building a [type of website] for [audience]. It needs [pages]. The style should feel [mood]. Visitors should [action].
Download
Download the planning sheet below and fill it in. It has space for your answers and an example for you to follow.
Your task
Fill in the planning sheet and write your brief. Keep it two or three sentences, and don't include any private details.
Module 1 checkpoint
Before you move on, check that you have:
A one-sentence idea for your website
A note on what AI can do well and what you need to check
Your list of things to never paste into a prompt
Your completed planning sheet and brief
Next up: Module 2, Set up your tools. We create your Bolt account and take a tour of the screen.
Create your Bolt account
In this lesson you'll create your free Bolt account and learn what the free plan includes.
What you'll learn
How to create your Bolt account at bolt.new
What tokens are, and why they matter
What the free plan gives you, and its limits
When you would need a paid plan
Free plan at a glance
Up to 300,000 tokens per day, with a monthly limit of 1 million
Unused tokens do not carry over
Publish for free on a bolt.host address
A "Made in Bolt" badge appears on your site
No custom domain on the free plan
Remember: use a strong password you don't use anywhere else, and never put it in a prompt.
Your task
Create your free Bolt account and write down your daily token limit.
Next up: a tour of the Bolt screen.
In this lesson you'll learn your way around Bolt, so you know where everything is before you start building.
What you'll learn
Chat: where you talk to Bolt and give instructions
Preview: your live website
Code: the files behind your site (we'll learn to read these in Part 2)
Plan mode: ask questions and plan without changing your code, which saves tokens
Enhance prompt: a way to improve a prompt before you send it
Publish: where you put your site online (Module 5)
Next up: Prompting basics, a simple formula for writing prompts that work.
In this lesson you’ll learn a simple formula for writing prompts that get good results.
What you’ll learn
Why a prompt is like a blueprint
The five parts of a first prompt: type, audience, pages, style and action
The difference between a weak and a strong prompt
How to write follow-up prompts: one change at a time, say where, and say what to keep
Three helpers: Enhance prompt, Plan mode and version history
The formula
Build a simple [type of website] for [audience]. Pages: [pages]. Style: [style]. Visitors should [action].
Example
Build a simple three-page website for Lerato, a photographer in Johannesburg, for small businesses that need photos. Pages: Home, About and Contact. Warm, clean style. Visitors should send an enquiry using a contact form.
Your task
Turn your brief from the planning sheet into a first prompt with all five parts. Write it down, but don’t send it yet.
Remember: never put passwords or private details in a prompt.
Next up: Module 3, build your first website.
In this lesson you write your first prompt in Bolt and watch it build your first website.
What you’ll do:
Write a short brief (who it’s for, what it’s about, pages, look, what to leave out)
Check your prompt before sending it
Paste it into Bolt and let it build
Look through your first draft and write down 3 things to improve
Important: Never put passwords or private details in a prompt. Your first draft won’t be perfect, and that’s normal.
Your task: Generate your site, then write down 3 improvements. Don’t fix anything yet.
Next: Lesson 3.2, follow-up prompts
Your first draft is done. In this lesson you improve it with small follow-up prompts, one change at a time.
What you’ll learn:
Why one change at a time is easier, cheaper and safer
The three parts of a good follow-up: Where, What, Keep
How to tell a vague prompt from a clear one
What to do when a change goes wrong
Important: Never put passwords or private details in a prompt.
Your task: Turn your 3 improvements into 3 follow-up prompts. Send them one at a time and check each result.
Downloads: Follow-up prompt template, 5 example prompts
Next: Lesson 3.3, save tokens while you build
Soon your site will store real information. This lesson shows the two mistakes that catch many beginners, and how to avoid them.
What you’ll learn:
What an open database is, and why it’s a problem
What a leaked key is, and why it matters
Why you’re responsible for other people’s details
Your task: Think about your sign-up form. Write down what information it will collect, and keep it to the least you need.
Next: Lesson 4.2, Keys and secrets
Keys let your website talk to your database. Some are safe to show, and some are not.
What you’ll learn:
The difference between a publishable key and a secret key
The older names (anon and service role) you’ll see in tutorials
Where a secret key must never go: AI prompts, screenshots, and public code
What to do if a secret key leaks
Your task: Write 3 rules in your notes: no secret keys in prompts, in screenshots, or in public code.
Downloads: Key rules checklist
Next: Lesson 4.3, Privacy basics and POPIA
Privacy basics and POPIA
Your sign-up form will collect real people’s details, so let’s set it up properly. In this lesson you learn five simple habits: collect only what you need, say why next to the form, link a privacy policy, ask for marketing consent separately, and look after the data.
Your task: write down what your form will collect and why, then write your consent line in one sentence.
Example consent line: “We use your email to send you updates about this project. You can ask us to delete it at any time. Privacy policy”
Learn more from the Information Regulator: https://inforegulator.org.za/popia/
This lesson covers the basics only. It is not legal advice.
When someone fills in your sign-up form, their details have to be stored somewhere. That place is a database, and the part you will use is a table. Think of it as a spreadsheet: columns are the headings, and each row is one sign-up.
In this lesson you find the Database tab in Bolt and plan your table before you build it.
Your task: write down the column names for your sign-up table. Suggested: email, first name (optional), marketing consent (unticked by default), date signed up.
Keep it small. Don't collect ID numbers, home addresses or phone numbers.
Next up, Lesson 5.2: lock your table with Row Level Security.
Before anyone uses your sign-up form, your table needs a lock. That lock is called Row Level Security (RLS). With it on, nobody can touch the table unless a rule allows it. In this lesson you ask Bolt to create your table with the right rules, then check it on the Security tab.
Your task: copy the prompt below into Bolt, then open the database icon, then Security. Write one sentence: who can read my table?
Copy and paste this prompt (change the columns if you planned different ones in 5.1):
Create a database table called signups with these columns: email (required), first_name (optional), marketing_consent (true or false, default false) and created_at (filled in automatically). Turn on Row Level Security for this table. Let anyone add a new row. Do not let anyone on the website read, change or delete rows. Tell me what rules you created.
Tip: if Bolt offers a fix on the Security tab, read what it will change before you accept. Never accept a change that lets people read your list.
Next up, Lesson 5.3: connect your sign-up form to the table.
In this lesson you add a sign-up form to your site that saves into the locked table from Lesson 5.2. You do it with two small prompts instead of one big one, which saves tokens and makes each step easier to check. The second prompt adds the privacy parts from Lesson 4.3.
Your task: run both prompts below, then read your privacy page and fix anything that isn't true for your site.
Prompt 1: the form (copy and paste into Bolt)
Add a sign-up form near the bottom of my home page. Fields: email (required), first name (optional), and a tick-box labelled "Send me updates" that is unticked by default. Save each sign-up into the signups table. After saving, show the message "Thanks, you're signed up." Do not read rows back from the table. Do not put any keys or secrets on the page.
Prompt 2: the privacy parts (copy and paste into Bolt)
Under the sign-up form, add this line: "We use your email to send you updates about this website. You can ask us to delete it at any time." and link the words "Privacy Policy" to a new Privacy Policy page. Create that page in plain words: what we collect (email, and first name if given), why, how we keep it safe, and an email address people can write to: [YOUR EMAIL]. Add a Privacy Policy link in the footer of every page.
Replace [YOUR EMAIL] with an address you are happy to show publicly.
Please don't test the form yet. We do that in the next lesson.
This lesson covers the basics only. It is not legal advice. Next up, Lesson 5.4: test your form and see your sign-ups.
Your form is on the page, so now let's check that it really saves. In this lesson you send a test sign-up with fake details, find it as a new row in your table, and check each column. You also learn what to do if something goes wrong.
Your task: send one test sign-up, find it in your table, then delete your test rows before you share your site.
Use fake details such as test@example.com. Don't use a real person's email for testing.
If the form shows an error, copy this into Bolt's chat and add the exact error message:
My sign-up form shows an error when I submit it. The error says: [PASTE THE ERROR HERE]. Please fix it. Do not let the website read, change or delete rows in the signups table.
Next up, Lesson 5.5: pausing and backups.
Your site has to work on a small phone screen and a big desktop screen. In this lesson you use Bolt's Responsive mode to check both, test your sign-up form at phone size, and fix a problem with one small prompt.
Your task: check your site at phone size and desktop size, and fix one thing. Use fake details when you test the form.
Phone checklist
I can read the text without zooming.
Buttons are easy to tap.
The page stays in one column, with no sideways scrolling.
Images fit the screen.
My sign-up form is easy to fill in and shows the thank-you message.
Fix prompt (copy and paste into Bolt, then fill in the brackets)
On a phone-sized screen, [DESCRIBE THE PROBLEM AND WHERE, e.g. the Services cards run off the right edge of the screen]. Fix only this. Do not change anything else on the site. Do not change the signups table or its rules.
After you publish your site in Lesson 6.3, open the link on a real phone as well. That uses very little data.
Next up, Lesson 6.2: hosting and domains, the key words.
Before you publish, learn the words you will see: hosting, URL, domain name, DNS and HTTPS. This lesson explains each one in plain English and helps you choose between the free Bolt link and your own domain.
Your task: write down, in your own words, what hosting, a domain and DNS are. Then decide: free link or your own domain?
The key words
Hosting: a computer that is always on and keeps your site's files so people can open them.
URL: the full address of a page.
Domain name: the name part of the address, like yourbusiness.co.za. Bolt's free address ends in bolt.host.
DNS: the internet's address book. It tells browsers where your domain lives. You only need it if you connect your own domain. If you get stuck, Claude or ChatGPT can help you enter the right text in the right place. Never share your passwords with them.
HTTPS: the padlock next to the address. It means what visitors send is encrypted.
Free link or own domain? Per Bolt's help pages, publishing at a bolt.host address is free, custom domains are not available on the Free plan, and free sites show a "Made in Bolt" badge. Hosting on the Free plan has a monthly traffic limit; if you pass it, your site goes offline until the next month.
Official pages: Bolt FAQ, Publish your project, Connect a domain
Next up, Lesson 6.3: publish your site.
Before you publish, learn the words you will see: hosting, URL, domain name, DNS and HTTPS. This lesson explains each one in plain English and helps you choose between the free Bolt link and your own domain.
Your task: write down, in your own words, what hosting, a domain and DNS are. Then decide: free link or your own domain?
The key words
Hosting: a computer that is always on and keeps your site's files so people can open them.
URL: the full address of a page.
Domain name: the name part of the address, like yourbusiness.co.za. Bolt's free address ends in bolt.host.
DNS: the internet's address book. It tells browsers where your domain lives. You only need it if you connect your own domain. If you get stuck, Claude or ChatGPT can help you enter the right text in the right place. Never share your passwords with them.
HTTPS: the padlock next to the address. It means what visitors send is encrypted.
Free link or own domain? Per Bolt's help pages, publishing at a bolt.host address is free, custom domains are not available on the Free plan, and free sites show a "Made in Bolt" badge. Hosting on the Free plan has a monthly traffic limit; if you pass it, your site goes offline until the next month.
Official pages: Bolt FAQ, Publish your project, Connect a domain
Next up, Lesson 6.3: publish your site.
Welcome to Part 2. In this lesson you follow what happens when someone taps your link: the browser finds your site, your host sends the files, and the browser builds the page. You learn the three kinds of files (HTML, CSS and JavaScript) and why nothing secret can live in a website.
Your task: on a computer, open your live site, press F12, click the Elements tab and find your page's main heading. Anything you change there disappears when you reload.
The key words
Browser: the app that opens websites (Chrome, Safari and so on).
HTML: the structure of a page: headings, text, buttons.
CSS: the look: colours, fonts, spacing.
JavaScript: the behaviour: what happens when someone clicks.
Remember: your site's code is sent to every visitor, so anyone can look at it. Never put passwords or secret keys in your site's code, your prompts or your screenshots.
Next up, Lesson 7.2: a tour of your site's files.
Your site is a folder of files, not one big file. In this lesson you open Bolt's Code view, meet the files you will usually see, learn how to read and save a file, and use Target file and Lock file to stay in control.
Your task: open Code view, find one file with text you recognise from your site, and write down its name.
Files you will usually see (yours may look different)
index.html: the starting page.
src folder: the code that builds your pages.
package.json: the tools your project uses.
Steps
Switch from Preview to Code view.
Click a file to read it.
To change something, edit it and press Save (or Ctrl+S). Bolt rebuilds your site.
Right-click a file for Target file (Bolt focuses on it) or Lock file (Bolt can't change it).
Safety: never type a password or secret key into a file. If you ask Claude for help, paste one file at a time and check it for secrets first. On Safari, Code view is read-only, so use another browser on a computer to edit.
Official page: Code view
Next up, Lesson 7.3: how your prompts turned into code, and where your keys sit.
Every prompt you send makes Bolt edit your files. In this lesson you see how prompts map to HTML, CSS and JavaScript, learn why to check what Bolt changed, and learn the difference between a public key and a secret key. You also see where secrets belong in Bolt.
Your task: open Code view and look through two or three files for the words key, secret, token or password. Then open the Secrets tab (database icon at the top, then Secrets) and see what is there.
Remember
A prompt edits files: heading text is HTML, colours are CSS, behaviour is JavaScript.
Check what Bolt changed. AI can make mistakes.
A public key is meant to be seen and is only safe because Row Level Security is on.
A secret key never goes in your code, your prompts, your screenshots or GitHub. Put it in Secrets.
If a secret leaks, replace it with a new key from the service. Deleting it from your code is not enough.
Never paste a real secret key into a lesson exercise or a screenshot.
Official page: Secrets in Bolt Database
Next up, Lesson 8.1: headings, text, links and images.
Welcome to Module 8. In this lesson you learn to read the HTML tags behind the things you see on a page: headings, paragraphs, links and images. You then find them in your own site's code.
Your task: in Code view, find one heading, one link and one image, and write down the tag for each.
Cheat sheet
Tag: a word inside angle brackets. Most come in pairs: opening tag, content, closing tag with a slash.
h1, h2, h3: headings. One h1 per page.
p: a paragraph of text.
a href="...": a link. The words between the tags are what people click.
img src="..." alt="...": an image. No closing tag. Always add a short alt description. Keep images small to save data.
Next up, Lesson 8.2: edit your own HTML.
In this lesson you change your site by hand. You open Code view, change the words of a heading, a link address and an image description, then save and check the Preview. You also learn what to do if something breaks.
Your task: change your heading, one link address and one image description. Save, then check the Preview. Tip: copy each line somewhere safe before you change it.
Cheat sheet
Open: code icon, then your page file in the Files list.
Words: change only what is between the tags.
Link: change the address inside href="...". Keep both quote marks.
Image: change the alt="..." text. Keep it short and honest.
Save: Save button or Ctrl+S. Then switch to Preview.
Broken? Look for a missing <, >, / or quote mark. Paste back your copied line and save again. Version history can also take you back.
Safari: Code view is read-only, so ask Bolt to make the change instead.
Links: Bolt Code view help and Bolt visual edits
Next up, Lesson 9.1: colours, fonts and spacing.
HTML is the structure of your page and CSS is the style. In this lesson you learn to read the CSS words for colours, fonts and spacing, and find them in your own site's code.
Your task: in Code view, find one colour, one font setting and one spacing setting, and write down what each one is.
Cheat sheet
A CSS rule: property: value; (for example color: orange;)
color: text colour. background-color: colour behind it. Use a name (orange) or a hex code (#FF6B35).
font-family: the typeface. Add a backup, like sans-serif. font-size: how big the text is.
padding: space inside a box. margin: space outside it.
Tip: use these words in your prompts to Bolt, for example "add more padding around the cards".
Next up, Lesson 9.2: change your own CSS.
In this lesson you change the style of your own site by hand. You find the class names in your page file (like Home.tsx), change one colour, one text size and one spacing value, then save and check the Preview.
Your task: change one colour, one text size and one spacing value. Save, then check the Preview. Tip: copy each line somewhere safe before you change it, and change one thing at a time.
Cheat sheet
Find it: Code view, open your page file (like Home.tsx), look inside className="...".
Colour: text-orange-500 becomes text-blue-500
Text size: text-lg becomes text-xl (18px to 20px)
Spacing: p-2 becomes p-4 (bigger number = more space)
Keep: the quote marks around the class names
Broken? Paste back your copied line and Save, or use Version history. Usual causes: a missing quote mark, a typo in the class name, or a class that doesn't exist.
Prefer clicking? Use Bolt's visual edits (click the item in Preview, change colours and font size, then Save changes), or describe the change in a prompt, for example "make the heading text bigger".
Plain CSS instead? color: orange; becomes color: blue; and font-size: 18px; becomes font-size: 20px; Keep the colon and semicolon.
Links: Bolt Code view help and Bolt visual edits
Next up, Lesson 10.1: what JavaScript does on your site.
HTML is the structure of your page and CSS is the style. JavaScript is the behaviour: what happens when someone clicks a button, types in a box or presses Submit. In this lesson you learn to spot the three JavaScript words you will see most in your own code: onClick, useState and onSubmit.
Your task: open Code view, open your page file and find one onClick or one onSubmit. Write one sentence: "When ___ happens, the site ___." For example: "When the menu button is clicked, the site opens the menu."
Cheat sheet
onClick: when something is clicked, do this.
useState: the page remembers something while it is open.
onSubmit: when the form is submitted, collect what was typed and send it on.
Safety: anyone can read your JavaScript. Never put a secret key in it. A publishable key is fine because Row Level Security protects your table.
Stuck? Paste one small file into Claude and ask: "Explain this in plain English." Remove any keys first.
Links: Bolt Code view help
Next up, Lesson 10.2: read and tweak your form's submit code.
When someone presses Submit on your sign-up form, a small piece of JavaScript does four jobs: it stops the page reloading, sends the data to your table, checks for an error and shows a message. In this lesson you read those four jobs in your own code and change one small, safe thing: the thank-you message.
Your task: change the thank-you message, then Save. Submit the form with fake details (never a real person's name or email), check your new message appears, then open Tables and delete the test row. Tip: copy the line before you change it.
Cheat sheet
Safe to change: the thank-you message, the button label.
Risky, leave alone: table names, column names, anything with a key.
Testing: fake details only. Each test adds a row, so delete your test rows in Tables.
Keys: never paste a key into your code, a prompt or a screenshot.
Your code will differ from the example. Look for preventDefault, insert and error.
Links: Bolt Code view help and Bolt database help
Next up, Lesson 11.1: fix common problems and read error messages.
AI Disclaimer: This course contains the use of artificial intelligence.
What if you could have a real website online by the end of this course, without writing a single line of code yourself?
Most people never build a website because it feels technical, expensive or confusing. AI has changed that. But if you’ve tried an AI tool before, you probably got a messy result and no idea how to fix it.
This course changes that. You’ll go from a blank page to a live website using plain-English prompts, and then you’ll look under the hood so you understand what the AI built for you.
Here’s what you’ll do
Plan your website: your idea, your audience and your pages
Write prompts that make AI build what you actually picture
Improve your site with follow-up prompts, without wasting your free tokens
Add a sign-up form that saves people’s details to a real database
Protect your keys, your data and your visitors’ privacy (with POPIA examples)
Test your site on phone and desktop, then publish it with a free link
Read and change the HTML, CSS and JavaScript yourself
Why this course is different
Most AI website courses stop when the site is generated. Here, that’s only halfway. The second half teaches you how websites work, so you’re never stuck waiting for the AI to get it right. You’ll finish with a live site, a working form and the confidence to edit it yourself.