What "vibe coding" means
Coined by Andrej Karpathy (ex-OpenAI, ex-Tesla) in early 2025: "There\'s a new kind of coding I call \'vibe coding\', where you fully give in to the vibes, embrace exponentials, and forget that the code even exists."
In plain English: you describe what you want in natural language. The AI writes the code. You run it, see the result, tell the AI what to change. Repeat. You never actually read the code (much). You just watch it work.
This used to be impossible. In 2026 it\'s routine — and it means anyone can build small web apps, not just "programmers."
The tool stack for this module (all free)
- Claude (free tier) — the AI that writes your code
- Your browser — to preview the result
- GitHub Pages or Netlify Drop — free hosting so your page is live on the internet
- Notepad / TextEdit (or VS Code if you want) — to save the code
Step 1 — Pick something small but real
Don\'t aim for a mobile app. Aim for one web page that does one useful thing. Good first projects:
- A BMI calculator — enter weight + height, get BMI and category
- A Kenyan tax calculator — enter gross salary, get PAYE + net
- A school-fee splitter — enter total + number of terms, get per-term amount
- A "random English practice sentence" generator for your kids
- A landing page for your small business with a WhatsApp button
For this walkthrough, let\'s build a Kenyan Tax / Net Salary Calculator.
Step 2 — Prompt Claude
Paste this into Claude:
Input: gross monthly salary in KSH.
Output: PAYE tax owed, NSSF + NHIF deductions, net take-home.
Use current 2026 Kenyan tax bands:
- 10% up to KSH 24,000
- 25% from 24,001 to 32,333
- 30% from 32,334 to 500,000
- 32.5% from 500,001 to 800,000
- 35% above 800,000
Apply a personal relief of KSH 2,400/month.
NSSF: 6% of gross, capped at KSH 2,160. NHIF: use the 2026 SHIF rate of 2.75% of gross.
Make it look clean and modern — use Tailwind via CDN. No external dependencies apart from Tailwind.
Output just the HTML file. I\'ll save it as calculator.html."
Step 3 — Save the file
Claude outputs a block of HTML. Click the copy button. Open Notepad. Paste. Save as calculator.html (exactly — don\'t let Notepad save as .txt).
Double-click the file. It opens in your browser. You\'ve built a web page.
Step 4 — Iterate by talking to Claude
It won\'t be perfect on the first try. That\'s fine. Tell Claude:
- "The NHIF calculation is wrong for salaries below KSH 24,000. Fix it."
- "Make the mobile view wider — right now the buttons overflow."
- "Add a button to print the result as a payslip."
- "Change the green to a deeper shade that matches Kenya\'s flag."
Each fix: paste Claude\'s new version, replace your file\'s content, refresh the browser. You\'re vibe coding. You never read the actual JavaScript. You just describe outcomes.
Step 5 — Put it on the internet
Go to app.netlify.com/drop. Drag your calculator.html file onto the page. Netlify gives you a public URL instantly — something like https://jade-dolphin-42ab.netlify.app.
Share that URL. On WhatsApp. On your CV. On LinkedIn. You built and shipped a real web tool. That\'s the capstone of this module.
Stuck? Here\'s the reference version we built
If your prompt isn\'t landing a working calculator, look at the finished reference we built for this module. Open it in a new tab, play with it, then view the page source (Right-click → View Page Source) to see the full HTML + JavaScript behind it.
cbcedukenya.com/assets/ai-course/kenya-tax-calculator.html →
What it does: Enter a gross Kenyan salary → see PAYE (with 2026 bands), NSSF, SHIF, Housing Levy, net take-home. Uses Tailwind for styling, vanilla JavaScript for the calc. ~100 lines of code.
How to use it: (a) Study it to see a working example. (b) Save a copy and modify it — change the bands, add a monthly breakdown, add a "download payslip" button. Each change is a fresh conversation with Claude.
The key mindset shift
You are not "writing code." You are specifying outcomes in plain language and letting the AI translate that into code. Your skill is not Python — it\'s precision of specification. Good software products now get built by people who can describe what they want, clearly. Which is... prompting. Which is Module 4-5.
This is why vibe coding matters: it makes shipping software a skill ANYONE with clear thinking can develop, not just computer science graduates.