Get your API key

Lesson 3 of 6

Build the screens with prompts

Tabs, a routine list and an add form, built one prompt at a time.

8 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson your Daily Routine app will have two tabs, a routine list you can tick, and a form to add new routines, each built with one prompt and checked on your phone.

You need: the daily-routine project from lesson 2, npx expo start running, your phone with Expo Go · Time: 8 minutes

  1. Ask the agent for a plan first. It should read the starter project and tell you what it will change.

    Prompt · copy it into your AI agent
    I am building a "Daily Routine" app with this Expo Router project. I am a beginner and I test everything in Expo Go on my phone.
    The app needs:
    - Tab 1 "Today": a list of my routines (for example "Drink water", "Walk 20 minutes", "Read 10 pages"). I can tap a routine to mark it done for today.
    - Tab 2 "Add": a form to add a new routine with a name and a time of day (Morning, Afternoon, Evening).
    Do not write code yet. Read the project, then give me a short plan: which files you will create, change or delete, and in what order. Keep it to 3-4 small steps I can test one by one.

    Read the plan. If it mentions logins, a server, a database or new libraries, say no: we keep everything on the phone for now.

    Why?

    A plan shows you what the agent understood before it touches files. Correcting a plan costs one message; undoing wrong code costs many.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. Give the agent design rules once
  2. Prompt 1: the two tabs
  3. Prompt 2: the routine list you can tick
  4. Prompt 3: the add form
  5. Make a Git save point
  6. Recap