Ai Coding Tools

How to Use GitHub Copilot for Simple Projects in Under 2 Hours

By BTW Team3 min read

How to Use GitHub Copilot for Simple Projects in Under 2 Hours

If you're a solo founder or indie hacker, you know that time is often your most precious resource. Enter GitHub Copilot, an AI-powered code assistant that can help you write code faster and reduce the friction of getting started on simple projects. But how do you actually leverage this tool in a way that doesn’t feel overwhelming? In this guide, I'll walk you through using GitHub Copilot effectively for simple projects, all within about 2 hours.

Prerequisites: What You'll Need

Before diving in, make sure you have the following ready:

  • GitHub Account: You’ll need an account to use Copilot.
  • Visual Studio Code: Install this code editor if you haven't already. It's free and integrates smoothly with Copilot.
  • GitHub Copilot Subscription: As of May 2026, pricing starts at $10/month for individuals after a free trial.
  • Basic Programming Knowledge: Familiarity with JavaScript or Python is helpful but not mandatory.

Step 1: Setting Up GitHub Copilot

  1. Install Visual Studio Code: Download and install Visual Studio Code from here.
  2. Install GitHub Copilot Extension: Open Visual Studio Code, go to Extensions (or press Ctrl+Shift+X), and search for "GitHub Copilot". Click "Install".
  3. Sign In: After installation, you'll be prompted to sign in to your GitHub account. Follow the on-screen instructions to authorize the extension.

Expected Output: A working instance of Visual Studio Code with GitHub Copilot enabled.

Step 2: Start a Simple Project

Let’s create a small project, like a to-do list app using JavaScript. Here’s how to get started:

  1. Create a New File: In Visual Studio Code, create a new file named todo.js.
  2. Initialize Your Project: Type // To-Do List Application at the top of the file.
  3. Ask Copilot for Suggestions: Start typing a function, like function addTask(task), and wait for Copilot to suggest code. You can accept suggestions by pressing Tab.

Expected Output: A functioning addTask function that adds tasks to your list.

Step 3: Building Out the Functionality

Continue building your app by following these steps:

  1. Create Functions: For each feature (add, delete, view tasks), type the function name and let Copilot suggest the code.
  2. Test Your Code: Run your code frequently to ensure everything works as expected.

Example Functions You Can Create:

  • function deleteTask(taskId)
  • function viewTasks()
  • function markTaskAsDone(taskId)

Expected Output: A fully functional to-do list app with the ability to add, delete, and view tasks.

Troubleshooting Common Issues

  1. Code Doesn't Work as Expected: If Copilot's suggestions aren't working, try rephrasing your request. Sometimes, more context helps.
  2. Errors in Code: Remember to check for syntax errors and ensure you're using the correct programming language features.

What's Next: Expanding Your Project

Once you’ve built your simple app, consider these next steps:

  • Add a User Interface: Use HTML/CSS to create a basic front-end for your app.
  • Deploy Your App: Consider using platforms like Vercel or Netlify for easy deployment.
  • Integrate with a Database: If you want to save tasks permanently, look into Firebase or MongoDB.

Conclusion: Start Here

Using GitHub Copilot can significantly speed up your coding process for simple projects. By following these steps, you can create a functional to-do list app in under 2 hours. Copilot isn’t perfect, but it can be a great way to jumpstart your coding tasks and help you focus on building your project rather than getting bogged down in syntax.

What We Actually Use: We use GitHub Copilot for quick prototypes and to help accelerate our development process, especially for repetitive code patterns. However, we always double-check its suggestions for accuracy.

Follow Our Building Journey

Weekly podcast episodes on tools we're testing, products we're shipping, and lessons from building in public.

Subscribe

Never miss an episode

Subscribe to Built This Week for weekly insights on AI tools, product building, and startup lessons from Ryz Labs.

Subscribe
Ai Coding Tools

10 AI Coding Tools That Will Drastically Reduce Your Debugging Time

10 AI Coding Tools That Will Drastically Reduce Your Debugging Time As a developer, whether you're just starting out or have years of experience, debugging can feel like a neverend

Oct 16, 20265 min read
Ai Coding Tools

10 Common Mistakes When Integrating AI Coding Tools into Your Workflow

10 Common Mistakes When Integrating AI Coding Tools into Your Workflow As developers, we’re always on the lookout for ways to streamline our workflow and boost productivity. Enter

Oct 14, 20264 min read
Ai Coding Tools

5 Myths About AI Coding Tools That Could Hurt Your Development Process

5 Myths About AI Coding Tools That Could Hurt Your Development Process As a solo founder or indie hacker, you might be lured by the promises of AI coding tools that claim to simpli

Oct 13, 20264 min read
Ai Coding Tools

5 Common Mistakes Developers Make When Using AI Coding Tools in 2026

5 Common Mistakes Developers Make When Using AI Coding Tools in 2026 As AI coding tools have become an integral part of a developer's toolkit in 2026, many are still stumbling over

Oct 12, 20264 min read
Ai Coding Tools

5 Myths About AI Coding Tools: What Every Developer Should Know in 2026

5 Myths About AI Coding Tools: What Every Developer Should Know in 2026 As we dive into 2026, the landscape of AI coding tools has evolved significantly, yet many developers still

Oct 11, 20263 min read
Ai Coding Tools

Why AI Coding Assistants Are Overrated for Beginners in 2026

Why AI Coding Assistants Are Overrated for Beginners in 2026 As a solo founder or indie hacker, it’s tempting to think that AI coding assistants are the silver bullet to jumpstart

Oct 10, 20263 min read