Ai Coding Tools

How to Write Your First Project Using AI Coding Tools in 2 Hours

By BTW Team4 min read

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

In short

An actionable step-by-step guide for beginners to create a simple application from scratch using AI coding tools in just two hours.

If you’ve ever felt overwhelmed by the prospect of coding your first project, you're not alone. Diving into programming can feel like learning a new language—one filled with syntax errors and cryptic error messages. But here's a contrarian insight: with the rise of AI coding tools, you can write your first project in just two hours. Yes, really. In this guide, I’ll walk you through how to leverage these tools effectively and get something tangible built without needing to become a coding wizard.

Time Estimate: 2 Hours

Before we dive in, you should know that you can complete this project in about two hours if you follow the steps closely.

Prerequisites

  1. An AI coding tool: Choose from the list below.
  2. Basic understanding of programming concepts: This helps, but is not mandatory.
  3. A code editor: I recommend Visual Studio Code (free).
  4. An idea for a simple project: Think of something like a to-do list app or a weather app.

Step-by-Step Guide

Step 1: Choose Your AI Coding Tool

Here’s where you'll spend a few minutes deciding which tool to use. Below are some popular AI coding tools:

| Tool Name | What It Does | Pricing | Best For | Limitations | Our Take | |--------------------|--------------------------------------------|------------------------------|------------------------------|-----------------------------------------------|-----------------------------------| | GitHub Copilot | AI pair programmer that suggests code | $10/mo for individuals | Quick code suggestions | Limited to GitHub; can suggest incorrect code| We use this for quick prototypes. | | OpenAI Codex | Converts natural language to code | $20/mo for API access | Building small apps | API access can be slow; costs add up | We don’t use this for large apps. | | Replit | Online IDE with AI assistance | Free tier + $7/mo Pro | Collaborative coding | Limited offline functionality | Great for beginners. | | Tabnine | AI code completion tool | Free tier + $12/mo Pro | JavaScript, Python projects | Limited to specific languages | We find it helpful for JavaScript.| | Codeium | AI-powered coding assistant | Free | General coding tasks | Less robust compared to others | We use it for small scripts. |

Step 2: Set Up Your Project

Once you’ve selected your tool, set up your project. If you're using GitHub Copilot, create a new repository on GitHub and clone it to your local machine. If you’re using Replit, just create a new project directly in the browser.

Step 3: Outline Your Project

Spend about 15 minutes outlining what you want your project to do. For example, if you’re building a to-do list app, your outline might look like this:

  • Add a task
  • Delete a task
  • View all tasks

Step 4: Start Coding with AI Assistance

Now, this is where the magic happens. Begin coding your project. Use your AI tool to help generate code snippets based on your outline. For example, if you type “function to add a task,” GitHub Copilot will suggest a function for you.

Step 5: Test Your Project

After coding, take about 30 minutes to test your project. Make sure all functionalities work as intended.

Step 6: Troubleshooting

If you run into issues, here’s what to do:

  • Error Messages: Use your AI tool to help debug. Type the error message into the chat or input field.
  • Functionality Issues: Go back to your outline and ensure you haven’t missed any steps.

Step 7: Final Touches

Spend the last 15 minutes adding any additional features or polishing your code. This could include styling your app or optimizing your functions.

What's Next?

Once you’ve completed your project, consider sharing it on platforms like GitHub or Product Hunt. This not only showcases your work but also helps you get feedback and connect with other builders.

Conclusion: Start Here

If you're looking to build something tangible quickly, start by choosing one of the AI coding tools listed above. We recommend GitHub Copilot for its ease of use and powerful suggestions. Dive in, follow the steps, and you’ll have a functioning project in just two hours.

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