First App.
Your learning space A little progress, every day
CHAPTER 03Lesson 8 of 20

Build your first page

Now let the AI make the first small version in your folder. Keep the first build focused on one page.

In your AI helper12 min read & do
By the end of this lesson

Create a website with real content and a working main action.

Let’s do this

  1. 1
    In your AI helper

    Approve the small plan

    Use the message below once the plan matches your idea. Tell the AI to build in the existing folder. It can install the chosen free packages. For a new Vite project, the dot in the example command means “right here”; you do not need to run it yourself if the helper is doing setup.

    npm create vite@latest . -- --template react-ts
    npm install
  2. 2
    In your AI helper

    Use content you can judge

    For Little Garden, ask for a title, a short explanation, a plant-name input, an Add plant button and an empty-list message. For a business site, use the actual service name and a working email link. Do not accept a row of impressive-looking buttons with no job.

  3. 3
    In Finder

    Understand the few files you will see

    Ask the AI to point them out in Finder: src holds the screen code, public holds files such as pictures, and package.json lists the tools and commands. node_modules is a downloaded tools folder. You rarely need to touch it. The folder may contain other setup files; have the AI explain them when needed.

  4. 4
    In your AI helper

    Have the AI start the preview

    Ask it to run the development command from your project and give you the full local address it prints. Keep the task or terminal running. The next lesson walks through opening the preview and checking changes.

A message for your AI helper

The plan looks right. Build the first useful page of my first website inside this existing folder. Use the agreed free tools. Create real content for the people I want to help and make the first action work. Do not add extra services. Explain what the main files are for, run the project’s checks, start the local preview and give me the exact address to open. Tell me which features are still placeholders.

What you should see

Your project folder now has website files, and the AI gives you a running local preview address.

If you get stuck

Go at your own pace. There is no test to pass.

Checked 7 September 2026. Screens can change; the official guides below have the latest steps.

Vite: getting startedshadcn/ui: Vite setupTailwind CSS: Vite setup