Vibe Coding Guide logoVibe Coding Guide

How to Use Lovable to Build an App: A Beginner's Step-by-Step Guide

Post 3 showed you how Lovable works. This post builds a real app in it — a habit tracker, from the first prompt to a published link you can send to a friend.

You will build the same habit tracker that appears in Vibe Coding Tutorials: Build Real Projects, but this time entirely inside Lovable, with the exact prompts to send and the exact fixes to expect. No code, no setup, no install — just a browser and an idea.

The prompt method here is the 4-part formula from How to Write Vibe Coding Prompts That Work. If you have not read it, read the formula first — it is three minutes and it makes every step below work better.

Woman building a habit tracker app on her laptop with a coffee and notebook on the desk

Table of contents

What you need before you start

A Lovable account (free — sign up with Google or email), a browser, and one idea written down. That is everything. Lovable runs entirely in the browser, so there is nothing to install.

On the free plan you get 5 credits a day, up to 30 a month. Each message you send costs credits — usually 1 credit per message, more for big builds. That is enough for this whole project if you follow the one-fix-at-a-time rule in Step 3. The pricing, checked 27 November 2026: Free 5 credits/day (30/month cap), Pro $25/month for 100 credits. Check the pricing page before you pay — prices change.

Step 1: Write your app idea in one paragraph

Before you open Lovable, write the idea on paper. One paragraph, four parts: what it is, who it is for, what it looks like, what it must do. Here is the one for this project:

"Build a habit tracker web app called 'Daily Habits'. It is for me, to track my own habits every day. It should have a list of habits, a checkbox for each day, and a streak count that shows how many days in a row I did it. Clean design — white background, green buttons, dark text."

Writing it first is the difference between a first build that works and a first build you throw away. Five minutes now saves an hour later.

Step 2: Send the first prompt

Open lovable.dev, click "Start building", paste your paragraph, and press enter. Lovable will think for a minute or two and show you a first version: a page with habits, checkboxes and a streak count.

Do not judge it yet. The first build is a draft, not the finished app. Click through it: add a habit, check a box, refresh the page. Write down what works and what does not — that list is your fix list for Step 3.

Step 3: Fix one thing at a time

Now work through your fix list, one message at a time. "Make the checkbox bigger." Test. "Add a delete button to each habit." Test. "Make the streak count bigger and green." Test.

Five fixes in one message means three done, one broken and one forgotten — the mistake that breaks most first apps, covered in Vibe Coding Mistakes Beginners Make. One change, one test, every time.

If a fix fails three times, stop and rephrase. Describe what you clicked, what you expected, and what happened. Or use the fix-the-error prompt from the prompts post — it works in Lovable exactly as written.

Laptop screen showing a habit tracker app being built in an AI builder with a chat panel

Step 4: Test it on your phone

Open the preview on your phone. Check three things: the headline fits, the checkbox is big enough for a thumb, and the habits stack one below the other. Most of your visitors will open your app on a phone, so if it is broken there, it is broken for most people.

If something is wrong, say so in plain words: "On a phone, make the headline smaller so it fits and make the checkbox bigger." Then test on the phone again — not on your laptop.

Man checking a habit tracker app on his phone with a streak count

Step 5: Fix the errors

Sooner or later you will see an error — a button that does nothing, a page that will not load, a red message. Do not panic. Lovable has a "Try to fix" button on errors, and it works most of the time.

If it does not, copy the error message and send it with this prompt: "When I click [the button], I expected [what should happen], but instead [what actually happens]. Here is the exact error message: [paste it]. Please fix only this problem and do not change anything else."

Step 6: Publish your app

When the app works on your phone, click "Publish" in the top right. Lovable gives you a live link — something like daily-habits.lovable.app. Open it in a different browser, on your phone, and send it to a friend. That link is your app. It is live, it is yours, and you built it without writing code.

The free published link stays up while your account is active. A custom domain (your own web address) needs the Pro plan.

Man smiling at a published habit tracker app with a live link on his laptop

Step 7: Understand your credits

Every message costs credits, and the free plan gives you 5 a day. Three rules keep you inside the limit:

  • Write the prompt on paper first, so the first build is close to right.
  • One fix per message, so you never pay twice for the same change.
  • Test before you send the next fix, so you never ask for a fix you do not need.

A habit tracker built the careful way costs about 8–12 credits in total. Built the careless way — five fixes in one message, repeated three times — it can cost 30 in a day. The credits are not the limit. The method is.

Free vs Pro at a glance

FreePro ($25/month)
Credits5/day, up to 30/month100/month
PublishYes, on a lovable.app linkYes, plus custom domain
Best forYour first 2–3 appsBuilding every week
Price checked27 November 202627 November 2026

Frequently asked questions

Do I need to know how to code to use Lovable? No. You describe the app in plain words and Lovable writes the code. You only need to test it and describe fixes — the same skill as writing a clear message.

How long does it take to build a habit tracker in Lovable? About an hour for a beginner: 10 minutes writing the prompt, 20 minutes on the first build and fixes, 20 minutes testing on your phone, 10 minutes publishing.

What happens when my free credits run out? You wait until tomorrow — 5 new credits arrive each day, up to 30 a month. Or upgrade to Pro for 100 credits a month. Your apps and your work stay saved either way.

Can I edit the code Lovable writes? Yes — Lovable shows the code and lets you edit it, but you do not have to. For your first apps, fix everything with prompts, not code.

Is my published app really live? Yes. The link Lovable gives you opens for anyone, on any device. Test it yourself in a different browser before you share it.

Your habit tracker is live now. Tomorrow, add one feature to it — a weekly view, or a delete button you skipped. Small apps that grow beat big apps that never finish.

Written by Samiullah Channa, Vibe Coding Guide. Published 27 November 2026. Prices checked 27 November 2026 — check the Lovable pricing page before you pay, as prices change.

Comments