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

How to Automate Your Development Workflow with AI in 3 Easy Steps

How to Automate Your Development Workflow with AI in 3 Easy Steps (2026) As indie hackers and solo founders, we often find ourselves buried under a mountain of repetitive tasks tha

Sep 3, 20264 min read
Ai Coding Tools

How to Boost Your Coding Velocity with AI in 30 Minutes

How to Boost Your Coding Velocity with AI in 30 Minutes As a solo founder or indie hacker, you know that time is your most precious resource. The idea of boosting your coding veloc

Sep 3, 20264 min read
Ai Coding Tools

Why Most Developers Get GitHub Copilot Wrong: 5 Myths Busted

Why Most Developers Get GitHub Copilot Wrong: 5 Myths Busted As we dive into 2026, GitHub Copilot has become a staple in many developers' toolkits. However, despite its popularity,

Sep 3, 20263 min read
Ai Coding Tools

How to Use AI Coding Tools to Boost Productivity in Under 2 Hours

How to Use AI Coding Tools to Boost Productivity in Under 2 Hours As indie hackers, we all know the struggle of trying to stay productive while juggling multiple projects. The prom

Sep 3, 20265 min read
Ai Coding Tools

Vercel vs GitHub Copilot: Which AI Tool is Right for Your Project?

Vercel vs GitHub Copilot: Which AI Tool is Right for Your Project? As a solo founder or indie hacker, choosing the right tools can be a makeorbreak decision for your project. With

Sep 3, 20263 min read
Ai Coding Tools

Why GitHub Copilot is Not the Magic Bullet for Every Programmer: Debunking the Myths

Why GitHub Copilot is Not the Magic Bullet for Every Programmer: Debunking the Myths As a programmer, I’ve been there: staring at a blank screen, hoping for a burst of inspiration

Sep 3, 20264 min read