Build a Snap-Scroll Website with Claude
Full Guide for Non-Coders
This guide walks you through building a 3-section snap-scroll landing page (inspired by Nicolai Palmkvist's Elementor tutorial)
You don't need to know how to code, just copy-paste prompts and follow the steps.
Total time: ~2-3 hours for first-timers.
What you need
Accounts:
Claude Pro ($20/month) or higher — required for Claude Code
Machine:
Mac (this guide is for Mac; Windows is similar but a few commands differ)
Terminal (built into Mac, no install needed)
Assets:
8-9 images for 3 hero sections. Each hero needs:
1 background image (full screen)
1-2 foreground images (figure, focal object)
PNG format, recommend 2000px+ width

Plan your design with Claude AI (web chat)
Before going into Claude Code, use Claude.ai web chat to nail down the design. You upload images + design prompt, Claude builds an HTML demo so you can feel it before committing.
Prompt 1 — Build a prototype demo
Go to claude.ai, start a new conversation, upload all your images, paste this prompt:
(This is the HTML file you will use at step 2.3)
Prompt 2 — Tweak snap speed (optional)
After opening the demo file, scroll-test and report back:
Open the demo, click through presets, pick the intensity you like for each hero. Note the values (scale endpoint + duration).
2. Set up the project and start Claude Code
Step 2.1 — Create the project folder
In Terminal:
What each command does:
cd ~/Documents— go into the Documents foldermkdir snap-scroll-site— make a new foldercd snap-scroll-site— go into the folder you just mademkdir -p public/images— create the nestedpublic/imagesfolders
Step 2.2 — Copy images into the project
ls lists the filenames so you can verify everything copied.
Step 2.3 — Save the demo HTML from Claude AI
Save the demo Claude AI built for you (in Prompt 1) into the snap-scroll-site folder, naming it reference.html. This file becomes the "source spec" Claude Code will read.
Step 2.4 — Create CLAUDE.md
This file is the spec; Claude Code auto-reads it every session. Create a new file called CLAUDE.md in the project folder, paste this content (adjust values based on what you picked in Prompt 3):
3. Build the project step-by-step with Claude Code
Working with Claude Code is iterative: you describe what you want → it proposes a plan → you approve → it writes code → you test → you report bugs → it fixes. Don't try to one-shot the whole build; go phase by phase.
Always press Shift + Tab before big prompts to enter Plan Mode. Claude Code will lay out a plan instead of writing code immediately. You review the plan, then approve it before any file changes happen.
The build flows through these phases:
Kickoff — point Claude Code at
CLAUDE.mdandreference.html, ask it to map your images to the spec filenames and propose a build plan.Project init — Vite scaffold, install Tailwind v4 + GSAP, set up folder structure.
HTML — write
index.htmlwith 3 hero sections, fonts, progress dots.CSS — port layout from
reference.htmlinto split CSS files, wire image paths.First preview —
npm run dev, openlocalhost:5173, confirm layout looks right (no animation yet).Snap JS — port the snap-scroll logic (wheel/touch/keyboard/dots).
Per-layer animations — entrance + idle, running in parallel with the snap.
Iterate on bugs — test, report, fix, repeat.
Deploy — production build, push to Vercel.
For each phase: don't write your own prompts from scratch. Ask Claude AI (web chat) to write the prompt for you. Open a separate conversation on claude.ai and paste something like:
Claude AI will tailor the prompt for your exact phase, your image filenames, and your spec. Paste that into Claude Code, review the plan it returns, approve, and move on.
When something goes wrong, go back to Claude AI, describe the bug (or screenshot it), and ask:
This split — Claude AI for prompt-writing, Claude Code for execution — is the leverage. Claude AI knows how to phrase things for the agent; you don't need to learn prompt engineering yourself.

If this helped, the best thank you from you is a follow + share with one designer friend who needs to see it! More breakdowns coming weekly!!!
— Serena