Ai Coding Tools

How to Create Your First Project with GitHub Copilot in Just 90 Minutes

By BTW Team3 min read

How to Create Your First Project with GitHub Copilot in Just 90 Minutes

If you're a solo founder or indie hacker, you know that getting started with coding can feel daunting. You might have ideas swirling in your head but struggle with implementing them. That's where GitHub Copilot comes in—a tool that can help you generate code snippets and streamline your development process. In just 90 minutes, you can create your first project using GitHub Copilot, even if you're a beginner.

Prerequisites: What You Need to Get Started

Before diving in, make sure you have the following:

  1. GitHub Account: Sign up at GitHub if you don’t have one.
  2. Visual Studio Code: Download and install VS Code as your code editor.
  3. GitHub Copilot Subscription: You'll need a subscription for Copilot, which costs $10/month or $100/year as of August 2026. There is a free trial available.
  4. Basic Understanding of JavaScript: Familiarity with JavaScript will be helpful but not required.

Step 1: Setting Up GitHub Copilot

  1. Install GitHub Copilot Extension: Open VS Code, go to the Extensions panel, and search for "GitHub Copilot." Click "Install."
  2. Sign In: After installation, you'll be prompted to sign in to your GitHub account. Follow the on-screen instructions.
  3. Activate Copilot: Once signed in, Copilot is ready to assist you with code suggestions.

Step 2: Creating Your First Project

2.1 Choose a Project Idea

Start simple. Here are a few project ideas:

  • A basic to-do list app
  • A weather app that fetches data from an API
  • A personal blog site using HTML/CSS

For this tutorial, we’ll build a simple to-do list app.

2.2 Initialize Your Project

  1. Open a new folder in VS Code and create a new index.html file.
  2. Add the basic HTML structure:
<!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>
    <input type="text" id="taskInput" placeholder="Add a new task">
    <button id="addTaskBtn">Add Task</button>
    <ul id="taskList"></ul>
    <script src="script.js"></script>
</body>
</html>

2.3 Use GitHub Copilot for JavaScript

  1. Create a new file named script.js.
  2. Start typing a function to add tasks to the list. As you type, Copilot will suggest code. For example, start with:
function addTask() {
  1. Accept the suggestion or modify it as needed. Here's a simple implementation:
let tasks = [];

function addTask() {
    const taskInput = document.getElementById('taskInput');
    const task = taskInput.value;
    tasks.push(task);
    taskInput.value = '';
    renderTasks();
}

function renderTasks() {
    const taskList = document.getElementById('taskList');
    taskList.innerHTML = '';
    tasks.forEach(task => {
        const li = document.createElement('li');
        li.textContent = task;
        taskList.appendChild(li);
    });
}

document.getElementById('addTaskBtn').addEventListener('click', addTask);

Troubleshooting Common Issues

  • Copilot Not Suggesting Code: Ensure you're signed in and the extension is enabled.
  • JavaScript Errors: Check the console in your browser for error messages that can guide you in debugging.
  • Styling Issues: Use CSS to style your app. Copilot can help with basic CSS if you ask for it.

What's Next

Once your to-do list app is up and running, consider enhancing it with features like:

  • Task deletion
  • Persistence using local storage
  • A more polished UI with CSS frameworks like Bootstrap

Conclusion: Start Here

Creating your first project with GitHub Copilot can be an empowering experience. With just 90 minutes and the right setup, you can go from zero to a functioning app. Remember, the key is to start simple and build upon your skills gradually.

If you find yourself stuck, don’t hesitate to check out our podcast, where we share insights and tools that can help you on your building journey.

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