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
Write it yourself first. Try for 10–15 minutes. Then ask for help.
Ask “why”, not “give me the code”. “Explain this line” beats “write this for me”.
Never paste code you don’t understand. If you can’t explain it back, ask for a simpler version.
Tell it you’re a beginner and what you’re using (VS Code, Windows, plain HTML/CSS).
Don’t put passwords or private keys in a chat.
Copy-paste prompts for when you’re stuck
Explain code you don’t understandI’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 brokenMy 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 taskI 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 codeReview 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 nextI 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 agentI’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
Install VS Code (code.visualstudio.com): a free code editor.
In VS Code, install the Live Server extension (Extensions icon on the left, search “Live Server”). It refreshes your page automatically as you save.
Create a folder on your Desktop called my-first-site. In VS Code: File → Open Folder.
Create a file named index.html. Type ! and press Tab to generate a starter page. Between the <body> tags write Hello world.
Right-click the file → Open with Live Server. You’ve built a web page.
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
Learn the main tags: <h1>–<h6> (headings), <p> (paragraph), <a href="..."> (link), <img src="..." alt="..."> (image), <ul><li> (list), <div> (a generic box).
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.
Make a second file, hobbies.html, and link between the two pages.
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
Learn the structure tags: <header>, <nav>, <main>, <section>, <footer>.
Restructure your About page with them: a header with a nav (links), a main with two sections, a footer.
Add a contact form: <form> with a name <input>, an email input, a <textarea> and a <button>. Use <label> for each field.
Learn why alt text on images and labels on form fields matter: accessibility for people who use screen readers.
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
Create style.css and link it in your HTML <head>: <link rel="stylesheet" href="style.css">.
Style the body: background, color, font-family, line-height. Pick a Google Font and add it.
Learn selectors: tag (h1), class (.card), id (#top). Use classes mostly.
Style headings, links (and their :hover state) and buttons.
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
In Chrome DevTools click an element and look at the box diagram in the Computed tab. See the padding and margin in colour.
Add box-sizing: border-box; to everything: * { box-sizing: border-box; }. Do this on every project.
Build a card: a div with a border, border-radius, padding, a max-width, and centred with margin: 0 auto.
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
Flexbox: on a nav, set display: flex; gap: 16px; justify-content: space-between; align-items: center;. Change each and watch.
Make three cards in a row with flexbox. Add flex-wrap: wrap so they wrap on small screens.
Grid: display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; for a gallery. Try repeat(auto-fit, minmax(220px, 1fr)).
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
Make sure the <meta name="viewport" content="width=device-width, initial-scale=1"> tag is in your <head> (the ! starter gives it).
Use media queries: @media (max-width: 700px) { ... } to change layout on small screens, for instance stacking columns.
In DevTools click the phone/tablet icon to test different sizes.
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
Install Git (git-scm.com). Make a free GitHub account.
In VS Code, open the terminal (Terminal → New Terminal) in your project folder.
Run: git init (start tracking), git add . (stage all files), git commit -m "First version" (save a version).
Make a new empty repository on GitHub. Follow its instructions: git remote add origin ... and git push -u origin main.
Change something, then repeat add, commit, push. Look at the history on GitHub.
Git troubleI’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
Sign up for Vercel or Netlify (free) using your GitHub account.
Click Add New → Project, choose your repo, and deploy. For plain HTML/CSS there’s nothing to configure.
You get a public link (like your-site.vercel.app). Open it on your phone. Send it to a friend.
Now change something locally, then add, commit, push. The site updates itself by magic. That’s how professionals ship.
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
Open the browser Console (DevTools → Console). Type 2 + 2 and press Enter. Type console.log("hi").
Learn variables: let name = "Sam"; and const age = 20; (use const unless it changes).
React to the user: button.addEventListener("click", () => { ... }).
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
Plan it on paper: an input, an Add button, a list. Tick items off, delete them.
Build the HTML and CSS first.
Add JavaScript: on click, read the input, create a new <li>, append it, clear the input.
Add “mark done” and “delete”.
Bonus: save the list in localStorage so it survives a refresh (ask the AI to explain it, then write it yourself).
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
Pick a small upgrade for Project 1: a testimonials section, an image gallery, or a mobile menu.
Write down what you want in 3 sentences, plus how you’d build it.
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.
Read every change. Ask about anything you don’t understand. Commit in Git before and after so you can undo.
If the AI breaks something, use git restore . to go back, and try a smaller request.
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
Write a README for each project: what it is, what you used, what you learned (in the GitHub repo).
Create a simple portfolio page listing both projects with links.
Look at the roadmap below and choose your next 3 months.
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.
Step
Learn
Roughly
Why
1
HTML + CSS well
Done in this course (basics)
Foundation of everything
2
JavaScript properly
1–2 months
The one language the browser runs
3
Git and GitHub
Started on Day 8
Every team uses it
4
TypeScript
2–4 weeks
JavaScript with safety checks; used by most teams
5
React
1–2 months
The most common front-end library; most front-end jobs ask for it
6
Tailwind CSS
1–2 weeks
Fast styling
7
Testing basics
1–2 weeks
Prove your code works
8
Next.js
1–2 months
A 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
One path, one language. Don’t swap to the latest shiny thing every month.
Build projects, not just courses. At least one new project per month.
Get stuck on purpose. Struggling for 20 minutes before asking for help is where learning happens.
Read other people’s code on GitHub.
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
Roadmap, paths and timelines adapted from Programming with Mosh, web development roadmap video (YouTube). The 14-day plan is our own beginner starter built on it.
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.