A SMALL GUIDE TO CODEX AI

An idea.
A prompt.
Your first build.

Meet Codex, OpenAI’s coding agent. Get help understanding code, making changes, and running commands. Start with something small.

A beginner-friendly guide. No big setup. One small website.

my-first-project

› codex

Build a tiny personal website.
Keep it simple. Make it feel like me.

Let’s make something.

+ index.html

+ styles.css

+ a place to start

One prompt. A starting point.
YOU BRING THE IDEA.BUILD FROM THERE.

Illustrative conversation

A little context goes a long way.

Describe what you want. Review what changes. Keep iterating.

FIRST PROJECT

Make a page.
Learn the loop.

Build a personal homepage with a short bio and a few links. Follow the terminal path below, then make it your own.

  1. Set up your workspace

    With Node.js and npm installed, open your terminal. Install Codex, create a project folder, and launch it.

    TERMINAL
    npm install -g @openai/codex
    mkdir my-first-project
    cd my-first-project
    codex

    On first launch, choose Sign in with ChatGPT or another available sign-in method. See the official installation guide for alternatives.

  2. Give it one clear task

    Explain the result you want and the constraints that matter. Try this prompt in your Codex conversation:

    YOUR FIRST PROMPT
    Create a simple personal homepage using HTML and CSS.
    Include my name, a short bio, and three placeholder links.
    Use a clean layout that works on phones and desktops.
    Use no frameworks. Explain how I can preview it locally.
  3. Open it. Check it. Make it yours.

    Follow the preview instructions Codex provides. Replace the placeholder content and links. Check the page at a narrow window width, and ask Codex to explain any code you don’t understand.

    “Make the heading smaller on mobile, and add a little more space between the links.”

    Review the changes before sharing your work. Save a copy or a Git checkpoint so you can return to a version you like.

You don’t need the perfect prompt. Start with a clear goal, look at the result, and ask for the next small change.

A few questions first?

FAQ

Good questions.
Simple answers.

A few things to know before you begin.

What is Codex?

Codex is OpenAI’s coding agent. In the CLI, it can inspect your project, edit files, and run local tools. This guide uses it to build a small website. Explore Codex CLI.

Do I need to know how to code?

You can begin with a plain-language request. Basic HTML and CSS will help you understand the result. Ask Codex to explain one file or one change at a time, and check the page yourself as you learn.

Do I have to use the terminal?

No. You can also use Codex through the desktop app or an IDE extension. We use the CLI here to keep the walkthrough focused. The official quickstart explains other ways to begin.

Is Codex free?

Check the official pricing and availability page for current access, usage limits, and costs. Availability depends on your account and sign-in method.

What should I put in a prompt?

Include the goal, relevant context, and any constraints. For this project: “Build a personal homepage, use plain HTML and CSS, and make it work on mobile.” After the first version, request one specific improvement at a time.

Can I trust every change it makes?

Check generated code and try the result yourself. For this homepage, inspect the text and links, test the layout on your phone, and keep a saved version before requesting a larger change.

Is this an official OpenAI website?

No. This is an independent beginner guide hosted at keepsilence2012.ru. For product details and current instructions, use the official documentation linked throughout the page.

START SMALL. KEEP BUILDING.

Your next idea
starts with a prompt.

Try the first project