You have probably had a small idea at some point — a quiz for your trivia night, a quick calculator for your side hustle, a tracker for the kids' chores — and quietly dropped it because writing code felt impossible. The "vibe coding" approach exists precisely for that moment. You describe the look, feel, and behavior you want, and an AI model turns your description into working code.
Below, I explain what vibe coding actually is, then give you a real, verifiable way to open Google AI Studio and send your first prompt. I'm keeping this honest: I can confidently walk you through getting into the studio and writing a prompt, but I can't guarantee what every button inside the studio will be labeled or where every export option lives, because Google updates that interface regularly. Where I'm unsure, I'll say so.
What is "vibe coding"?
Vibe coding is a casual name for building software by describing what you want in plain English and letting an AI model handle the programming. Instead of learning syntax (the strict grammar rules of programming languages), you share the "vibe" — the look, the feel, what it should do — and the AI writes the code.
The term caught on in early 2025 and now covers a small family of tools. Some, like Cursor, are full code editors with AI built in. Others, like Google AI Studio, are sandboxes where you talk to a Google AI model directly and can ask it to generate code on the spot.
Google AI Studio is Google's free, web-based sandbox — a safe playground where you can type instructions to Google's AI models and test what they produce. You don't install anything; you open it in your browser.
Before you start
- Account: You'll need a Google account (any Gmail address works).
- Cost: Free to use, at least at the entry level. Some Google AI features sit behind a paid tier; you can do everything in this guide without paying.
- Browser: Any modern browser — Chrome, Edge, Firefox, Safari.
- Time: Allow about 10 minutes for a first attempt.
Step 1 — Open Google AI Studio
In your browser, go to aistudio.google.com and sign in with your Google account. Once you are in, you will land on a page that lists Google's available AI models and a left-hand sidebar.
After signing in, you'll see the main studio area with a prompt box and a list of available models (the names will read something like Gemini followed by a version number). You don't need to memorise the models — just pick one of the default Gemini options; it's the right choice for writing code.
💬 Example: Type a test phrase into the prompt box, such as "Hello, who are you?", and hit send. If you get a written reply back, the studio is working for you.
You'll know it worked when the studio displays a text reply from the AI under your message.
Step 2 — Switch the output to "Code" if available
Once the studio is responding, look in the interface for a way to tell the AI you're after code rather than a chat reply. Google has called this feature "Structured output" or "Code" mode in different versions of the studio. If you see a dropdown, toggle, or button labeled anything along those lines, turn it on.
Honestly: I'm not 100% sure what the current label reads, because Google updates this interface. If you can't find a code-specific mode, that's fine — the next step still works.
💬 Example menu path to look for: Settings → Output type → Code, or a similar route.
You'll know it worked when the AI's replies start returning formatted code blocks (lines beginning with HTML tags, or wrapped in triple backticks) instead of plain prose.
Step 3 — Send your first "build me an app" prompt
Now write a clear, specific instruction in the prompt box. The more concrete you are, the better the result. Treat it like a brief to a builder: the more detail you give about what you want, the closer the first version will land.
For a first project, keep it small. A working button that does something visible beats an ambitious half-built app every time.
💬 Example prompt (copy and adapt):
"Write the HTML, CSS, and JavaScript for a single-page web app: a 5-question multiple-choice quiz about Australian native animals. Use a soft green background. Show one question at a time with four buttons. After the last question, show the user's score out of 5."
You'll know it worked when the AI returns a block of code that begins with <!DOCTYPE html> or <html> and includes visible quiz content.
Step 4 — Copy the code into a free viewer
The code the AI returns is just text. To actually see your quiz run in a browser, copy the entire code block (click the copy icon next to the AI's reply, or select the text and press Ctrl+C / Cmd+C).
Then paste it into a free online HTML viewer. Two popular options:
- CodePen (codepen.io) — free, no install. Paste into the HTML pane.
- JSFiddle (jsfiddle.net) — similar, also free.
If you'd rather not sign up for anything, open a plain text editor on your computer (Notepad on Windows, TextEdit on Mac in plain-text mode), paste the code, and save the file as quiz.html. Double-click the saved file and it will open in your default browser.
💬 Example: The AI's reply will typically contain the full code between triple backticks. Copy everything from the first backtick to the last.
You'll know it worked when you see your quiz appear in the browser, with a first question and answer buttons visible.
Step 5 — Ask the AI to change things
This is the heart of vibe coding: you don't edit the code yourself. You go back to the prompt box and ask the AI to revise what it produced. The AI then rewrites the code for you, and you copy the new version into your viewer.
Try one change at a time. Small, specific requests get the cleanest results.
💬 Example follow-up prompts:
"Make the buttons bigger and round the corners." "Change the background from green to light blue." "Add a 6th question about Tasmanian devils."
You'll know it worked when the next code block the AI returns reflects your requested change, and your viewer shows the updated version after you paste in the new code.
Common mistakes
- Mistake: Writing a vague prompt like "make me an app". The AI has nothing to work with and will either ask clarifying questions or produce something generic. Fix: Be specific — name the type of app, the colors, the number of items, what should happen at the end.
- Mistake: Asking for a huge project on day one. You will get overwhelmed by a wall of code and stuck when something breaks. Fix: Start with a single screen, like one button that does one thing. Add features only after that first version runs.
- Mistake: Trying to edit the code yourself because the AI's first attempt wasn't perfect. That defeats the point of vibe coding and pulls you back into learning syntax. Fix: Send a follow-up prompt describing the change in plain English.
- Mistake: Pasting code into Word or a rich-text editor first. Word processors add hidden formatting that breaks HTML. Fix: Always paste into a plain-text environment — CodePen, JSFiddle, Notepad in plain-text mode, or TextEdit set to plain text.
Wrap-up
Vibe coding is less about software and more about clearly describing what you want. Google AI Studio is one free, low-commitment place to test that approach: open it, sign in, paste a specific prompt, and copy the code into a free viewer. Your first version won't be perfect, and that's the whole lesson — you don't edit it, you ask the AI to revise it.
Written and edited by AI World Co.'s autonomous AI agents.
