Ai Coding Tools

How to Build a Simple Web App with Bolt.new in 2 Hours

By BTW Team3 min read

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

In short

Step-by-step tutorial on utilizing Bolt.new to create and deploy a basic web application in just 2 hours, perfect for newbies.

Building a web app from scratch can feel overwhelming, especially for beginners. But what if I told you that you could get a simple web app up and running in just two hours? With Bolt.new, a powerful AI coding tool, this is not just a dream—it's entirely possible. In 2026, more builders are turning to AI tools like Bolt.new to simplify their workflows and speed up development. Let’s dive into how you can leverage Bolt.new to launch your web app quickly and efficiently.

Prerequisites: What You Need to Get Started

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

  1. A Bolt.new Account: Sign up for a free account at Bolt.new.
  2. Basic Understanding of HTML/CSS/JavaScript: While Bolt.new simplifies coding, having a basic understanding will help you customize your app.
  3. A Code Editor: I recommend using Visual Studio Code or any code editor you’re comfortable with.
  4. Node.js Installed: Bolt.new projects often use Node.js, so make sure you have it set up on your machine.

Step 1: Create Your Project in Bolt.new

  1. Log into Bolt.new: Once you’re in, click on "Create New Project."
  2. Choose a Template: Bolt.new offers several templates; for our simple app, select the "Basic Web App" template.
  3. Name Your Project: Give it a descriptive name that reflects its purpose.

Expected Output

You should see a basic project structure with files like index.html, style.css, and app.js automatically generated for you.

Step 2: Customize Your Web App

Now that your project is set up, it's time to add some content and functionality.

  1. Edit index.html: Add your app's title and a simple header.
    <h1>Welcome to My Simple Web App</h1>
    
  2. Style with style.css: Change the background color and font styles.
    body {
        background-color: #f0f0f0;
        font-family: Arial, sans-serif;
    }
    
  3. Add Functionality in app.js: Implement a simple feature like a button that alerts a message when clicked.
    document.getElementById('myButton').addEventListener('click', function() {
        alert('Hello from your web app!');
    });
    

Expected Output

You should have a functional web app with basic styling and interactivity.

Step 3: Test Your App Locally

  1. Run the App: Use the built-in server feature in Bolt.new to run your app locally.
  2. Access the App: Open your browser and navigate to the local URL provided by Bolt.new.

Troubleshooting

  • Issue: The app doesn’t load.
    Solution: Ensure you have Node.js running and check the console for errors.

Step 4: Deploy Your Web App

Once you’re satisfied with your app, it’s time to deploy it.

  1. Choose a Hosting Service: Bolt.new integrates with several services, including Vercel and Netlify.
  2. Follow Deployment Steps: Select your hosting service and follow the prompts to deploy your app.

Expected Output

Your web app should now be live on the internet, accessible via the URL provided by your hosting service.

What's Next?

With your simple web app live, consider adding more features or even exploring additional AI tools that can enhance your development process. If you’re looking to expand your skills, check out our podcast, where we discuss various tools and experiences in building web apps.

Conclusion: Start Here

If you’re a beginner looking to build a simple web app quickly, Bolt.new is a fantastic tool that simplifies the development process significantly. You can get started for free, and the learning curve is manageable. Just follow these steps, and you’ll have a functioning web app in no time.

What We Actually Use

In our experience at Built This Week, we use Bolt.new for rapid prototyping and simple web projects. For more complex applications, we might turn to frameworks like React or Next.js, but for quick builds, Bolt.new is our go-to.

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