Lesson 2 · Start hereHow to vibe code your first website
One clear request, one careful look, then the next.
Your first vibe coded website is a short loop repeated with care: describe it, let the AI build it, review it like a visitor, then refine one change at a time. Learn the rhythm, the habits that keep your work safe, and how saved versions let you try anything.
About 9 minutes to readLast updated
On this page
Before you start: a five-line brief
The best first prompt reads like a short brief to a designer. You don’t need technical words, just clear answers to five questions. Write them down before you open 3Edit, and your first result will be much closer to what you have in mind.
- Who is it for? The business or person, and where they are.
- What does it offer? The services or products, with prices if you know them.
- What should a visitor do? Book, call, buy, send a message: the one main action.
- Which sections? For example a hero, services, how it works, reviews and contact.
- How should it feel? Three words, such as “calm, modern, friendly”.
Your first session, step by step
Here is the whole rhythm of a first session. Each step is short; the care you take at each one is what makes the result good.
- DescribePaste your brief as your first message. One clear description beats a long list of small details.
- Watch it build3Edit shows your website in a live preview while it builds, so you see the pages take shape.
- Review like a visitorRead every word, press every button and look at it on a phone. Note what you would change, most important first.
- Refine one thingAsk for the single most important change, in plain words. Check it, then ask for the next.
- Keep what worksEach saved version is a point you can come back to, so you can try bold ideas without worrying.
Why one change at a time?
When you ask for five changes in one message, the AI has five chances to misunderstand, and if something breaks you can’t tell which change caused it. One change per message keeps every step easy to check and easy to undo.
It also keeps the conversation clear. Each request and result sits on its own, so the AI always knows exactly what you asked for last.
How to review like a visitor
You know what the site is meant to say, so it’s easy to read what you expect rather than what is there. Slow down and look at it as a stranger would.
- Five-second test: can you tell what the business does and what to do next, within five seconds of the page opening?
- Every button: press each one. Does it go where it says?
- Every word: spelling, prices, opening hours, phone numbers and the address.
- On a phone: most visitors arrive on a phone, so check the layout at phone size, not just on your computer.
- One main action: the button you most want visitors to press should be the easiest thing on the page to find.
Versions: your safety net
Every change the AI makes can be undone. In 3Edit you open Project History and press Restore beside an earlier version, and 3Edit saves your current version first, so you can always come back to it. That safety net is what lets you experiment: try the bold colour, the new layout or the different headline, and step back if it isn’t right.
Make it a habit: when a version looks good, take a moment to check it properly before you ask for the next big change. Later, connecting your own GitHub keeps a copy of every saved version outside your computer too.
When a change doesn’t come out right
- Say what you see, and what you wanted: “The button is now grey; I wanted it orange and larger” works better than “that’s wrong”.
- Show it: a screenshot of a design you like helps the AI match a style, and 3Edit creates your own original design in that style.
- Go back: if a change has made things worse, restore the last good version and ask again in different words.
- Stuck in a loop? If the AI keeps failing at the same thing, the stuck in a loop guide shows five ways to get moving again.
When is your first website finished?
It’s ready to share when a stranger could use it without help: they understand what you offer, they can take the main action, every detail is correct, and it looks good on a phone. Then you can publish it and give it your own domain.
It doesn’t need to be perfect. A live website you keep improving beats a perfect one that never launches, and with vibe coding, every improvement is just another clear request.
Try it in 3Edit.
Create a new project in 3Edit and work through these four prompts in order. After each one, review the result in the live preview before you paste the next.
- 1The brief
Build a website for Sparkle Cleaning, a friendly home cleaning company in East London. Services with prices: Regular clean from £18 an hour, Deep clean from £150 and End of tenancy from £220. Sections: a hero with a “Book a clean” button, our services, how it works in three steps (book online, we clean, you relax), three short customer reviews, and a contact section. Fresh, trustworthy and simple, and easy to use on a phone.
- 2One clear change
Add a slim bar at the very top of the page that says “Free quote within 24 hours”, in the brand colour. Change nothing else.
- 3A visitor’s fix
On a phone, make the “Book a clean” button full width and keep it easy to tap. Keep everything else the same.
- 4A bold experiment
Try a darker, more premium look for the hero section only: a deep navy background with white text. Keep the rest of the page as it is.
If you prefer the hero as it was, open Project History and restore the earlier version: that is the safety net in action. Notice how each prompt asks for one thing and says what should stay the same.
Do it step by step.
This lesson explains the what, the why and the when. These guides and pages show every click.
- Create your 3Edit accountCreate your account, confirm your email and sign in to the desktop app.Read the guide
- Video tutorialsShort videos on creating a website, editing it, version history and backups, and publishing.Watch the tutorials
- Customise with AIAsk for any change, show a design you like with a screenshot, and go back to an earlier version whenever you like.Read the guide
- AI coding agent stuck in a loop?Why agents get stuck, five fixes that work in any tool, and how to switch engines in 3Edit and carry on.Read the guide
Next: Writing prompts that build what you mean
About the author.
Written by Humayun Rashed, founder of 3Edit. He also runs 3Edit’s free in-person AI website building and vibe coding course in London.
Questions people ask.
Write a short brief: who the site is for, what it offers, the one action visitors should take, the sections you want and how it should feel. Paste it into 3Edit as your first message, review the result like a visitor, then refine it one change at a time.
The first version appears in the live preview while you watch. Most of your time goes into reviewing and refining it until every word, button and detail is right, which is time well spent.
Go back. In 3Edit you open Project History and press Restore beside an earlier version, and 3Edit saves your current version first, so you can always come back to it.
Describe the whole site in your first prompt, as a brief. After that, ask for one change per message, so every result is easy to check and easy to undo.
Say exactly what you see and what you wanted, add a screenshot if it helps, or restore the last good version and ask in different words. The stuck in a loop guide has five more ways to get moving again.
Start vibe coding today.
Download 3Edit for Mac or Windows and build your first professional website in minutes.