What you need

Three things, and you probably have two already. First, an AI coding tool: Claude Code, Codex, Antigravity, Cursor, Lovable or v0 all work, as long as it can create files and run a development server or preview. Second, a detailed prompt for the site you want. Third, somewhere to host a modern web app; most hosts that support Next.js deploy straight from a Git repository.

You will also want your own content ready before you start: the company name, a one-line promise, three to five benefits, a few images or short films, and the action you want visitors to take. Having these to hand is what turns an afternoon into a finished site instead of a demo. Put them in one document, so you can paste each piece straight into the prompt while you edit it.

A realistic schedule

An afternoon is enough for a polished marketing site or landing page if you keep the scope tight. Here is how the four hours usually break down, so you know when you are on track and when to cut something.

If you fall behind, cut scope rather than quality. Drop a section, keep one film instead of three, and ship. You can add more next week; a fast, accessible page with fewer sections beats a slow one with everything.

  • Hour one: choose the design, read the prompt, gather your content and edit the prompt.
  • Hour two: the first full build and two or three rounds of precise follow-ups.
  • Hour three: your own media, copy and colours, and cutting motion you do not need.
  • Hour four: performance, accessibility and SEO checks, then deployment.

Hour one: choose a starting design and read its prompt

Starting from a finished design is faster than describing one from nothing, because the hard decisions about layout, type and motion are already made. Browse by what you are building: full websites, landing pages or hero sections, then narrow by industry or style.

Open the live preview and click through it on desktop and phone sizes. Ask yourself which sections you will keep, which you will drop, and where your own content will go. Then read the prompt page. A good prompt tells you exactly what the tool will build: every section, every motion beat, the media it expects and the checks it will run. For example, Postlane is a SaaS site with editorial motion, and Lucent is a calm, minimal healthcare site; their prompts read very differently because the designs are different.

Before pasting, edit the prompt. Replace the brand, the headline and the section copy with yours. Change the palette if your brand demands it. Delete sections you do not need. Ten minutes here saves an hour of follow-up prompts later.

Hour two: the build loop

Paste the prompt into a fresh project and let the tool work through the whole thing without interruption. When it finishes, run the site and review it against the preview, one section at a time. Then iterate in a tight loop.

  • Paste: the full prompt, once, into a clean project.
  • Run: start the development server and open the page at desktop and 390px widths.
  • Review: compare each section with the preview. Write down specific differences.
  • Refine: send short, precise follow-ups, one problem per message: "The features grid should be three columns above 1024px and one column below 640px." Vague requests ("make it nicer") produce random changes.

Hour three: make it yours

Now replace everything that is not yours. Swap placeholder images and films for your own, keeping the same aspect ratios so the layout holds. Compress films to a few megabytes, export a poster frame for each, and keep hero clips short; a loop of six to ten seconds is plenty.

Check the copy line by line. AI tools sometimes polish your words into something generic, so put back anything that lost its meaning. Adjust colours to match your brand, but test text contrast over every image and film, not just the first frame. If you change fonts, re-check that headlines still fit on a phone.

This is also the moment to cut motion you do not need. If an animation does not help the visitor understand something or take the next step, remove it. Fewer, better moments feel more premium than constant movement.

Hour four: ship it

Before you deploy, run four quick checks.

  • Performance: run Lighthouse in mobile mode. Aim for 90 or more. The usual fixes are compressing media, adding posters, lazy-loading below-the-fold content and removing unused libraries.
  • Accessibility: keyboard through the page, turn on reduced motion and confirm nothing important disappears, and check focus outlines.
  • SEO basics: a unique title and description per page, real text headings (not text baked into images), alt text on images, and a sitemap.
  • Deployment: push the project to a Git repository and connect it to your host. Most hosts that support Next.js build and publish automatically on every push, which makes future edits painless.

Troubleshooting the build

Most afternoons hit one or two snags. These are the usual ones, and how to get past them quickly.

  • The tool stops halfway. Ask it to continue from the last completed section, and paste the rest of the prompt if needed.
  • A package is missing or the build fails. Paste the exact error message and ask for the smallest fix; avoid asking it to fix everything at once.
  • Videos do not autoplay. Check that they are muted and have playsInline, and that the files are in a format browsers accept, such as H.264 MP4.
  • Scroll effects stutter. Ask the tool to animate only transform and opacity, and to use the animation library's scroll APIs instead of raw scroll handlers.
  • The site looks different from the preview. Compare one section at a time and quote the prompt's numbers back to the tool.

Keeping it maintainable after launch

A site built in an afternoon still has to live for years. Keep the prompt you used in the repository next to the code, so future changes start from the same brief. Make small, reviewable changes with your AI tool rather than regenerating whole pages. Name media files clearly and keep the originals somewhere safe. And when you add a new section, write a short prompt in the same structure, with layout, motion beats, states and checks, so the new part matches the old ones.

When to start from a template and when to start from scratch

Start from a template when speed matters, when the design is close to what you need, or when you want a level of motion polish you would not have time to design yourself. Most marketing sites, launches, portfolios and landing pages fall into this group.

Start from scratch when your product's interface is the page, when your brand system is strict and very different from anything available, or when the site is mostly content and data rather than story. Even then, borrowing a tested prompt structure, with sections, motion beats and acceptance checks, will make your own prompts far more reliable.

If you want to try the afternoon plan today, the library has free designs to practise on, such as Stillwater and Nimbus, and every plan includes the full library from $9 a month. See the pricing page for details.