Ai Coding Tools

How to Use AI Coding Tools to Build Your First Project in 2 Hours

By BTW Team5 min read

Comparing tools? See the AI tools tested on the show.

In short

A step-by-step guide on leveraging AI coding tools to successfully complete your first coding project in just 2 hours.

If you're a solo founder or indie hacker looking to build your first project, you might feel overwhelmed by the coding aspect. The good news is that AI coding tools have come a long way and can help you get a project off the ground in just 2 hours. In 2026, these tools are more accessible than ever, making coding less daunting and allowing you to focus on what really matters: shipping your idea.

Prerequisites for Getting Started

Before diving into the tools, here's what you'll need:

  • Basic understanding of programming concepts: You don’t need to be a pro, but knowing what variables and functions are will help.
  • An IDE (Integrated Development Environment): Tools like Visual Studio Code or JetBrains IDEA work great.
  • An AI coding assistant: You'll need access to at least one AI coding tool from our list below.

Here's a breakdown of some of the best AI coding tools you can use to build your project quickly:

| Tool Name | Pricing | Best For | Limitations | Our Take | |------------------|---------------------------|----------------------------------|----------------------------------|---------------------------| | GitHub Copilot | $10/mo, free trial available | Code suggestions and completions | Limited to supported languages | We use this for quick code snippets. | | Tabnine | Free tier + $12/mo pro | Autocompletions in various IDEs | May struggle with complex logic | We find it useful for autocomplete. | | Replit | Free for basic, $7/mo for pro | Collaborative coding in the browser | Performance lags with larger projects | Great for quick prototypes. | | ChatGPT | $20/mo for Pro | General coding help and explanations | Not always context-aware | We use this for brainstorming and debugging. | | Codeium | Free | AI-powered code generation | Limited to JavaScript and Python | We don't use this because it lacks support for other languages. | | Ponicode | $29/mo, no free tier | Unit testing automation | May require manual adjustments | Useful for ensuring code quality. | | Sourcery | Free tier + $12/mo pro | Code improvement suggestions | Limited to Python | We use this for improving existing code. | | DeepCode | $0-20/mo based on usage | Code review and bug detection | May provide false positives | We don't use this because of false positives. | | Codex by OpenAI | Pay as you go | Custom code generation | Requires OpenAI API knowledge | We haven't used this yet. | | PolyCoder | Free | Generating code in multiple languages | Still in development | Good for experimentation. |

What We Actually Use

In our experience, we primarily use GitHub Copilot for writing code quickly and ChatGPT for getting explanations and debugging tips. They complement each other well, allowing us to build and iterate on our projects efficiently.

Step-by-Step Guide to Build Your First Project

Now that you know which tools to use, let’s build a simple web application. We’ll create a basic to-do list app using GitHub Copilot and ChatGPT.

Step 1: Set Up Your Development Environment (15 minutes)

  1. Install Visual Studio Code: Download and install VS Code.
  2. Install GitHub Copilot: Follow these instructions to set it up.
  3. Create a new project folder: Open VS Code and create a folder for your project.

Step 2: Create Basic Files (15 minutes)

  1. Create index.html: This will be your main file.
  2. Create style.css: For styling your app.
  3. Create app.js: For your JavaScript logic.

Step 3: Use GitHub Copilot to Generate Code (30 minutes)

  1. Open index.html and start typing:

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="style.css">
        <title>To-Do List</title>
    </head>
    <body>
        <h1>My To-Do List</h1>
        <input type="text" id="taskInput" placeholder="Add a new task">
        <button id="addTaskButton">Add Task</button>
        <ul id="taskList"></ul>
        <script src="app.js"></script>
    </body>
    </html>
    

    Copilot will suggest completions as you type.

  2. Open app.js and type:

    // Function to add a new task
    function addTask() {
        // Your code here
    }
    

    Copilot will help you fill in the code.

Step 4: Debugging with ChatGPT (30 minutes)

  1. If you encounter issues, describe your problem to ChatGPT, e.g., "Why isn't my task adding to the list?"
  2. Implement suggestions provided by ChatGPT directly into your code.

Step 5: Style Your App (20 minutes)

  1. Use Copilot to generate basic CSS styles for your app in style.css.
  2. Iterate on the styles until you're satisfied.

Step 6: Test and Deploy (10 minutes)

  1. Open your index.html in a browser to test.
  2. Deploy using a service like Netlify or Vercel for free.

Troubleshooting Common Issues

  • Code doesn't run: Double-check for syntax errors. Use ChatGPT to help identify them.
  • Styling issues: Review your CSS. Copilot can help suggest fixes.
  • Functionality bugs: Debug step by step, using console logs and ChatGPT for guidance.

What's Next?

Once your to-do list app is live, consider adding features like user authentication or data storage with a backend service. Explore more advanced AI tools for larger projects, and keep iterating on your work.

Conclusion

Building your first project using AI coding tools is not just possible, but can be done in a couple of hours. Start with GitHub Copilot for coding and ChatGPT for troubleshooting. This combo can significantly reduce the time it takes to go from idea to execution.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read