Free learning tools for curious minds, families & classrooms
the curiosi
AI Quiz Maker

LEARN · PRACTISE · DISCOVER

Capstone: Build Your First App with Codex

Read at your own pace. Try the practice, then continue your course.

In this capstone you will meet Codex, OpenAI’s coding agent, and use it to build and improve a small personal web page, a “daily focus” page that shows your top three goals and a motivational quote. You do not need to know how to code. Along the way you will apply every skill from the course: clear prompting, iteration, careful review and checking results.

Step 1: Choose how to use Codex

Codex is available in several places. Availability and limits depend on your plan, with cloud tasks generally requiring a paid plan.

SurfaceBest for
Codex in ChatGPT (cloud)Working on code stored on GitHub without installing anything
Codex desktop appA friendly visual way to work on folders on your computer
Codex CLIWorking in a terminal on files on your computer
Editor extensionWorking inside code editors such as VS Code

For this project, use the desktop app or the CLI so everything stays in a practice folder on your computer. If you choose the CLI, follow the official installation instructions; at the time of writing a common method uses Node.js:

npm install -g @openai/codex
mkdir daily-focus
cd daily-focus
codex

The first time you run it, Codex asks you to sign in, usually with your ChatGPT account. Installation steps change, so check OpenAI’s Codex documentation if anything differs.

Step 2: Write a clear brief

Use the five-part framework from Lesson 2. Codex works best with specific, testable requests:

Task: Create a simple web page called index.html in this folder.

Context: It is a personal "daily focus" page I will open each
morning. I am a beginner, so keep the code simple and add short
comments explaining each part.

Requirements:
- A heading with today's date
- Three text boxes for my top 3 goals, saved in the browser
  so they are still there when I reload the page
- A random motivational quote from a list of 10, with a
  "New quote" button
- Calm colours, large text, works on a phone

Constraints: Plain HTML, CSS and JavaScript only. No external
libraries. Do not create any other files unless necessary.

Step 3: Review, test and improve

Approvals

Codex shows you what it plans to do and, depending on its approval settings, asks before editing files or running commands. As a beginner, keep approvals on so you see every step. Read each request: if Codex wants to run a command you do not understand, ask it: “Explain what this command does before I approve it.”

Test it like a user

Open index.html in your browser. Check that the date is right, type three goals, reload the page and confirm they are still there, and click the quote button several times. Try it on a narrow browser window to simulate a phone.

Improve in small rounds

Change one thing per request, as you learned in Lesson 2:

  1. “Add a checkbox next to each goal that crosses it out when ticked.”
  2. “Add a dark mode that follows my device setting.”
  3. “Show a short celebration message when all three goals are ticked.”

If something breaks, describe it precisely: what you did, what you expected and what happened. Ask Codex to explain its changes so you learn as you go. Keep a copy of the folder before big changes so you can always go back.

Course recap

LessonCore skill
1Understand ChatGPT, Codex, plans, limits and offers
2Write clear prompts and refine answers
3Use files, images, voice and Canvas
4Organise work with instructions, memory, Projects and GPTs
5Use search, deep research, agent mode and apps
6Build and improve a small app with Codex

Key takeaways

Practice

Build the daily focus page following all four steps, then add two improvements of your own. Write a short note listing what you asked for, one thing Codex got wrong and how you described the problem to get it fixed.

Share this