Ai Coding Tools

How to Build a Simple App with Cursor in Under 1 Hour

By BTW Team3 min read

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

In short

A step-by-step guide for beginners on using Cursor to create a functional app quickly, covering essential features and best practices.

Building an app can feel like a daunting task, especially for beginners. But what if I told you that you can create a simple app in under an hour using Cursor? In 2026, Cursor has emerged as a powerful AI coding tool that simplifies the development process for indie hackers and solo founders. Whether you’re looking to prototype a new idea or build a side project, this guide will show you how to leverage Cursor effectively.

Prerequisites

Before we dive into the build, here’s what you’ll need:

  • A Cursor account: Sign up for a free tier if you haven't already.
  • Basic understanding of programming concepts: Familiarity with JavaScript will be helpful.
  • A project idea: Keep it simple—think of a to-do list or a weather app.

Time Estimate

You can finish this project in about 1 hour if you have everything set up beforehand.

Step-by-Step Guide

Step 1: Set Up Your Cursor Environment

  1. Sign in to Cursor: Go to the Cursor website and log in.
  2. Create a New Project: Click on “New Project” and name it according to your idea (e.g., "Simple To-Do App").
  3. Select a Template: Choose a basic web app template to get started quickly.

Step 2: Define Your App's Structure

  1. Create Basic Files: In your project folder, create index.html, style.css, and app.js.

  2. Set Up HTML: In index.html, structure your app layout. Here’s a simple example:

    <html>
    <head>
        <link rel="stylesheet" href="style.css">
    </head>
    <body>
        <h1>My Simple To-Do App</h1>
        <input type="text" id="task" placeholder="Add a new task">
        <button id="add-task">Add Task</button>
        <ul id="task-list"></ul>
        <script src="app.js"></script>
    </body>
    </html>
    

Step 3: Style Your App

  1. Add Basic CSS: In style.css, add some simple styles to make your app look decent. Here’s a quick start:

    body {
        font-family: Arial, sans-serif;
    }
    #task-list {
        list-style-type: none;
    }
    

Step 4: Implement Functionality with JavaScript

  1. Add JavaScript Logic: In app.js, implement the logic to add tasks. Here’s a straightforward example:

    document.getElementById('add-task').addEventListener('click', function() {
        const taskInput = document.getElementById('task');
        const taskList = document.getElementById('task-list');
        const newTask = document.createElement('li');
        newTask.textContent = taskInput.value;
        taskList.appendChild(newTask);
        taskInput.value = '';
    });
    

Step 5: Test Your App

  1. Run Your App: Open index.html in your browser and test the functionality. You should be able to add tasks dynamically.

Troubleshooting

  • JavaScript Not Working?: Check your console for errors; ensure your script is linked correctly.
  • Styling Issues?: Make sure your CSS file is linked properly in the HTML.

What's Next

Once your app is built, consider adding more features like task deletion or local storage to save tasks between sessions. You can also explore integrating with APIs for more advanced functionalities.

Conclusion

You’ve now built a simple app using Cursor in under an hour! This is just the beginning; as you grow more comfortable with coding, you can expand your app's functionality or even take on more complex projects.

If you're looking to continue your learning journey, I recommend checking out the latest tools and techniques in our weekly podcast, Built This Week.

What We Actually Use

In our experience, Cursor is a great tool for rapid prototyping, especially for those starting out. While it lacks some advanced features found in other IDEs, it’s perfect for simple projects.

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