Ai Coding Tools

How to Build Your First Coding Project Using AI in Just 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 tools to create a simple coding project quickly, perfect for new developers.

So, you want to build your first coding project but feel overwhelmed by the idea of writing every line of code from scratch? You’re not alone. Many aspiring developers face the same hurdle. The good news is that with AI tools, you can create a functioning project in just 2 hours, even if you have little to no coding experience.

In this guide, I’ll walk you through the specific tools and steps you’ll need to leverage AI to kickstart your coding journey. We’ve tested these tools ourselves, so you’ll get insights into what actually works and what doesn’t.

Prerequisites: What You Need to Get Started

Before diving in, make sure you have the following:

  1. A computer with internet access: This is where all the magic will happen.
  2. A code editor: I recommend Visual Studio Code (VS Code) for its user-friendly interface. It's free!
  3. Basic understanding of programming concepts: Familiarity with variables, loops, and functions will help, but it’s not mandatory.

Step 1: Choose Your Project Idea

Start with a simple project idea. Here are a few suggestions:

  • A to-do list app
  • A weather app that fetches data from an API
  • A personal blog with a few static pages

Pick one that excites you. For this guide, let’s say we’re building a basic to-do list app.

Step 2: Select Your AI Tools

Here’s a list of AI tools that can help you build your project efficiently:

| Tool Name | What It Does | Pricing | Best For | Limitations | Our Take | |--------------------|--------------------------------------------------|-----------------------------|------------------------------|--------------------------------------------------|---------------------------------------| | OpenAI Codex | Generates code based on natural language prompts | $20/mo, no free tier | Quick code snippets | May require editing for best results | We use this for generating functions | | GitHub Copilot | AI pair programmer that suggests code as you type| $10/mo, free trial available| Real-time code suggestions | Limited by the context of your code | Great for getting unstuck | | Replit | Online IDE with AI code generation | Free tier + $7/mo pro | Collaborative coding | Can be slow with larger projects | We use it for quick prototyping | | ChatGPT | Conversational AI that helps with coding queries | Free, $20/mo for Plus | General coding assistance | May not provide complete code solutions | We ask it for explanations and tips | | Codeium | AI code generator for various languages | Free, paid plans start at $10/mo | Diverse language support | Sometimes lacks context awareness | Good for multi-language projects | | DeepCode | AI-powered code review tool | Free for open-source, $25/mo for private | Code quality improvement | Limited to code review, not generation | We don't use it, prefer live coding | | Tabnine | AI code completion tool | Free tier + $12/mo pro | Enhancing coding speed | Less effective for complex code | We use this when working in teams | | Ponic | AI tool for building web apps without coding | $25/mo, free tier available | No-code web app development | Limited flexibility for custom features | We don't use it; prefer coding | | AIDE | Android IDE with AI suggestions | Free, $9.99/mo for premium | Mobile app development | Limited to Android apps | Not applicable for web projects | | Glitch | Collaborative platform for building web apps | Free, paid plans start at $10/mo | Community-driven projects | Limited customization options | We use it for community projects |

Step 3: Setting Up Your Environment

  1. Install VS Code: Download and install it from Visual Studio Code.
  2. Set up GitHub Copilot: Sign up for GitHub and enable Copilot in your VS Code settings.
  3. Create a new project folder: Name it something like “ToDoApp”.

Step 4: Writing Code with AI Assistance

With your tools set up, let’s start coding your to-do list app:

  1. Create an HTML file: In your project folder, create index.html and type:

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>To-Do List</title>
    </head>
    <body>
        <h1>My To-Do List</h1>
        <ul id="todo-list"></ul>
        <input type="text" id="todo-input" placeholder="Add a new task..."/>
        <button id="add-todo">Add</button>
        <script src="app.js"></script>
    </body>
    </html>
    
  2. Create a JavaScript file: Next, create app.js and ask GitHub Copilot to generate the logic for adding items to the list:

    const addButton = document.getElementById('add-todo');
    const todoList = document.getElementById('todo-list');
    const todoInput = document.getElementById('todo-input');
    
    addButton.addEventListener('click', () => {
        const newTodo = document.createElement('li');
        newTodo.innerText = todoInput.value;
        todoList.appendChild(newTodo);
        todoInput.value = '';
    });
    
  3. Test your app: Open the index.html file in your browser to see your to-do list in action.

Troubleshooting Common Issues

  • Nothing happens when I click the button: Check your JavaScript console for any errors and ensure your script is linked correctly in your HTML.
  • The app looks weird: You may want to add some CSS to style your app. Use tools like Tailwind CSS for easy styling.

What’s Next?

Now that you have your first coding project up and running, consider these next steps:

  1. Add more features: A delete button for each to-do item, or the ability to mark items as completed.
  2. Learn about APIs: Fetch data from an external source, like a weather API, to expand your project.
  3. Share your project: Publish it on platforms like GitHub or Glitch to showcase your work.

Conclusion: Start Here

If you’re looking to build your first coding project using AI, start with a simple idea and leverage the tools listed above. In our experience, combining GitHub Copilot with a solid understanding of HTML, CSS, and JavaScript can get you up and running in just 2 hours.

Remember, the key is to start small, iterate, and keep learning. Don’t worry about perfection; focus on getting something functional out the door.

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