AI-Assisted Vibe Coding for Beginners
What Do You Want on Your Page? Just Describe It!
Today: We zoom into HTML - the skeleton of every webpage
HTML describes WHAT content is on your page
Think of it like organizing a document:
You describe it â AI writes the code!
WHAT is on the page
HOW it looks
Today: Focus on STRUCTURE. Next week: Make it BEAUTIFUL!
When describing your page to AI, think about what types of content you need:
Instead of learning code syntax, just tell AI what you want!
| You Want... | Tell AI... |
|---|---|
| A big title | "Add a main heading that says..." |
| Some text | "Add a paragraph about..." |
| A picture | "Include an image of..." |
| A clickable link | "Add a link to [website]" |
| A list of things | "Create a bullet list of..." |
You describe â AI codes â You get results!
When AI generates a webpage, it creates all the technical structure automatically:
You focus on the content. AI handles the code!
Goal: Describe what you want â AI creates it â You have a webpage!
Your page will have:
Create an "About Me" webpage for me:
My name is [YOUR NAME]
About me: [Write 2-3 sentences about yourself -
your family, work, interests, anything you want to share!]
My hobbies/interests:
- [Hobby 1]
- [Hobby 2]
- [Hobby 3]
Include a placeholder image for my profile picture.
Add a link to my favorite website: [URL]
Fill in the brackets with YOUR information!
about.htmlð That's it! You just made a webpage by describing what you wanted!
Not happy with something? Tell AI what to change:
ðĄ Vibe Coding Mindset: Describe what you want changed. AI updates the code!
You don't need to understand every detail - just look for YOUR CONTENT:
John Doe
â Your name shows here!
Hi, I'm John...
â Your paragraph text!
- Coffee
â Your list items!
- Hiking
My Site â Your link!
See YOUR content between the angle brackets? That's what matters!
â Things between > and < = Your visible content
â Quoted text in links = Where links go (href="...")
â Image source = Where pictures come from (src="...")
Quick Check: Does it show YOUR text correctly?
Goal: Describe a recipe â AI creates a structured page!
Think of a favorite recipe with:
Create a recipe webpage for: [RECIPE NAME]
Description: [Why is this recipe special? 1-2 sentences]
Prep time: [X] minutes
Cook time: [X] minutes
Servings: [X]
Ingredients:
- [ingredient 1]
- [ingredient 2]
- [ingredient 3]
(add more as needed)
Instructions:
1. [Step 1]
2. [Step 2]
3. [Step 3]
(add more as needed)
Add a placeholder image for the finished dish.
recipe.htmlðĄ Want to add more? Just ask AI:
Just tell AI what's wrong - let AI fix the code!
Example:
My page shows [problem].
Here's the code: [paste code]
Can you fix it?
Common things to describe:
You don't fix code - you describe the problem. AI fixes the code!
The more detail you give AI, the better your page!
"Make me a webpage"
"Create a webpage about my dog Max with his name as the title, a photo placeholder, 3 fun facts as a list, and a link to a dog training site"
Pro Tips for Describing to AI:
Your HTML page works locally... but what if you want to share it?
Right now: Only you can see your page (it's on your computer)
Goal: Put it online so anyone with the link can see it!
This is called "deployment" or "hosting"
| Service | Difficulty | Best For |
|---|---|---|
| Netlify Drop | â Easiest | Quick sharing (drag & drop!) |
| GitHub Pages | ââ Easy | Long-term projects |
| Vercel | ââ Easy | Modern web apps |
| Cloudflare Pages | ââ Easy | Fast global delivery |
Today: We'll use Netlify Drop - literally drag and drop!
index.htmlð Your folder should look like:
my-website/
âââ index.html
âââ (any images)
random-name-12345.netlify.appð That's it! Your page is now live on the internet!
Share the URL with family and friends!
Need to change something?
Pro Tip: With an account, you can also set a custom site name like:
your-name.netlify.app
Another popular free option (we'll learn more in Session 5-6)
Perfect to learn once you're comfortable with HTML/CSS!
| Problem | Likely Cause | Solution |
|---|---|---|
| Page not found (404) | File not named index.html | Rename your main file to index.html |
| Images not showing | Wrong file path or missing file | Put images in same folder, use relative paths |
| Styles look different | CSS file not uploaded | Include all CSS files in folder |
| Old version showing | Browser cache | Hard refresh (Ctrl+Shift+R) |
Still stuck? Ask AI: "My deployed website shows [problem]. Here's my folder structure: [describe]. What's wrong?"
ðŊ The Vibe Coding Way: Describe â AI Creates â You Review â Repeat!
Mini-Project: Build a page about your favorite hobby
Include: headings, paragraphs, images, links, and lists
ð Bonus: Deploy it with Netlify Drop and share the URL!
Optional Challenges:
We'll learn how to make our HTML pages beautiful!
From structure to style! ðĻ
Let's discuss anything from today's session
Remember:
HTML is just structured text.
You're already 90% of the way there! ð