This is the hands-on heart of the course. You’ll move from a small idea to a working, shareable prototype using v0, all within about an hour.
Instructors: treat this chapter as a step-by-step script for the live 60–70 minute session.
By the end of this chapter, you should be able to:
- Follow a VybeCoding session flow from brief → build → iterate → share
- Use v0 prompts to create and adjust a small interactive experience
- Talk about your prototype in terms of vibe, behavior, and choices
A suggested breakdown for ~60–70 minutes:
- Warm-up micro prompts (10–15 min)
- Introduce the main brief (5 min)
- Guided first build pass (15–20 min)
- Iteration rounds (15–20 min)
- Sharing and reflection (10–15 min)
Adjust timings to match your group’s pace.
Goal: get everyone comfortable typing prompts into v0 and observing changes.
Instructor demo ideas (students mirror you):
- Change the title text to something playful.
- Ask v0 to adjust colors to match a specific vibe (e.g., “chill evening”, “energetic morning”).
- Add a button and some text that reacts when the button is clicked (even with a simple message).
Example prompt sequence:
- “Update the main heading to say ‘Today’s vibe’.”
- “Change the background to a soft gradient that feels like a calm morning.”
- “Add a large button below the heading that says ‘Surprise me’ and show a little message under it when clicked.”
Encourage students to personalize at least one element (their name, favorite color, a phrase they like).
Pick one clear, simple brief and stick to it. Example:
Brief: Build a tiny mood check-in app. The user chooses or clicks a mood, and the app responds with a message or small change in the interface that matches that mood.
Explain:
- The scope is intentionally small.
- The goal is to explore different ideas, not to ship a perfect product.
- Any of these are valid:
- A few buttons for different moods
- A dropdown and a response
- A slider with a changing description
Students can vary the theme: moods, energy levels, focus levels, etc.
Walk the class through one full pass from blank-ish screen to a basic mood check-in.
Suggested steps (instructor-led, students follow):
-
Structure
- Prompt: “Create a simple layout with a title at the top, a short description, and three big buttons labeled ‘Happy’, ‘Tired’, and ‘Stressed’.”
-
Behavior
- Prompt: “When each button is clicked, show a message under the buttons that responds to that mood in a friendly, encouraging way.”
-
Styling
- Prompt: “Style the buttons so each mood has a distinct color, and make the messages easy to read.”
-
Fine-tune
- Manually tweak one or two labels or messages to feel more personal.
After this pass, everyone should have a basic working app.
Now shift from following to exploring.
Run 2–3 short, time-boxed rounds (5–7 minutes each):
Prompt ideas:
- “Adjust the colors and fonts so the app feels like a cozy evening journal.”
- “Make the layout more compact so it fits nicely on a mobile-sized screen.”
Encourage students to:
- Change mood labels to ones they actually use
- Rewrite messages in their own voice
Prompt ideas:
- “Add a simple animation or effect when a mood is selected.”
- “Show a small suggestion under the message, like ‘Take a 1 minute break’ or ‘Write one thing you’re grateful for’.”
Students can propose their own variations, and you can pick a few to try live.
If time and skill allow:
- Add a reset button
- Track how many times a user has checked in
- Show a timestamp of the last mood selection
Remind everyone: it’s okay if not everything works perfectly. The focus is trying and observing.
Reserve time at the end for quick demos.
Ask for volunteers to share, each for 1–2 minutes:
- Show the app
- Click through a couple of moods
- Say one thing they changed that reflects their personal style
Celebrate variety: colors, wording, structure, even glitches.
Discuss as a group (or have students jot notes):
- What felt surprisingly easy with v0?
- What was frustrating or confusing?
- How did using prompts change how you think about coding?
- Where could you imagine using VybeCoding again (projects, other classes, hobbies)?
For absolute beginners:
- Keep everything prompt-based
- Avoid opening raw code unless necessary
- Focus language on “screens”, “buttons”, and “messages” rather than technical terms
For more experienced students:
- Show how to lightly edit the generated code or structure
- Invite them to add one small custom behavior by hand
End by clearly marking the finish:
- Congratulate everyone on building and sharing something
- Remind them that imperfect prototypes are normal and valuable
- Suggest a simple follow-up: “Later this week, spend 15 minutes making a new variation of your app or starting a fresh idea.”