Skip to main content
Vibe Code Forum

Article: Path 4: Start with a chat assistant and copy-paste

Who it suits: learners who want to understand each step, people making single-page tools or small scripts, and anyone who already pays for a chat assistant.

What it looks like

You use a general assistant such as ChatGPT, Claude or Gemini. You ask for code, it writes it, and you copy it into a file and run it. Many assistants now show a live preview panel (Claude's artifacts, ChatGPT's and Gemini's canvas features) where small web pages run right inside the chat, so for a one-page tool you may never leave the conversation.

Good uses

  • A single HTML page: a calculator, a checklist, a mini game.
  • A script that renames files, cleans a spreadsheet or calls an API once.
  • Learning: "Explain this code line by line", "Why is this error happening?"
  • Planning: drafting the one-page plan before you open any other tool.

How to start

  1. Ask for something that fits in one file: "Write a single HTML file with built-in CSS and JavaScript that..."
  2. Use the preview panel if your assistant has one. Otherwise save the code as index.html and open it in your browser.
  3. For scripts, ask the assistant how to run them on your computer, step by step, and mention your operating system.
  4. When something fails, paste the exact error back into the chat.

Strengths

  • Nothing to install; often included in a plan you already have.
  • You see all the code and learn by reading it.
  • Great for explanations and second opinions on code from any other tool.

Watch out for

  • Copy-paste drift. Once a project has several files, keeping them in sync by hand becomes error-prone. That is the signal to move to an AI code editor.
  • Old answers. Assistants may suggest outdated library versions. Ask "is this the current way to do it?" and check the library's own documentation.
  • Secrets. Never paste real API keys or passwords into a chat. Use a placeholder like YOUR_KEY_HERE.

This path pairs well with every other path: many people build in one tool and use a chat assistant to explain and review.

Read next: Prompting that works: small steps, clear checks and Git and GitHub explained: save points for your code.

More in Pathways