Skip to content
1 min read

Website Developer prompt templates

Prompt templates

Get a polished, responsive single-page website in one prompt.

Prompts that make the model act as a front-end developer and UX lead: it plans sections, writes the copy and builds a complete, accessible, mobile-first website with a working nav. Student prompts produce portfolios and event sites; professional prompts add conversion strategy, SEO, structured data and a launch checklist.

โš™๏ธ CanvasChatterMate.Ai builds a live, editable Canvas artifact (app, site or dashboard).๐Ÿงพ 4 samples with real outputsโœจ ChatterMate.Ai All-in-one AI workspace: chat, Canvas, Writer, slides and images.๐Ÿฅ Healthcare & Life Sciences๐ŸŽ“ Education & EdTech๐Ÿ“ฃ Marketing & Advertising๐Ÿ’ป Tech, SaaS & Software
  1. Learn the template. Hover each coloured slot and ? to see what goes where and why.
  2. Study a sample. Compare the filled prompt with its real output preview.
  3. Make it yours. Fill in the blanks, then ๐Ÿš€ Try it in ChatterMate.Ai.

Switch level: the template, slots and samples change together.

Prompt template ๐ŸŽ“ Student

Students building a portfolio, club or event site for the first time.

Hover or tap a coloured slot to see what to write. Every block has a ? that explains why it is there. Fill the blanks, then Try it in ChatterMate.Ai.

Role01Why Role?Sets the expertise and voice. A specific expert role pulls in the right vocabulary, standards and judgement.

You are a front-end developer and design mentor known for clean, accessible, minimal sites.

Goal02Why Goal?One clear outcome and why it matters. The model optimises for what you name here.

Build a complete single-page Site typeWhat kind of site: portfolio, club, event, project page.e.g. personal portfolio for Site ownerWhose site it is, with a short descriptor.e.g. Maya Okafor, a third-year design student that helps with GoalThe one outcome the site should drive.e.g. landing a summer UX design internship.

Context03Why Context?Facts the model cannot guess: your situation, background and known limits.

Background: BackgroundFacts about you or the club the copy can use.e.g. I study Interaction Design and freelance for clubs.

Audience04Why Audience?Who reads the result decides depth, tone and jargon.

Visitors are VisitorsWho lands on the site and what they want.e.g. internship recruiters skimming 50+ portfolios; they skim on phones first.

Inputs05Why Inputs?The material to use, and an explicit rule not to invent anything outside it.

Content: SectionsEvery section and item the page must include.e.g. hero, 3 projects, skills, about, contact. Use only this; write "[add link]" or "[add photo]" for gaps; never invent awards, clients, numbers or quotes.

Steps06Why Steps?An ordered procedure makes the model plan before it writes, which improves structure and accuracy.

1. Plan sections and nav order from the goal. 2. Write short, scannable copy per section. 3. Build semantic HTML. 4. Style mobile-first with one accent colour, Accent colourOne colour name plus hex code.e.g. coral #ff6b5b. 5. Add a working mobile nav toggle and in-page links. 6. Test at 320px, 768px and 1440px.

Constraints07Why Constraints?Length, must-include, must-avoid and honesty rules. Constraints turn a generic answer into a usable one.

One HTML file, inline CSS and vanilla JS; no frameworks, CDNs, web fonts or remote images (use CSS or inline SVG); semantic landmarks, alt text, labelled fields, visible focus, AA contrast; no horizontal scroll; reduced motion respected; under 40 KB.

Tone & style08Why Tone & style?Voice, formality and style words keep the output on-brand and appropriate.

Friendly, confident and concise; first person for portfolios.

Output format09Why Output format?The exact structure you want back: headings, tables, code, sections. Saves a rewrite.

Full HTML, then 3 bullets: how to edit content, how to publish free, what to add next.

Example10Why Example?A short good example anchors the pattern (few-shot prompting).

Project card: title, one-line outcome, 3 tool tags and a "View case study" link.

Self-check11Why Self-check?Acceptance criteria the model verifies before answering. Catches gaps and invented facts.

Nav toggle opens and closes by keyboard and updates aria-expanded; every section listed in Inputs exists; links work or are marked [add link]; no invented facts; layout holds at 320px.

Follow-up12Why Follow-up?Tells the model what to ask or offer next, so the conversation keeps improving the result.

Ask 3 questions to personalise version 2; offer dark mode or a working contact form.

โœจ Sample prompts built from this template

2 examples ยท each with a real output you can preview, copy and download

Design student portfolio

A recruiter-friendly one-page portfolio with project cards, skills and contact for an internship hunt.

Prompt ยท 1,864 chars
ROLE: You are a front-end developer and design mentor known for clean, accessible, minimal sites.
GOAL: Build a complete single-page personal portfolio for Maya Okafor, a third-year graphic design student that helps with landing a summer UX/UI design internship.
CONTEXT: Background: I study Interaction Design at Lakeshore College of Art (fictional) and freelance for campus clubs.
AUDIENCE: Visitors are internship recruiters and design leads reviewing 50+ portfolios; they skim on phones first.
INPUTS: Content: hero with intro, 3 projects (campus transit app redesign, food-bank brand identity, museum wayfinding kiosk), skills, about, resume download, contact. Use only this; write "[add link]" or "[add photo]" for gaps; never invent awards, clients, numbers or quotes.
STEPS: 1. Plan sections and nav order from the goal. 2. Write short, scannable copy per section. 3. Build semantic HTML. 4. Style mobile-first with one accent colour, coral #ff6b5b. 5. Add a working mobile nav toggle and in-page links. 6. Test at 320px, 768px and 1440px.
CONSTRAINTS: One HTML file, inline CSS and vanilla JS; no frameworks, CDNs, web fonts or remote images (use CSS or inline SVG); semantic landmarks, alt text, labelled fields, visible focus, AA contrast; no horizontal scroll; reduced motion respected; under 40 KB.
TONE: Friendly, confident and concise; first person for portfolios.
OUTPUT FORMAT: Full HTML, then 3 bullets: how to edit content, how to publish free, what to add next.
EXAMPLE: Project card: title, one-line outcome, 3 tool tags and a "View case study" link.
SELF-CHECK: Nav toggle opens and closes by keyboard and updates aria-expanded; every section listed in Inputs exists; links work or are marked [add link]; no invented facts; layout holds at 320px.
FOLLOW-UP: Ask 3 questions to personalise version 2; offer dark mode or a working contact form.
Make it yours
  • Add one real outcome per project (even "tested with 6 riders") so cards are not just titles.
  • Paste your actual bio lines into Background; the model will not invent experience.
  • Change the accent to match your personal brand or resume colour.
Follow-up prompts (3)

Paste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.

Sample output
Maya Okafor portfolio: hero, 3 project cards, skills, about, resume and contact with a mobile menu.
Maya Okafor portfolio: hero, 3 project cards, skills, about, resume and contact with a mobile menu. Example output; yours will differ.
Open .html
Page

Club event site

A punchy event page with schedule, tracks, FAQ and RSVP form to drive sign-ups.

Prompt ยท 1,866 chars
ROLE: You are a front-end developer and design mentor known for clean, accessible, minimal sites.
GOAL: Build a complete single-page club event site for the Riverside Robotics Club (fictional) that helps with getting 150 sign-ups for our spring Hack and Build Night.
CONTEXT: Background: student-run club of 40 members; the event is March 14, 6-11pm, Engineering Hall atrium, free, pizza included.
AUDIENCE: Visitors are students from any major, many with no robotics experience; they skim on phones first.
INPUTS: Content: hero with date and RSVP button, what to expect, schedule, 3 tracks (beginner, drones, AI vision), FAQ, sponsors placeholder, RSVP form. Use only this; write "[add link]" or "[add photo]" for gaps; never invent awards, clients, numbers or quotes.
STEPS: 1. Plan sections and nav order from the goal. 2. Write short, scannable copy per section. 3. Build semantic HTML. 4. Style mobile-first with one accent colour, electric teal #0fb5ae. 5. Add a working mobile nav toggle and in-page links. 6. Test at 320px, 768px and 1440px.
CONSTRAINTS: One HTML file, inline CSS and vanilla JS; no frameworks, CDNs, web fonts or remote images (use CSS or inline SVG); semantic landmarks, alt text, labelled fields, visible focus, AA contrast; no horizontal scroll; reduced motion respected; under 40 KB.
TONE: Friendly, confident and concise; first person for portfolios.
OUTPUT FORMAT: Full HTML, then 3 bullets: how to edit content, how to publish free, what to add next.
EXAMPLE: Project card: title, one-line outcome, 3 tool tags and a "View case study" link.
SELF-CHECK: Nav toggle opens and closes by keyboard and updates aria-expanded; every section listed in Inputs exists; links work or are marked [add link]; no invented facts; layout holds at 320px.
FOLLOW-UP: Ask 3 questions to personalise version 2; offer dark mode or a working contact form.
Make it yours
  • Add your real room, accessibility info and what to bring to the background facts.
  • Name confirmed sponsors only; otherwise keep the placeholder.
  • Say where RSVPs should go (Google Form, club email) so the form action is right.
Follow-up prompts (3)

Paste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.

Sample output
Hack and Build Night site: hero with countdown chips, tracks, schedule, FAQ accordion and validated RSVP form.
Hack and Build Night site: hero with countdown chips, tracks, schedule, FAQ accordion and validated RSVP form. Example output; yours will differ.
Open .html
Page

๐Ÿ’ก Pro tips

  • Name one conversion goal; pages that try to do everything convert on nothing.
  • List every section you want in Inputs so the model does not drop or invent sections.
  • Give proof as facts (numbers, credentials, hours); the model must not make up testimonials.
  • Ask for a working mobile nav and a 320px test explicitly; that is where generated sites break.

โš ๏ธ Common mistakes

  • Asking for "a modern website" with no audience, goal or content.
  • Letting the model invent reviews or star ratings, which is misleading and can break consumer law.
  • Pulling in web fonts, CDNs or stock images that slow the page and break offline previews.
  • Forgetting SEO basics: one H1, a meta description and structured data that match the visible content.

Build it for real in ChatterMate.Ai

Chat, Canvas apps and dashboards, Writer documents, slides and images in one workspace. Start free; no setup.

Start free

Get better at prompting

Free Prompt Engineering Academy: the 12-block anatomy, techniques, mistakes and practice.

Start learning