# Lovable: Practical Workflows — practice workbook

Build a small website from a clear specification and test its real behavior.

Tools: Lovable

## Project brief

Create and test a small service website

## Practice brief and source data

Specify, build and test a small fictional service website: Home, Services and an inquiry form. Use the built-in form test bench for failure scenarios and create a site externally if available. A prototype submission must say which backend behavior remains unimplemented. Keep content and reusable components separate.

- Studio offers graphic kits and simple websites; no prices or turnaround guarantees are approved.
- Form collects name, email and project type only.
- Project types: graphics, website, unsure.
- Required states: empty, invalid, pending, success and failure.
- A real site must validate on the server and enforce access per request.
- The practice test bench neither stores a real inquiry nor sends email.

```csv
Page,Required content,Acceptance check
Home,"Audience, services, one inquiry action",Action opens inquiry form
Services,Graphics and website scope,No invented price
Inquiry,"Name, email, project type",Labels and validation
Success,Accurate saved-state message,Only after confirmed save
```

## 1. Get started with Lovable

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

## Your project

Specify, build and test a small fictional service website: Home, Services and an inquiry form. Use the built-in form test bench for failure scenarios and create a site externally if available. A prototype submission must say which backend behavior remains unimplemented. Keep content and reusable components separate.

### Approved practice facts

- Studio offers graphic kits and simple websites; no prices or turnaround guarantees are approved.
- Form collects name, email and project type only.
- Project types: graphics, website, unsure.
- Required states: empty, invalid, pending, success and failure.
- A real site must validate on the server and enforce access per request.
- The practice test bench neither stores a real inquiry nor sends email.

Build a small website from a clear specification and test its real behavior. Start from the official resource below, check account requirements, and create a practice workspace with fictional data. Find where projects are created, saved, and exported. Name your first project clearly.

Interface labels and paid features can change; consult official help when a control moves. If access is unavailable, use the workbook to plan each action and record the expected output. A paid upgrade is not required for the written alternative.

[Official learning resource](https://docs.lovable.dev/)

### Build this part

Create a short specification and choose site implementation or tested prototype. Record the intended audience.

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:** Keep scope aligned with one useful user journey.

### Worked example

Cedar helps small organizations prepare graphics and simple websites. Main task: submit a project inquiry. Pages: Home, Services, Inquiry. No checkout, account or payment system is needed.

### Practice

Create a short specification and choose site implementation or tested prototype. Record the intended audience.

**Review before moving on:** Keep scope aligned with one useful user journey.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 2. Write a focused specification

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

Define users, their main task, pages, inputs, and acceptance criteria. Start with a small flow and real content. Do not confuse a visual mockup with working behavior.

### Build this part

Write a specific implementation prompt with components and 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:** A request to look modern is replaced by observable behavior.

### Worked example

Build reusable navigation, service card, labeled field and form status components. Use approved service text. The form must show invalid email and failed-save states and preserve entered values.

### Practice

Write a specific implementation prompt with components and acceptance checks.

**Review before moving on:** A request to look modern is replaced by observable behavior.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 3. Iterate in small changes

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

Ask for one behavior change at a time and retest affected flows. Keep versions so you can revert. Review generated code or settings where available.

### Build this part

Change one form behavior and describe the regression checks required.

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:** One focused change is easier to verify than rewriting the whole site.

### Worked example

Add a project-type selector with graphics, website and unsure. Recheck keyboard access, required validation, preserved values on error and successful payload shape.

### Practice

Change one form behavior and describe the regression checks required.

**Review before moving on:** One focused change is easier to verify than rewriting the whole site.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 4. Protect data and access

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

Never put private keys in browser code. Use supported server-side storage and authorization. Test signed-out and wrong-user access if the project stores data.

### Build this part

Document client versus server validation, secret handling and record access.

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:** Hiding a link or button is not authorization.

### Worked example

Browser validation helps the user; server validation enforces the rules. Secrets stay on the server. A user cannot read another inquiry by changing an ID. Use fictional test records.

### Practice

Document client versus server validation, secret handling and record access.

**Review before moving on:** Hiding a link or button is not authorization.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 5. Test and prepare deployment

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

Check mobile layout, keyboard use, labels, errors, links, and real submissions. Preview the deployed build and document limitations. Do not call a prototype production-ready without these checks.

### Build this part

Use the form lab to test empty, invalid, pending, failed and successful submissions. Record expected and observed 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:** A green animation is not evidence that a server saved the inquiry.

### Worked example

Invalid email blocks submission with a labeled error. Failure retains data and allows retry. Simulated success appears only on the success branch. For a real site, verify the saved record too.

### Practice

Use the form lab to test empty, invalid, pending, failed and successful submissions. Record expected and observed states.

**Review before moving on:** A green animation is not evidence that a server saved the inquiry.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 6. Build a repeatable production workflow

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

Save a reusable starting point: a prompt, layout, timeline, or workflow. Separate changing inputs from fixed rules. Test it on a second brief and record what breaks. Batch only after one complete example passes review.

Keep a versioned original so you can recover from an unhelpful edit. Your checklist should cover input permissions, output quality, and final format.

### Build this part

Write the configuration, verification and rollback steps for a real deployment or mark them pending for a prototype.

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:** Do not claim a deployment or backend test that was not performed.

### Worked example

Confirm environment variables without exposing values. Test the deployed form with a fictional record. Verify record existence and access. Keep a rollback version and owner. Prototype-only delivery marks these checks pending.

### Practice

Write the configuration, verification and rollback steps for a real deployment or mark them pending for a prototype.

**Review before moving on:** Do not claim a deployment or backend test that was not performed.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 7. Finish the project and client handoff

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

Combine the exercises into the final brief. Keep editable source material and a usable export or documented alternative. Review in the environment where the work will be used. Ask for one specific revision and show how you respond.

Document sources and permissions, remove private data, and test sharing from a signed-out window. Explain limitations honestly. A reviewer evaluates your submission against the published rubric.

### Build this part

Deliver the implementation or prototype, component map, test log and maintenance note.

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 maintain the site and distinguish working behavior from planned integration.

### Transfer challenge

Add a file attachment field. Identify new validation, storage, access and failure cases before implementing it.

### Worked example

Readme lists pages, approved content, form schema, tested states and remaining integration work. Explain how to update service text in one content module.

### Practice

Deliver the implementation or prototype, component map, test log and maintenance note.

**Review before moving on:** The recipient can maintain the site and distinguish working behavior from planned 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 Create and test a small 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: Do not claim a deployment or backend test that was not performed. 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 working page or detailed prototype
- [ ] A functional and accessibility test log
- [ ] A handoff with configuration and limitations
- [ ] Original and revised versions
- [ ] Sources, permissions and verification notes
- [ ] Sharing tested in a signed-out window
- [ ] Labeled as a concept project

## Further learning

https://docs.lovable.dev/

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.
