AI Learning Hub › Learn AI › Self-Paced Courses › Codex Without the Code › Change One Thing

Module 2 ยท Beginner

Change One Thing

Request one small visible edit, find the file Codex changed, read the before-and-after diff, and confirm nothing else moved.

By the end

  • Request one small, visible edit
  • See which file Codex changed
  • Read a before-and-after comparison
  • Confirm that Codex changed only what you requested

Start small on purpose

You now have a project open and you know what its files do. The next step is to let Codex change one thing you can immediately recognize.

Small edits are useful for learning because the result is easy to inspect. If you ask for one heading to change, you can quickly tell whether Codex did what you intended — and whether it changed anything else.

Diff

A before-and-after view showing what changed in a file. Removed content and added content are shown separately so you can inspect the edit.

Step 1 — Ask for one visible change

Prompt to try

Change the visible page heading from:

SLS Community Resource Guide

to:

SLS Practice Resource Guide

Before editing, tell me which file you expect to change.

Make only this change. Do not modify any other text, styling, files, or project settings.

After the change, tell me which file you edited.

Codex should identify index.html as the file containing the visible page heading, make the requested edit, and leave the other files alone. If it proposes changing another file, stop and ask why before continuing.

Step 2 — Look at what changed

After Codex finishes, its answer opens with Worked for and the time it took. Open that, then open the Edited a file step inside it. Codex shows a card headed with the file it touched and a count of the lines it added and removed — here index.html +1 −1 — and beneath that, the line it removed followed by the line it added.

Codex change view showing the old page heading replaced by the new page heading in index.html: the file is listed as plus one line and minus one line, with the removed line reading SLS Community Resource Guide and the added line reading SLS Practice Resource Guide
One file, one line removed, one line added. Open full-size image: the edited-file card and its diff (opens in a new tab)

A diff lets you inspect the change without having to read the whole file. In this exercise, you should see only one meaningful content change:

The rest of the file should remain unchanged.

Step 3 — Check the result

Open index.html in a browser and confirm that the visible heading now says SLS Practice Resource Guide. Then ask Codex:

Check your work

Review the changes you just made.

Confirm:

- which file changed;
- what text was replaced;
- whether any other files changed; and
- whether anything outside the requested heading was modified.

Do not make any additional changes.

What to notice

You are beginning to supervise the work rather than simply request it. The important habit adds a second question to “Did Codex make the change?” — namely “Did Codex change anything I did not request?” A small task makes that question easy to answer.

Checkpoint

You are ready for Module 3 if you can:

You do not need to understand the HTML syntax to do this review.