Ai Coding Tools

How to Master AI-Assisted Coding: Build Your First App in 2 Hours

By BTW Team4 min read

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

In short

A step-by-step guide on using AI coding tools to create a basic application in just two hours, targeting those who are new to development.

If you’re a beginner looking to dive into coding, the prospect of building your first app can be daunting. But what if you could leverage AI to speed up the process? In 2026, AI-assisted coding tools have matured significantly, making it possible to create a functional app in just two hours. Here’s how you can do it, step by step.

Prerequisites: What You Need to Get Started

Before diving in, here’s a quick checklist of what you’ll need:

  1. A computer: Mac, Windows, or Linux will work.
  2. An internet connection: For accessing AI tools and resources.
  3. Basic understanding of programming concepts: You don’t need to be an expert, but knowing the basics will help.
  4. Accounts on AI coding tools: We'll cover some specific tools below.

Step 1: Choose Your AI Coding Tool

There are several AI-assisted coding tools out there. Here’s a breakdown of some popular options to help you decide:

| Tool Name | Pricing | Best For | Limitations | Our Take | |----------------------|------------------------|-------------------------------|----------------------------------|----------------------------------------| | GitHub Copilot | $10/mo, free for students | Writing code suggestions | Limited to supported languages | We use this for quick code snippets. | | Tabnine | Free tier + $12/mo Pro | Autocompletion for multiple languages | Not as intuitive for beginners | We don't use this as much; Copilot is better. | | Replit | Free tier + $20/mo Pro | Collaborative coding | Limited features in free tier | Use it for quick prototyping. | | Codeium | Free | AI-powered code suggestions | Still in beta, may lack stability | Worth trying out for quick tasks. | | Ponicode | $29/mo, no free tier | Unit testing automation | More complex setup required | We don’t use it; focus on simpler tools. | | Sourcery | Free tier + $15/mo Pro | Code reviews and improvement | Limited to Python | Useful for Python projects. | | DeepCode | Free, $19/mo for teams | Code quality analysis | Can be slow on large projects | Not our go-to, but good for audits. |

Step 2: Set Up Your Development Environment

To build your app, you’ll need a development environment. Here’s how to set it up in under 30 minutes:

  1. Install Visual Studio Code (VS Code): This is a free code editor that integrates well with AI tools. Download here.
  2. Install Git: Essential for version control. Follow the installation guide.
  3. Set up your AI tool: Install the relevant plugin or extension for your chosen AI coding tool. For example, if you’re using GitHub Copilot, install the GitHub Copilot extension from the VS Code marketplace.

Step 3: Start Building Your App

Now comes the fun part! Let’s build a simple “To-Do List” app. Here’s a quick outline of what you’ll do:

  1. Create a new project folder and open it in VS Code.
  2. Create an index.html file: This will be your main HTML file.
  3. Use your AI tool to generate the boilerplate code:
    • For example, type <!DOCTYPE html> and let GitHub Copilot suggest the rest.
  4. Add functionality: Ask your AI tool to help you write JavaScript functions for adding, removing, and displaying tasks. For instance, type “function to add a task” and see what it suggests.
  5. Style your app: Create a styles.css file and ask the AI for basic styles (e.g., “CSS for a button”).

Expected output: You should have a basic functional app that allows you to add and remove tasks by the end of this step.

Step 4: Troubleshooting Common Issues

Even with AI assistance, you might run into some hiccups. Here are common issues and how to fix them:

  • AI doesn’t suggest relevant code: Make sure you’re clear with your prompts. Instead of “I need code,” try “generate a function to add tasks to a list.”
  • Errors in the code: Use the built-in debugger in VS Code to find and fix syntax errors. You can also use your AI tool for suggestions on error resolution.

What's Next: Building on Your Success

Congrats on building your first app! Now, consider these next steps:

  1. Deploy your app: Use platforms like Heroku or Vercel to host your app online. Both have free tiers.
  2. Iterate on functionality: Add features like user authentication or data persistence using local storage.
  3. Explore more advanced AI coding features: Check out how to integrate APIs or build more complex apps.

Conclusion: Start Here

If you’re looking to dip your toes into coding, using AI-assisted tools is a practical way to get started. Follow these steps, leverage the tools mentioned, and don’t hesitate to iterate on your project.

What we actually use: We primarily rely on GitHub Copilot for code suggestions and Replit for quick prototyping.

Ready to build your app? Dive in, and remember, the best way to learn is by doing.

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