Skip to content

Money › Skills that pay › Course 04

Money course · From zero

Learn web
development

Your first real website in two weeks, live on the internet. Then an honest roadmap for the rest.

  • Time14 days + roadmap
  • CostFree tools
  • LevelTotal beginner
  • You’ll make2 live websites
Pick ONE skill. Not all four.

Choose this or video editing, design or social media, then stick with it for 90 days. Front-end and back-end and three languages at once is how people quit. Pick one path and finish it.

0 of 14 days done

Read this first

What web development is, and how long it really takes

A website is a set of files that a browser (Chrome, Safari) reads and draws on your screen. Web development is writing those files. Three languages do the work: HTML (the structure and content), CSS (how it looks) and JavaScript (how it behaves). That’s the whole foundation.

The honest timeline

This course gets you to your first real, public website in 14 days. That is a genuine, motivating win, and nothing more than that yet. Becoming hireable is longer: roughly 6 months of steady work for front-end (what people see) and about 12 months for back-end (servers and databases), according to the roadmap this course is based on. Anyone saying “job-ready in 30 days” is selling something. Part 2 of this page is the roadmap for the rest.

The two paths

  • Front-end: what users see and click. HTML → CSS → JavaScript → TypeScript → React → Tailwind CSS → testing → Next.js. Start here. Results are visible, and it’s the better first path.
  • Back-end: the hidden side: servers, databases, accounts, payments. Pick one language (Python, JavaScript/Node, C#, Java…) and learn it well. Don’t try several. Full-stack = both. Do it later.

The golden rule from the source roadmap: pick one path and one language, and stick to it. Beginners who hop between languages and tutorials never get good at any.

What you need

  • A laptop or PC (any modern one). No powerful machine needed.
  • The free editor VS Code, a browser (Chrome), a free GitHub account and a free Vercel or Netlify account.
  • 1–2 hours a day. Typing the code yourself, not copy-pasting, is how it sticks.

Your coding partner

Which AI to use, and how to use it without wrecking your learning

AI can now write whole websites. That’s a trap for a beginner: if the AI types everything, you learn nothing, and you can’t fix it when it breaks. So here is the deal: use AI as a tutor and a pair-programmer, not as the one doing your homework.

Free optionOpenAI Codex

A coding assistant that works from your code and can explain, write and fix it. Included with ChatGPT accounts, with a limited allowance on the free tier. Use it if you need free. Limits change, so check the current terms at developers.openai.com/codex/pricing.

If you can payClaude Pro (Claude Code)

Claude’s paid plan gives much more usage and includes Claude Code, an assistant that works inside your project folder. Many people find its explanations the clearest for learning. Check current price and limits at claude.com/pricing.

Also free for questionsClaude, ChatGPT, Gemini (free chat)

For explaining errors and concepts you don’t need a paid plan. Paste your code and the error and ask why.

Which one for you?

No money to spend? Start with free ChatGPT/Codex and free Claude chat. Can spend a little and want to move faster? Claude Pro. You do not need either for Days 1–7. Do those by hand first, with the AI only explaining.

The rules of using AI while learning

  1. Write it yourself first. Try for 10–15 minutes. Then ask for help.
  2. Ask “why”, not “give me the code”. “Explain this line” beats “write this for me”.
  3. Never paste code you don’t understand. If you can’t explain it back, ask for a simpler version.
  4. Tell it you’re a beginner and what you’re using (VS Code, Windows, plain HTML/CSS).
  5. Don’t put passwords or private keys in a chat.

Copy-paste prompts for when you’re stuck

Explain code you don’t understand I’m a complete beginner learning web development (HTML, CSS, JavaScript). Explain this code line by line in simple words. Don’t change it. After that, ask me 2 questions to check I understood. [PASTE CODE]
Fix an error (teach me, don’t just fix) I’m a beginner. My code isn’t doing what I expect. I wanted: [WHAT YOU WANTED]. What happens: [WHAT HAPPENS]. Here is my code: [PASTE]. Here’s the error in the browser console: [PASTE]. First tell me what the problem is in plain words and give a hint. Only show the corrected code if I ask.
When my CSS layout is broken My page layout looks wrong: [DESCRIBE or ATTACH SCREENSHOT]. Here is my HTML and CSS: [PASTE]. Explain what’s causing it (box model, flexbox, grid, or something else) and the smallest change that fixes it. Explain why it works.
Give me a practice task I just finished Day [X] about [TOPIC] in a beginner web development course. Give me one small practice task I can do in 30 minutes with only HTML/CSS/JavaScript (no libraries). Don’t give the solution. Add 3 hints I can reveal one by one.
Review my code Review my beginner code like a kind senior developer. Point out the 3 biggest problems and the 3 things I did well. Explain each fix in simple words and why professionals do it that way. Code: [PASTE]
Decide what to learn next I know HTML, CSS and basic JavaScript. My goal is [GET A JOB / BUILD SITES FOR LOCAL BUSINESSES / BUILD MY OWN APP]. I have [X] hours a week. Make a 3-month plan: weekly topics, one project per month, and what to skip for now.

For Codex or Claude Code (Week 2 onwards)

These tools can read and edit files in your project. Use them carefully:

Safe way to use a coding agent I’m learning. Look at the project in this folder. Before changing any file, explain your plan in 3-5 bullet points and wait for me to say go. When you change something, explain every change simply and tell me what to learn from it. Make the smallest possible change. Don’t add libraries.

Part 1 · Week 1

Days 1–7: HTML, CSS and your first page

Day 1

How the web works, and set up your tools

~1.5 hrs

When you type a web address, your browser asks a computer (a server) for files, and the server sends back HTML, CSS and JavaScript. The browser draws them. That’s all.

Do this

  1. Install VS Code (code.visualstudio.com): a free code editor.
  2. In VS Code, install the Live Server extension (Extensions icon on the left, search “Live Server”). It refreshes your page automatically as you save.
  3. Create a folder on your Desktop called my-first-site. In VS Code: File → Open Folder.
  4. Create a file named index.html. Type ! and press Tab to generate a starter page. Between the <body> tags write Hello world.
  5. Right-click the file → Open with Live Server. You’ve built a web page.
  6. In Chrome press F12 to open Developer Tools. Click the arrow icon and hover over parts of any website. This is how professionals inspect pages. You’ll use it every day.

You're done when: your page shows in the browser and you’ve opened Developer Tools once.

Day 2

HTML 1: the building blocks

~2 hrs

HTML is a set of tags that label content: “this is a heading”, “this is a paragraph”. A tag usually comes in pairs: <p>Hello</p>.

Do this

  1. Learn the main tags: <h1>–<h6> (headings), <p> (paragraph), <a href="..."> (link), <img src="..." alt="..."> (image), <ul><li> (list), <div> (a generic box).
  2. Build an About Me page: your name as an h1, a short bio, a list of 5 interests, a photo (with an alt text describing it), and a link to a site you like.
  3. Make a second file, hobbies.html, and link between the two pages.
  4. Check it works in the browser. Break something on purpose (remove a closing tag) and see what happens.

Key idea: HTML is about meaning, not looks. Don’t worry that it looks plain. CSS fixes that.

You're done when: you have a two-page site with headings, a list, a picture and links between pages.

Day 3

HTML 2: structure and forms

~2 hrs

Good pages use semantic tags that describe their purpose. This helps search engines, screen readers and you.

Do this

  1. Learn the structure tags: <header>, <nav>, <main>, <section>, <footer>.
  2. Restructure your About page with them: a header with a nav (links), a main with two sections, a footer.
  3. Add a contact form: <form> with a name <input>, an email input, a <textarea> and a <button>. Use <label> for each field.
  4. Learn why alt text on images and labels on form fields matter: accessibility for people who use screen readers.
  5. Validate: paste your HTML into the W3C validator (validator.w3.org) and fix errors.

You're done when: your page uses header, nav, main, section and footer, plus a form with labels.

Day 4

CSS 1: colours, fonts and the look

~2 hrs

CSS says how things look. A rule has a selector (what to style) and declarations (how): p { color: blue; }

Do this

  1. Create style.css and link it in your HTML <head>: <link rel="stylesheet" href="style.css">.
  2. Style the body: background, color, font-family, line-height. Pick a Google Font and add it.
  3. Learn selectors: tag (h1), class (.card), id (#top). Use classes mostly.
  4. Style headings, links (and their :hover state) and buttons.
  5. Use only a small, consistent colour palette. (If you did the design course, reuse the rules.)

You're done when: your About page has your own colours, font and hover effects on links.

Day 5

CSS 2: the box model and spacing

~2 hrs

Every element is a box: content, then padding (space inside), border, and margin (space outside). Most beginner layout confusion is the box model.

Do this

  1. In Chrome DevTools click an element and look at the box diagram in the Computed tab. See the padding and margin in colour.
  2. Add box-sizing: border-box; to everything: * { box-sizing: border-box; }. Do this on every project.
  3. Build a card: a div with a border, border-radius, padding, a max-width, and centred with margin: 0 auto.
  4. Use consistent spacing numbers (8, 16, 24, 32 px). Consistency looks professional.
  5. Use units: px (fixed), rem (relative to base font size: better for text), %, vh/vw.

You're done when: you’ve built a nicely spaced card and can point to its padding and margin in DevTools.

Day 6

CSS 3: Flexbox and Grid

~2 hrs

Flexbox arranges things in one row or column. Grid arranges in rows and columns. Together they handle almost every layout.

Do this

  1. Flexbox: on a nav, set display: flex; gap: 16px; justify-content: space-between; align-items: center;. Change each and watch.
  2. Make three cards in a row with flexbox. Add flex-wrap: wrap so they wrap on small screens.
  3. Grid: display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; for a gallery. Try repeat(auto-fit, minmax(220px, 1fr)).
  4. Play the free games: Flexbox Froggy and Grid Garden. They teach by playing.

You're done when: you have a nav built with flexbox and a three-column card grid.

Day 7

Responsive design, and Project 1 begins

~2.5 hrs

Most visitors are on phones. A responsive site adapts to the screen.

Do this

  1. Make sure the <meta name="viewport" content="width=device-width, initial-scale=1"> tag is in your <head> (the ! starter gives it).
  2. Use media queries: @media (max-width: 700px) { ... } to change layout on small screens, for instance stacking columns.
  3. In DevTools click the phone/tablet icon to test different sizes.
  4. Project 1: build a one-page site for an imaginary local business (a tuition class, a gym or a bakery): hero section, services, three cards, contact form, footer. Make it look good on a phone first.

You're done when: your business page looks right on both phone and laptop screen sizes.

Part 1 · Week 2

Days 8–14: Git, going live, and JavaScript

Day 8

Git and GitHub: saving and sharing your work

~2 hrs

Git tracks every version of your files, like save points in a game. GitHub is a website that stores your Git projects online. Every developer uses them.

Do this

  1. Install Git (git-scm.com). Make a free GitHub account.
  2. In VS Code, open the terminal (Terminal → New Terminal) in your project folder.
  3. Run: git init (start tracking), git add . (stage all files), git commit -m "First version" (save a version).
  4. Make a new empty repository on GitHub. Follow its instructions: git remote add origin ... and git push -u origin main.
  5. Change something, then repeat add, commit, push. Look at the history on GitHub.
  6. Key words: repository (project folder), commit (saved version), push (upload), pull (download), branch (a parallel version; later).
Git trouble I’m a beginner using Git on [Windows/Mac]. I ran [COMMAND] and got this message: [PASTE]. Explain what it means in simple words and give the exact commands to fix it, one at a time.

You're done when: your project is on GitHub with at least two commits.

Day 9

Put your website on the internet

~1.5 hrs

A site on your computer is private. Deploying puts it on a public address.

Do this

  1. Sign up for Vercel or Netlify (free) using your GitHub account.
  2. Click Add New → Project, choose your repo, and deploy. For plain HTML/CSS there’s nothing to configure.
  3. You get a public link (like your-site.vercel.app). Open it on your phone. Send it to a friend.
  4. Now change something locally, then add, commit, push. The site updates itself by magic. That’s how professionals ship.
  5. Later, a custom domain (like yourname.com) costs around ₹700–1,000+ a year. It’s optional for learning.

You're done when: your Project 1 site is live at a public address you can share.

Day 10

JavaScript 1: the basics

~2 hrs

JavaScript makes pages do things. It’s a real programming language, so this part is slower. Be patient.

Do this

  1. Open the browser Console (DevTools → Console). Type 2 + 2 and press Enter. Type console.log("hi").
  2. Learn variables: let name = "Sam"; and const age = 20; (use const unless it changes).
  3. Learn types: strings ("text"), numbers, booleans (true/false), arrays ([1,2,3]), objects ({ name: "Sam" }).
  4. Learn conditions: if (age >= 18) { ... } else { ... } and loops: for.
  5. Create script.js and link it at the end of the body: <script src="script.js"></script>.
  6. Write 5 tiny programs: print your name 5 times; check if a number is even; sum an array; find the biggest number; reverse a word.

You're done when: you’ve written five small programs and can explain variable, array, if and loop.

Day 11

JavaScript 2: functions and the DOM

~2 hrs

The DOM is the browser’s live model of your page. JavaScript can read and change it.

Do this

  1. Learn functions: function greet(name) { return "Hi " + name; } (reusable blocks of code).
  2. Select elements: document.querySelector(".btn").
  3. Change them: el.textContent = "Clicked!", el.classList.toggle("active").
  4. React to the user: button.addEventListener("click", () => { ... }).
  5. Make a dark-mode toggle on your Project 1 page: a button that toggles a class on <body>, and CSS that changes colours with that class.

You're done when: your site has a working button that changes the page.

Day 12

Project 2: a small interactive app

~3 hrs

Now build something that works. A to-do list is the classic first app.

Do this

  1. Plan it on paper: an input, an Add button, a list. Tick items off, delete them.
  2. Build the HTML and CSS first.
  3. Add JavaScript: on click, read the input, create a new <li>, append it, clear the input.
  4. Add “mark done” and “delete”.
  5. Bonus: save the list in localStorage so it survives a refresh (ask the AI to explain it, then write it yourself).
  6. Push to GitHub and deploy.

You're done when: your to-do app works, is deployed and you can explain how it works line by line.

Day 13

Using AI the right way on a real project

~2.5 hrs

Now that you know the basics, an AI helper becomes useful and not harmful.

Do this

  1. Pick a small upgrade for Project 1: a testimonials section, an image gallery, or a mobile menu.
  2. Write down what you want in 3 sentences, plus how you’d build it.
  3. Use the “safe way to use a coding agent” prompt with Codex (free option) or Claude Code via Claude Pro. Ask for a plan first.
  4. Read every change. Ask about anything you don’t understand. Commit in Git before and after so you can undo.
  5. If the AI breaks something, use git restore . to go back, and try a smaller request.
  6. Write 3 things you learned from the AI’s code.

You're done when: you’ve added a feature with AI help, understand every line, and committed it.

Day 14

Review, portfolio and the road ahead

~2 hrs

Two weeks ago you couldn’t build a website. Now you have two live ones.

Do this

  1. Write a README for each project: what it is, what you used, what you learned (in the GitHub repo).
  2. Create a simple portfolio page listing both projects with links.
  3. Look at the roadmap below and choose your next 3 months.
  4. If you want to earn: offer a free or cheap simple website to a small business you know, in exchange for a testimonial. See the service business playbook and the social media course for finding clients.

You're done when: you have a portfolio page, two READMEs and a chosen next step.

Part 2

The roadmap after two weeks

This is the honest map. Adapted from a widely used web developer roadmap. Each step builds on the last. Don’t skip ahead.

StepLearnRoughlyWhy
1HTML + CSS wellDone in this course (basics)Foundation of everything
2JavaScript properly1–2 monthsThe one language the browser runs
3Git and GitHubStarted on Day 8Every team uses it
4TypeScript2–4 weeksJavaScript with safety checks; used by most teams
5React1–2 monthsThe most common front-end library; most front-end jobs ask for it
6Tailwind CSS1–2 weeksFast styling
7Testing basics1–2 weeksProve your code works
8Next.js1–2 monthsA full framework built on React
  • Front-end: about 6 months of steady, daily work to become employable or take freelance jobs.
  • Back-end: about 12 months. Choose one language (e.g. JavaScript/Node, Python, C#). Then learn databases, APIs and authentication.
  • Full-stack: front-end first, then back-end.

Rules for the long haul

  1. One path, one language. Don’t swap to the latest shiny thing every month.
  2. Build projects, not just courses. At least one new project per month.
  3. Get stuck on purpose. Struggling for 20 minutes before asking for help is where learning happens.
  4. Read other people’s code on GitHub.
  5. Work a little every day. 90 minutes a day beats 10 hours on Sunday.
Earn along the way

You don’t have to wait 6 months. After this course plus good CSS you can build simple one-page sites for local businesses, at low prices, to gain experience. Be honest about what you can and can’t do, and take on small jobs first.

Sources & honesty note

Honest note: 14 days teaches you to build and publish a simple site. It does not make you job-ready. The 6 and 12-month figures come from the source roadmap and vary with how much time you put in.