Ai Coding Tools

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

By BTW Team3 min read

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

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.

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

Why GitHub Copilot Might Not Be the Best Option for Solo Developers

Why GitHub Copilot Might Not Be the Best Option for Solo Developers As a solo developer, you're juggling a lot. From coding and debugging to marketing and customer support, every m

Aug 11, 20264 min read
Ai Coding Tools

Why Codeium is Overrated: 3 Common Misconceptions Explained

Why Codeium is Overrated: 3 Common Misconceptions Explained As a solo founder and indie hacker, I’m always on the lookout for tools that genuinely help streamline my workflow, espe

Aug 11, 20264 min read
Ai Coding Tools

How to Generate Efficient Code in 30 Minutes Using AI

How to Generate Efficient Code in 30 Minutes Using AI (2026) As indie hackers and solo founders, we’re always looking for ways to shave time off our development process. The idea o

Aug 11, 20264 min read
Ai Coding Tools

Mastering AI Coding: How to Build an App in Just 30 Minutes

Mastering AI Coding: How to Build an App in Just 30 Minutes As an indie hacker or solo founder, you're always looking for ways to speed up your development process without sacrific

Aug 11, 20264 min read
Ai Coding Tools

Bolt.new vs GitHub Copilot: Which AI Tool Improves Coding Productivity More?

Bolt.new vs GitHub Copilot: Which AI Tool Improves Coding Productivity More? As a solo founder or indie hacker, you know that every second counts when you're coding. You might be a

Aug 11, 20263 min read
Ai Coding Tools

How to Increase Coding Speed by 50% Using AI Tools

How to Increase Coding Speed by 50% Using AI Tools (2026) If you're a coder, you know the struggle of getting bogged down in repetitive tasks, debugging, or just plain writer's blo

Aug 11, 20265 min read