Articles

How to create a portfolio website using Lovable AI

  • Learn Lovable AI to build web apps from plain language in this course. Create, edit and deploy applications with AI assistance.
    • Beginner Friendly.
      < 1 hour
  • Learn the basics of generative AI and best prompt engineering practices when using AI chatbots like ChatGPT to create new content.
    • Includes 6 Courses
    • With Certificate
    • Beginner Friendly.
      3 hours

What is Lovable AI?

Lovable AI is an AI website builder that generates complete web applications from simple text prompts. Unlike traditional website builders, Lovable AI website builder creates real code that you can customize and deploy anywhere.

Lovable AI works by turning your descriptions into functional websites with working frontends, backends, and database connections. When you describe what you want, Lovable AI generates the entire codebase instantly. This makes it perfect for creating a software engineering portfolio website without spending weeks on development.

Here’s what we’re building - a terminal-style developer portfolio website that responds to commands like a real command-line interface:

Screenshot: Final portfolio website built using Lovable AI Website builder

The portfolio website responds to commands like help, about, projects, skills, and contact, creating an interactive experience that stands out from traditional portfolio websites.

Let’s start building this unique portfolio website using Lovable’s AI website builder.

Video: Building Portfolio Website with Lovable AI

Before we start the step-by-step guide, you can watch a video that shows the whole process. The video explains how to build a terminal-style portfolio website using Lovable AI from beginning to end.

If you prefer following along with written instructions, continue reading the detailed guide below.

Build portfolio website using Lovable AI

Instead of building your developer portfolio piece by piece, we’ll create the entire website with one comprehensive prompt. This approach saves time and ensures consistency across all sections.

Step 1: Access Lovable AI

Go to Lovable AI website builder and sign in. You’ll see a prompt window where you can type your requirements. That’s it - no setup needed.

Screenshot of Lovabel AI homepage

Lovable gives you five free credits daily. You can build this entire portfolio website completely free within the daily limit.

Step 2: How to build an effective portfolio website prompt

Before we create our terminal portfolio, let’s understand how to structure a good prompt for any AI website builder like Lovable.

The four essential components:

  • Visual Style - Tell the AI exactly what you want it to look like (colors, fonts, layout)
  • Functionality - List what features and interactions you need
  • Content - Specify what information should appear
  • Technical Requirements - Include responsive design and device compatibility

To learn more about effective prompts, you can check out our free prompt engineering course that covers advanced techniques for getting better results from AI website builders.

For our terminal portfolio, we need:

  • Visual: Dark terminal colors, monospace fonts, authentic terminal styling
  • Functionality: Commands like help, about, projects, skills, contact
  • Content: ASCII art banner, welcome message, command instructions
  • Technical: Mobile-friendly interface, responsive design

Step 3: Building the prompt for the portfolio website

Here’s the complete prompt that incorporates all these elements. You can customize the name, title, and any other details to match your own information before pasting it into Lovable. Copy this entire prompt, paste it into the Lovable prompt window, and click enter:

Create a terminal-style portfolio website with these requirements:
VISUAL DESIGN:
- Dark terminal theme: black background (#0D1117), green text (#00FF00), white text (#FFFFFF)
- Monospace font: 'Courier New' or 'Monaco'
- Terminal window frame with minimize/maximize/close buttons
- Blinking cursor animation
- Scanline overlay effect (subtle)
CORE FUNCTIONALITY:
- Command input field at the bottom with "visitor@johndoe:~$ " prompt
- Terminal history area showing previous commands and outputs
- Commands: help, about, projects, skills, contact, clear
- Tab autocomplete for commands
- Up/down arrow key command history navigation
INITIAL WELCOME:
Show an ASCII art banner with the name "JOHN DOE" and the subtitle "Full Stack Developer"
Display "Type 'help' to see available commands" message
RESPONSIVE:
- Mobile: stack terminal window full width
- Desktop: centred terminal window with margins
- Touch-friendly command input on mobile

After pasting this prompt, hit enter and watch Lovable AI generate your complete terminal portfolio website.

Step 4: Results from Lovable AI

After pasting this prompt into the Lovable AI website builder, you’ll get a complete terminal portfolio website.

Generated portfolio website from Lovable AI showing the working interface

Step 5: Testing the portfolio website

Now that Lovable has generated your terminal portfolio, let’s test it. Start by typing help to see all available commands, then try each one - about, projects, skills, contact, and clear.

GIF of Lovable AI portfolio website

You might notice some visual issues that need polishing. In the next section, we’ll use Lovable’s prompt library to refine these details and make your terminal portfolio website look perfectly professional.

Improving website with Lovable’s prompt library

The initial build from our AI website builder works well, but we can enhance it using Lovable’s prompt library. Lovable’s prompt library is a collection of proven prompt techniques and templates that help you get more precise and effective results from the AI. Looking at our generated terminal, there are a couple of visual improvements we can make.

Refinement 1: Fixing the input field display

The terminal currently shows two input elements - a standard HTML input field and the terminal-style command line. We only want the green terminal input line visible.

We’ll use Lovable’s “Limiting Scope” technique from their prompt library, which focuses changes on specific parts while protecting other functionality.

Using Lovable’s Scope Limiting Prompt:

Focus changes solely to the command input area. Don't edit the terminal history,
ASCII banner, or command functionality. Remove the duplicate HTML input field and
keep only the terminal-style "visitor@johndoe:~$" input with blinking cursor.

Refinement 2: Improving visual design

The ASCII art banner alignment and overall spacing could be more polished for a professional appearance.

We’ll use Lovable’s “UI/UX Design” approach from their prompt library, specifically the “UI Only Changes” method that improves visual design without touching functionality.

Using Lovable’s UI Enhancement Prompt:

Make visual enhancements to improve the ASCII art banner alignment, text spacing,
and overall terminal layout design. Focus on typography hierarchy and consistent
spacing. Do not alter functionality.

portfolio website from Lovable AI with improved spacing and alignment

Try out a few commands like help, about, or projects to make sure everything still works smoothly. Your terminal should now look much cleaner and more professional while keeping all the interactive features intact.

Feel free to adjust these prompts based on your specific needs - you might want different spacing, colors, or layout tweaks. The portfolio website now has that polished, authentic terminal look that will definitely catch visitors’ attention.

Now that you’ve experienced how quickly Lovable can build a professional portfolio website, let’s explore the key features that make this AI website builder so powerful for developers and non-developers alike.

Features of Lovable AI

Lovable AI generates complete web applications from natural language prompts, requiring zero coding knowledge. Here are the key features that make it powerful for building portfolio websites and other projects:

  • Agent Mode - The AI autonomously thinks, plans, and takes actions, reducing build errors by 90% and handling complex development tasks independently
  • Visual Edits - Figma-like interface for making precise UI adjustments without writing prompts, perfect for fine-tuning your portfolio design
  • Code Ownership - Full GitHub integration lets you export and own all generated code, so you’re never locked into the platform
  • One-Click Deployment - Built-in publishing with custom domain support means your portfolio goes live instantly
  • Smart Debugging - Automatically inspects logs, searches code, and fixes errors without manual intervention
  • Database Integration - Built-in Supabase integration provides PostgreSQL databases, user authentication, and real-time features automatically
  • Multiple Framework Support - Works with React, Next.js, Vue, Angular, Svelte, and Flutter, giving you flexibility in your tech stack

These features make Lovable particularly effective for creating portfolio websites like our terminal example - you get professional results without the typical development overhead.

Limitations of Lovable AI

While Lovable AI is powerful for creating websites, it does have some limitations to consider:

  • Design Constraints: The AI website builder tends to create functional but basic designs. For highly customized visual elements, you might need additional refinements.
  • Complex Logic: Very complex interactive features might require multiple iterations to get right.
  • Prompt Sensitivity: Vague prompts can lead to incomplete results. That’s why we used very specific instructions in our terminal portfolio prompt.
  • Learning Curve: While easier than coding from scratch, you still need to understand how to structure effective prompts for best results.

Despite these limitations, Lovable remains an excellent choice for building professional portfolio websites quickly. The time saved on setup and basic functionality far outweighs these minor constraints.

Conclusion

Using the Lovable AI website builder, we created a professional terminal-style developer portfolio website in minutes instead of weeks.

The best part? We don’t need to know how to code to build something that looks professional. Just write clear instructions, and Lovable handles the rest.

If you want to build more websites or learn about using AI tools for development, check out Codecademy’s Generative AI for Everyone course. It covers prompt writing and other useful AI tools.

Frequently asked questions

1. Is Lovable free or paid?

Lovable offers five free daily prompts, which are enough to build a complete portfolio website. For more extensive projects, they have paid plans starting at reasonable monthly rates.

2. What does Lovable AI do?

Lovable AI is used for building web applications, websites, and software prototypes using natural language prompts. It’s particularly popular among developers who want to skip repetitive setup work and focus on customization.

3. What is the difference between Lovable and ChatGPT?

ChatGPT generates text and code snippets, while Lovable creates complete, deployable web applications. Lovable integrates with GitHub, handles hosting, and generates full-stack applications with working backends and databases.

4. Is Replit better than Lovable?

Both are excellent AI coding tools with different strengths. Replit focuses more on collaborative coding environments, while Lovable specializes in rapid app generation from prompts.

5. Is Lovable good for building websites?

Yes, Lovable excels at website creation, especially for developers who want functional, customizable sites quickly. It generates real code that you can modify and deploy anywhere, making it ideal for portfolio websites, business sites, and web applications.

Codecademy Team

'The Codecademy Team, composed of experienced educators and tech experts, is dedicated to making tech skills accessible to all. We empower learners worldwide with expert-reviewed content that develops and enhances the technical skills needed to advance and succeed in their careers.'

Meet the full team

Learn more on Codecademy

  • Learn Lovable AI to build web apps from plain language in this course. Create, edit and deploy applications with AI assistance.
    • Beginner Friendly.
      < 1 hour
  • Learn the basics of generative AI and best prompt engineering practices when using AI chatbots like ChatGPT to create new content.
    • Includes 6 Courses
    • With Certificate
    • Beginner Friendly.
      3 hours
  • Ready to learn how to use AI for coding? Learn how to use generative AI tools like ChatGPT to generate code and expedite your development.
    • Beginner Friendly.
      1 hour