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

How to Optimize Your Coding Speed with AI Tools in 2 Hours

How to Optimize Your Coding Speed with AI Tools in 2026 As indie hackers and solo founders, we’re always on the lookout for ways to streamline our workflow. In 2026, AI coding tool

Aug 25, 20264 min read
Ai Coding Tools

How to Create a Simple Application Using GitHub Copilot in 2 Hours

How to Create a Simple Application Using GitHub Copilot in 2 Hours In 2026, the landscape of coding has changed dramatically with the advent of AI tools like GitHub Copilot. If you

Aug 25, 20263 min read
Ai Coding Tools

Cursor vs. Codeium: Which AI Tool Makes You a Better Coder in 2026?

Cursor vs. Codeium: Which AI Tool Makes You a Better Coder in 2026? As someone who has spent countless hours coding and debugging, the arrival of AI coding tools like Cursor and Co

Aug 25, 20263 min read
Ai Coding Tools

Love or Hate: Why GitHub Copilot is Overrated for New Developers

Love or Hate: Why GitHub Copilot is Overrated for New Developers As a new developer, diving into the world of coding can feel overwhelming. You’re bombarded with tools and technolo

Aug 25, 20264 min read
Ai Coding Tools

How to Optimize Your Coding Workflow with AI Tools in Just 60 Minutes

How to Optimize Your Coding Workflow with AI Tools in Just 60 Minutes As a solo founder or indie hacker, time is your most precious resource. You can spend hours debugging code or

Aug 25, 20265 min read
Ai Coding Tools

How to Build Your First App in 72 Hours Using AI Coding Tools

How to Build Your First App in 72 Hours Using AI Coding Tools If you're a beginner looking to build your first app, the idea of doing it in just 72 hours might sound crazy. But wit

Aug 25, 20264 min read