Build a web app with Replit Agent

Describe your idea, build a first version, and test the core features in Replit’s preview.

Updated 10 min

What you will create

Build a small quiz with Replit Agent and check its scoring and restart behavior in the preview. The goal is an understandable, testable prototype, not a commercial application ready for real users.

Before you start

Use a practice project without personal data, service connections, payments or a database. Check your selected mode and usage before building. Do not assume planning or automated testing is free: conditions depend on the mode and plan shown in your account. Keep the project unpublished during this exercise.

Step-by-step

  1. Open your web app project in the Project Editor. Turn on Plan in the agent input before requesting a task list. This setting belongs to the project editor, not directly to every conversation.
  2. Provide the quiz rules below. Review the plan: three fixed questions, scoring, a results screen and a restart are enough. Remove unnecessary user accounts, online leaderboards and external services.
  3. Once the scope and cost suit you, approve building in the current session. Depending on the project's state, the button may be Start building or Build here.
  4. Open the preview and run every acceptance case. An attractive interface does not prove the score is correct. Record what happened before requesting a fix.
  5. For a failure, give the steps, actual outcome and expected outcome. After a fix, rerun the cases that previously worked too. You do not need to publish the prototype simply to check it.

Example to adapt

Original brief: “Create an English quiz usable with a keyboard and on small screens, without sign-in or persistent storage. Three questions: 2 + 3? (4, 5, 6; correct: 5), 10 − 4? (5, 6, 7; correct: 6), 3 × 2? (5, 6, 8; correct: 6). One answer per question. Next requires an answer. Award one point for a correct answer, with no penalty. Show the score out of three and a Restart button that clears every answer.”

  • Answers 5, 6, 6: expected score 3/3.
  • Answers 4, 5, 8: expected score 0/3.
  • Answers 5, 5, 6: expected score 2/3.
  • Double-clicking an answer: no additional points.
  • Restart: first question, no selected answer and score reset to zero.

Check your result

These are acceptance expectations, not tests performed in Replit. Navigate the controls by keyboard and check visible focus and mobile readability. If you enable App Testing, check availability and cost; Agent does not necessarily test after every message. Its report supplements your checks, not a guarantee that there are no bugs.

Common problems

Score increases twice: ask for each question to count only once. Old answers after restarting: reset answers, question index and score together. Growing scope: return to the minimum specification before adding features. Missing Plan setting: check that you are in the app's project editor.

Next steps

Read the Replit AI profile on QAILT. Then add one improvement, such as an explanation after each answer, and rerun the full checklist.