# AI Website & App Creation — practice workbook

Build a useful small website, test real behavior, and prepare a maintainable delivery.

Tools: AI coding assistant, Lovable, Browser tools

## Project brief

a responsive service website

## Practice brief and source data

Build a compact responsive website or tested prototype for a fictional repair service. The core journey is to understand the service and submit an inquiry. Deliver real content, modular components, a form-state specification, responsive/accessibility checks and an honest deployment handoff.

- Pages: Home, Services, Inquiry.
- Service: repair consultations; no guaranteed repair outcome, price or turnaround is supplied.
- Inquiry fields: name, email, project type; no payment or personal documents.
- Form must preserve values after failure and prevent repeated submission while pending.
- Production requires server validation, per-request authorization and a verified saved record.
- The included test bench is a simulation, not a deployed backend.

```csv
Requirement,Expected behavior,Test
Navigation,Reach services and inquiry,Keyboard and link check
Email,Reject malformed address,Invalid input
Pending,Prevent repeat action,Repeated click
Failure,Preserve values and allow retry,Simulated outage
Success,Reflect confirmed save,Verify stored record in implementation
```

## 1. Specify the user task

About 35 minutes including guided practice; allow additional time for external-tool work.

## Your project

Build a compact responsive website or tested prototype for a fictional repair service. The core journey is to understand the service and submit an inquiry. Deliver real content, modular components, a form-state specification, responsive/accessibility checks and an honest deployment handoff.

### Approved practice facts

- Pages: Home, Services, Inquiry.
- Service: repair consultations; no guaranteed repair outcome, price or turnaround is supplied.
- Inquiry fields: name, email, project type; no payment or personal documents.
- Form must preserve values after failure and prevent repeated submission while pending.
- Production requires server validation, per-request authorization and a verified saved record.
- The included test bench is a simulation, not a deployed backend.

Define one main user, their goal, the pages, and success criteria. Write real content before requesting a layout. Keep the first version small.

### Build this part

Write the audience, primary task, page content and three observable acceptance checks.

Use the supplied source table in your workspace. Draft your own response before opening the worked example. Save an actual revision and explain its effect; the next lesson uses the same project.

**Acceptance check:** No fabricated service guarantee is added to make the page sound complete.

### Worked example

A visitor can identify repair consultations, find scope limits and send an inquiry. Home explains the service; Services describes what is included; Inquiry collects minimal details. Checks: keyboard-reachable action, labeled invalid-email error, accurate success state.

### Practice

Write the audience, primary task, page content and three observable acceptance checks.

**Review before moving on:** No fabricated service guarantee is added to make the page sound complete.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 2. Build modular interfaces

About 35 minutes including guided practice; allow additional time for external-tool work.

Use reusable components for fields, buttons, navigation, and repeated cards. Keep content separate from layout. Handle loading, empty, success, and error states.

### Build this part

Separate content from navigation, service cards, fields and status messages. Describe reusable states.

Use the supplied source table in your workspace. Draft your own response before opening the worked example. Save an actual revision and explain its effect; the next lesson uses the same project.

**Acceptance check:** Modularity supports consistent updates, not unnecessary file proliferation.

### Worked example

Content module owns approved service copy. Field component pairs label, input and error. Form status handles idle, pending, failure and success. Reuse spacing and button behavior without duplicating logic.

### Practice

Separate content from navigation, service cards, fields and status messages. Describe reusable states.

**Review before moving on:** Modularity supports consistent updates, not unnecessary file proliferation.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 3. Protect inputs and access

About 35 minutes including guided practice; allow additional time for external-tool work.

Validate input on the server as well as in the browser. Keep secrets off the client. Check authorization per request. Use fictional data during tests.

### Build this part

Write browser, server and authorization cases using fictional inputs.

Use the supplied source table in your workspace. Draft your own response before opening the worked example. Save an actual revision and explain its effect; the next lesson uses the same project.

**Acceptance check:** A prototype must list these backend checks as unimplemented until actually tested.

### Worked example

Browser: missing name and malformed email. Server: reject the same invalid payload even if browser validation is bypassed. Access: changing an inquiry ID cannot reveal another user’s record. Secrets never ship to the client.

### Practice

Write browser, server and authorization cases using fictional inputs.

**Review before moving on:** A prototype must list these backend checks as unimplemented until actually tested.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 4. Test and deploy

About 35 minutes including guided practice; allow additional time for external-tool work.

Check narrow screens, keyboard navigation, labels, contrast, links, and actual form delivery. Test the deployed version. Document configuration and recovery.

### Build this part

Use the form bench and test narrow layout, keyboard navigation and all response states. For a real build, inspect the deployed form result.

Use the supplied source table in your workspace. Draft your own response before opening the worked example. Save an actual revision and explain its effect; the next lesson uses the same project.

**Acceptance check:** Expected and observed behavior are recorded with unresolved defects.

### Worked example

At 320px, fields fit without horizontal page overflow. Labels stay visible. Failure preserves data. Pending prevents repeat action. Success follows a confirmed save; screenshot alone does not establish persistence.

### Practice

Use the form bench and test narrow layout, keyboard navigation and all response states. For a real build, inspect the deployed form result.

**Review before moving on:** Expected and observed behavior are recorded with unresolved defects.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 5. Revision, portfolio, and professional handoff

About 35 minutes including guided practice; allow additional time for external-tool work.

Review the deliverables against the brief, then simulate a client requesting one change within scope and one extra deliverable. Make the included revision; explain the scope and timing of the extra work. Keep original and revised versions.

Package the work with instructions, sources, and limitations. Test links and remove sensitive data. Label this as a concept project. Describe your contribution and how AI helped without claiming unsupported results.

### Build this part

Package site/prototype, source map, test log and deployment/rollback instructions.

Use the supplied source table in your workspace. Draft your own response before opening the worked example. Save an actual revision and explain its effect; the next lesson uses the same project.

**Acceptance check:** The recipient can distinguish finished interface work from outstanding production integration.

### Transfer challenge

Add a booking calendar. Identify concurrency and duplicate-reservation risks beyond the existing inquiry form tests.

### Worked example

Handoff states which integrations exist, how to change service text, who owns maintenance and how to revert a release. A prototype includes no claim that a real inquiry was stored or sent.

### Practice

Package site/prototype, source map, test log and deployment/rollback instructions.

**Review before moving on:** The recipient can distinguish finished interface work from outstanding production integration.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## Review rubric

Pass mark: 24/30 (80%). A human reviewer evaluates the work; completed fields are not a quality score.
### Complete, usable project — 10 points

9–10: all required artifacts form a coherent a responsive service website; inputs and constraints match the brief. 5–8: usable work with specific omissions. 0–4: disconnected drafts or missing core deliverables.

### Evidence and course-specific quality — 10 points

9–10: the published stage checks are demonstrated in actual outputs, including: Expected and observed behavior are recorded with unresolved defects. 5–8: minor documented gaps. 1–4: major untested assumptions. 0: fabricated evidence, unsupported factual claims or misrepresented deliverable type.

### Revision and transfer — 5 points

5: before/after revision explains an observable improvement and answers the transfer challenge with changed assumptions. 3–4: sound reasoning with one gap. 0–2: cosmetic edits, copied example without adaptation or unexplained decisions.

### Independent handoff — 5 points

5: editable sources, usable exports, source/permission log, tested access and a concise readme; simulation and pending external-tool checks clearly labeled. 3–4: small handoff gaps. 0–2: inaccessible files or claims of work not actually completed.

## Final delivery checklist

- [ ] A functional website or tested prototype
- [ ] A responsive and accessibility checklist
- [ ] A deployment and maintenance handoff
- [ ] Original and revised versions
- [ ] Sources, permissions and verification notes
- [ ] Sharing tested in a signed-out window
- [ ] Labeled as a concept project

## Further learning

https://www.canva.com/design-school/ · https://docs.n8n.io/ · https://developer.mozilla.org/

External tools may require accounts or paid features. Use the manual practice alternative when a feature is unavailable. No purchase is required to complete the written exercises.
