AI Learning Hub › Learn AI › Self-Paced Courses › Codex Without the Code › Build Something New

Module 6 ยท Builder

Build Something New

Describe a small interface in ordinary language, let Codex choose the implementation, then evaluate the prototype as a first-time user.

By the end

  • Describe a small new interface in ordinary language
  • Let Codex decide the simplest technical implementation
  • Inspect a working prototype before treating it as finished
  • Evaluate the result as a first-time user
  • Refine an existing prototype instead of starting over

From changing a project to creating something new

So far, Codex has helped you understand, edit, and extend an existing page. Now give it a new outcome to build.

You still do not need to describe the code. Describe what a person should be able to do, what information the interface should use, and what boundaries Codex should respect. The first version does not need to be perfect; it needs to be small enough that you can inspect it.

Interface

The part of a project a person sees and interacts with.

Front end

The user-facing part of a digital project, including its content, layout, and interactive controls.

Prototype

A working version used to explore and test an idea before treating it as finished.

Use what you learned

This project now has a local history. For this larger feature, keep the new work separate until you have reviewed it.

Ask Codex to create a local branch named:

build-resource-comparison

Do not connect to GitHub, publish, or upload anything.

Step 1 — Describe what you want people to do

Prompt to try

Create a new page for this practice project called:

Compare Practice Resources

The purpose is to let a visitor choose two of the three existing fictional resources and compare them side by side.

Use only the titles and descriptions that already exist in this project. Do not invent new Stanford programs, services, offices, links, policies, contact information, or factual claims.

Requirements:

- Create the comparison as a separate page.
- Let the visitor choose a first resource and a second resource.
- Offer only the three fictional resources already on the main page.
- Show the selected resources side by side on wider screens.
- Stack them in a readable order on narrow screens.
- Show each selected resource's existing title and description.
- Include a clear way to return to the main resource guide.
- Use visible labels for all controls.
- Make the controls keyboard accessible.
- Preserve the existing visual style as closely as practical.
- Do not use external libraries, APIs, frameworks, accounts, analytics, or network requests.
- Do not modify the existing resource text.

Before making changes, briefly tell me:

- which files you expect to create or change;
- the simplest implementation you plan to use; and
- how you will check that the comparison works.

Then proceed with the implementation.

When finished, report:

- which files changed or were created;
- how you checked the interface;
- anything you could not verify; and
- whether any existing resource content changed.

Do not publish or deploy anything.

Codex had to make technical decisions to turn your description into a working page, and you do not need to understand all of those implementation choices yet. Start with the result:

Can a person actually compare two resources?

That is the first question a prototype needs to answer.

Step 2 — Stop building and look at what you made

Open the new comparison page in a browser and try the interface yourself, without asking Codex to change anything yet. Then use this exact prompt:

Review before revising

Review the new comparison page as if you are seeing it for the first time.

Do not make changes yet.

Evaluate:

- whether the purpose of the page is immediately clear;
- whether the two selection controls are easy to distinguish;
- whether it is obvious how to return to the main resource guide;
- what happens if the same resource is selected twice;
- whether the comparison remains understandable on a narrow screen;
- whether the interface relies on color alone to communicate anything important; and
- whether any part of the page feels unnecessarily complicated.

Separate actual problems from optional preferences.

Recommend no more than three improvements.

Do not edit anything yet.

This is a different kind of review from checking whether code runs: the page may be technically functional and still be confusing, awkward, or unclear. Before asking Codex to revise the prototype, decide which observations actually matter, rather than turning every suggestion into a change.

Step 3 — Refine the prototype instead of starting over

Prompt to try

Keep the comparison page and its existing structure.

Do not start over.

Refine the interface so that:

- a first-time visitor sees a short instruction above the selectors explaining that they should choose two different resources to compare; and
- if the same resource is selected in both controls, the page shows a clear message asking the visitor to choose two different resources instead of displaying a duplicate comparison.

Preserve:

- the existing three fictional resource titles and descriptions;
- the current visual style;
- keyboard accessibility;
- the responsive side-by-side and stacked layouts;
- the link back to the main resource guide.

Do not add external services, libraries, APIs, accounts, or network requests.

When finished, tell me exactly what changed and how you checked both behaviors.
Finished Compare Practice Resources prototype showing two selected fictional resources side by side, above them the instruction to choose two different resources, two labeled dropdowns, and a link back to the main resource guide
The refined prototype: an instruction, two labeled selectors, and the two chosen resources side by side. Open full-size image: the comparison prototype (opens in a new tab)

Build → inspect → refine

The first version gave you something concrete to evaluate. The second prompt identified specific problems and asked for targeted improvements rather than a rebuild, which is usually a better workflow than trying to predict every requirement in one enormous opening prompt. A prototype gives you something to react to.

Step 4 — Use the finished interface yourself

Test at least these cases:

Check your work

Review the finished comparison feature against the requirements.

Confirm:

- which files changed or were created;
- whether all three original resource titles and descriptions remain unchanged;
- whether two different resources can be compared;
- whether selecting the same resource twice produces the intended message;
- whether keyboard access still works;
- whether the narrow-screen layout remains usable;
- whether anything external was added or contacted; and
- anything you could not verify.

Do not make additional changes.

Finish the feature

If you are satisfied with the comparison page, ask Codex to:

Do not connect to GitHub, and do not publish or upload anything.

What to notice

You created a new interface without describing how to write its code, and describing the outcome was only the beginning: you built a first version, used it, identified specific problems, and refined what was already there. The important workflow is:

Build → inspect → refine.

Codex can make technical decisions. You still decide whether the result is understandable, useful, and ready to keep.

Checkpoint

You are ready for Module 7 if you can:

You do not need to write the code to make informed decisions about the result.