Skip to content
Learning path · Build websites

Build your first website with HTML, CSS and JavaScript

Learn web development for free: structure pages with HTML, style them with CSS, add interaction with JavaScript, then build a quiz app and publish your own site.

For you if
You want to build websites and are happy to start from zero. No programming experience needed.
Not for you if
You already build sites with a framework like React and want advanced topics.
Start step 1 for free 4 steps · A live personal website and a quiz app on GitHub Last reviewed

Steps in order

  1. Free 20 lessons

    Structure a page with HTML

    Headings, paragraphs, links, images, lists and forms: the skeleton of every web page. Build a simple “about me” page as you go.

    Learn HTML from scratch Udemy · 20 lessons Open course → Also useful for this step ↗
  2. Free 18 lessons

    Build a complete page from scratch with CSS

    Style and lay out a real web page with CSS. Focus on spacing, colours, Flexbox and making the page work on a phone.

    Website from Scratch HTML and CSS for Beginners Code Tutorial Udemy · 18 lessons Open course →
  3. Free 16 lessons

    Add interaction with JavaScript

    Variables, functions and events, then change the page when someone clicks. This is where a page becomes an app.

    Introduction to JavaScript: Web Tutorial Udemy · 16 lessons Open course →
  4. Project About a week

    Build a quiz app, then publish your personal site

    Follow the quiz-app course to combine HTML, CSS and JavaScript in one project. Then put your own site online for free with GitHub Pages and link the quiz from it.

    Building a Quiz App with HTML, CSS, and JavaScript Udemy · 14 lessons Open course → Also useful for this step ↗

Good free resources elsewhere

How this path works

Every website is built from three languages: HTML for structure, CSS for design and JavaScript for behaviour. You’ll learn them in that order with free courses, then finish with two things you can show anyone: a quiz app and your own live website.

Plan for about 4–6 weeks at 4–5 hours a week.

What you need

A browser and a free code editor such as VS Code. That’s it. Open your .html file in the browser to see changes instantly.

Tips that make the difference

  • Build something small after every step. A profile page after HTML, a styled version after CSS, a button that does something after JavaScript.
  • Use your browser’s developer tools. Right-click any page and choose Inspect to see and edit its HTML and CSS live.
  • Design for phones first. Most visitors browse on mobile.
  • Look things up on MDN. It is the reference professional developers use every day.

Your project checklist

  1. The quiz app shows questions one at a time and gives a final score.
  2. Your personal site has a short bio, your projects and a way to contact you.
  3. Both work on a phone screen.
  4. Images have alt text and links make sense out of context, so the site is accessible.
  5. The site is live on GitHub Pages and you can share its link.

Frequently asked questions

Do I need to learn a framework like React?

Not yet. Frameworks are built on HTML, CSS and JavaScript, so learn those first. Frameworks make much more sense afterwards.

Is web development still worth learning with AI tools around?

Yes. AI tools help you write code faster, but you still need to understand it to fix, adapt and ship it.

What comes next?

Responsive layouts with CSS Grid, then a framework or back-end basics. Browse our free web development courses.

Course Recommendations