CodeLiveStudio

Learning

9 Easy HTML Projects for Beginners (With Build Times)

Nine beginner HTML projects, from tribute page to working quiz, each with what it teaches, a stretch goal and a build time. Free editor, no signup.

Updated 8 min readBy CodeLive Studio Team

Quick answer

Start with a tribute page, then a recipe card, then a personal homepage, small, finishable projects that teach structure before styling. Nine projects, ordered from first-ever-page to portfolio-ready, are listed below with build times, what each one teaches and a stretch goal.

HTML projects for beginners: laptop showing several small HTML project pages side by side

You know the tags. You can recognize a <div> in your sleep. And yet every job listing wants 'projects', and every tutorial ends before one starts. This page closes that gap: nine small HTML projects, ordered from first-ever-page to genuinely-impressive, each with what it teaches, a runnable starter snippet, a stretch goal, and how long it should take. Most project lists stop at the idea — every one here comes with code you can paste into the free HTML editor and finish. And if the division of labor between the three languages is still fuzzy, start with what HTML, CSS and JavaScript each actually do, then come back, every project below will make more sense.

One rule before you start: build them in that order, but build them badly. Every experienced developer's first portfolio looked like a 2003 website. Volume of finished work beats quality of unfinished ideas, nine ugly finished pages beat one perfect abandoned one.

The nine projects at a glance

Here is the full list with build times for a first-time builder working in an editor with live preview. Sections below break down what each project teaches and how far to push it.

ProjectLevelCore skills it teachesFirst-time build time
1. Tribute pageStarterHeadings, images, lists, links1 hour
2. Recipe cardStarterSemantic lists, tables, meta viewport1–2 hours
3. Personal homepageStarterPage architecture, navigation, real content2 hours
4. Product card gridEasyFlexbox/Grid, the card pattern2–3 hours
5. Fake-product landing pageEasyVisual hierarchy, class reuse3 hours
6. Contact formEasyInput types, labels, validation1–2 hours
7. Documentation pageIntermediateSticky nav, anchors, code elements3 hours
8. Photo galleryEasyImages, object-fit, responsive layout2 hours
9. Mini quizIntermediateForms meeting JavaScript, first logic3–4 hours
Nine beginner HTML projects in difficulty order, from first page to first logic.

Project 1: Tribute page (1 hour)

Pick someone you admire and make them a one-page website: a big heading, a photo, three paragraphs of their story, and a timeline as an ordered list. This is the classic first project because it uses only structure, headings, paragraphs, images, lists, links, with zero styling pressure.

What it teaches: document skeleton, heading hierarchy, <img> with real alt text, and internal anchor links if you add a mini table of contents. Stretch goal: link to an external source for every claim you make. Starter: copy the snippet below into the HTML editor and swap in your own person.

<h1>Rosalind Franklin</h1>
<img src="portrait.jpg" alt="Portrait of Rosalind Franklin">
<p>The scientist who revealed the shape of DNA.</p>
<h2>Timeline</h2>
<ol>
  <li>1920 — born in London</li>
  <li>1951 — joins King's College London</li>
  <li>1958 — the double helix is confirmed</li>
</ol>
Tribute page starter: structure only, no styling needed.

Project 2: Recipe card with print styles (1–2 hours)

Mark up your favourite dish: ingredients as an unordered list, steps as an ordered list, a photo, and a 'serves 4' note in a <small> tag. Recipes are perfect practice because their structure is genuinely semantic, screen readers, recipe plugins and search engines all parse them.

What it teaches: semantic lists, tables if you add nutrition facts, and your first taste of <meta> viewport so it looks right on a phone. Stretch goal: add a checkbox next to each ingredient, you will meet the <input> element early. Starter: paste this card into the online HTML editor, then make it your dish.

<article>
  <h2>Three-ingredient pasta</h2>
  <small>Serves 4 · 20 minutes</small>
  <h3>Ingredients</h3>
  <ul>
    <li>200g pasta</li>
    <li>2 tomatoes</li>
    <li>Olive oil</li>
  </ul>
  <h3>Steps</h3>
  <ol>
    <li>Boil the pasta.</li>
    <li>Fry the chopped tomatoes.</li>
    <li>Toss together and eat.</li>
  </ol>
</article>
Recipe card starter: a real <article> with semantic lists.

Project 3: Personal homepage (2 hours)

One page about you: who you are, what you are learning, three links to things you made, and a way to contact you. This project has a deadline built in, you will actually put it online and share the link, which changes how careful you are.

What it teaches: page architecture (header, main, footer), navigation between sections with anchors, and writing for real visitors instead of an exercise. Stretch goal: make it in an online editor, save a share link, and send it to one friend for feedback. Starter: this page-architecture skeleton, ready to grow into:

<header>
  <h1>I'm Sam — student web developer</h1>
  <nav>
    <a href="#work">Work</a>
    <a href="#contact">Contact</a>
  </nav>
</header>
<main>
  <section id="work">
    <h2>Things I have built</h2>
  </section>
</main>
<footer id="contact">
  <p><a href="mailto:[email protected]">Email me</a></p>
</footer>
Personal homepage starter: header, nav, main, footer — the architecture of almost every site.

Project 4: Product card grid (2–3 hours)

Choose four products you love, sneakers, books, keyboards, and build a card for each: photo, name, one-line description, price, 'Buy' button. Then arrange the four cards in a responsive grid that stacks on phones and sits side by side on wider screens.

What it teaches: the card pattern that powers most of the modern web, plus Flexbox or Grid, the two layout systems you will use for the rest of your career. Stretch goal: hover effect that lifts the card slightly; badge that says 'Sale' on one card. Starter: paste the CSS below into the HTML editor's CSS tab, then write four cards over it.

/* The responsive card grid, one rule to memorize */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 16px;
}

Project 5: Landing page for a fake product (3 hours)

Invent something, a study-timer app, a plant subscription, and build its landing page: hero section with a headline and one button, three feature blocks, a row of fake testimonials, and a footer. No real product, no real payment; the layout is the project.

What it teaches: visual hierarchy, guiding a visitor's eye from headline to button, and reuse: your third feature block should be a copy of the first with different text, and you will feel why classes exist. Stretch goal: an FAQ section using <details> and <summary>, which work with zero JavaScript. Starter: the hero and FAQ pieces below, opened in the free online HTML editor:

<section class="hero">
  <h1>PlantBox — plants that survive you</h1>
  <p>One box. Six hardy plants. Zero guilt.</p>
  <button>Get monthly plants</button>
</section>

<details>
  <summary>Can I cancel anytime?</summary>
  <p>Yes, one click, no questions asked.</p>
</details>
Landing page starter: a hero for the eye to land on, and a zero-JavaScript FAQ block.

Project 6: Contact form (that does nothing) (1–2 hours)

Build a full contact form: name, email, topic dropdown, message textarea, and a submit button. It will not actually send anything, that needs a server, but building clean, accessible form markup is a skill in itself and half of every real website is forms.

What it teaches: every input type, <label> tied to inputs with for/id (this one interviewers ask about), placeholder versus label, and the required attribute for basic validation. Stretch goal: try submitting empty and watch the browser block it, validation for free. Starter: every input type in one small try-it-in-the-editor form:

<form>
  <label for="name">Name</label>
  <input id="name" required>
  <label for="email">Email</label>
  <input id="email" type="email" required>
  <label for="topic">Topic</label>
  <select id="topic">
    <option>Feedback</option>
    <option>Bug report</option>
  </select>
  <label for="msg">Message</label>
  <textarea id="msg" rows="4"></textarea>
  <button>Send</button>
</form>
Contact form starter: labels tied with for/id, required fields, one dropdown.

Project 7: Documentation page (3 hours)

Pick something you know, three Git commands, your editor's shortcuts, and write its documentation page: a fixed sidebar with links, and content sections on the right that the sidebar scrolls to. Documentation sites are 90% of what developers read, and building one demystifies them. Draft the content in the Markdown editor first, then turn the headings and lists into HTML sections, most real docs are written exactly that way.

What it teaches: navigation that stays put (position: sticky), anchor links that jump to sections, <code> and <pre> for showing code itself, your first taste of nesting structure inside structure. Stretch goal: highlight the sidebar link of the section currently on screen. Starter: sidebar plus one anchor section, expandable in the HTML editor:

<nav class="sidebar">
  <a href="#git-clone">git clone</a>
  <a href="#git-push">git push</a>
</nav>
<main>
  <section id="git-clone">
    <h2>git clone</h2>
    <pre><code>git clone https://github.com/you/repo.git</code></pre>
  </section>
</main>
Docs starter: a sticky sidebar you can style later, anchor links, and <pre><code> for commands.

Project 8: Photo gallery with captions (2 hours)

Take six to nine photos (free sources are fine) and build a gallery: a responsive grid of thumbnails, and a caption that appears under each on hover, or always, on touch screens, which teaches you why hover is not enough.

What it teaches: images at real-world sizes, object-fit for keeping crops tidy, and the difference between a layout you designed for a desktop and one that survives a phone. Stretch goal: click a photo to open it bigger, your first modal, achievable with <dialog> and one line of JavaScript. Starter: one gallery cell plus the responsive grid, paste both into the editor:

<div class="gallery">
  <figure>
    <img src="photo1.jpg" alt="Sunset over the harbor">
    <figcaption>Harbor sunset</figcaption>
  </figure>
</div>
<style>
  .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
  img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
</style>
Gallery starter: the auto-fit grid and object-fit crops, already responsive.

Project 9: Mini quiz page (your first logic) (3–4 hours)

Five multiple-choice questions as radio buttons, a Submit button, and a score that appears at the end. This project deliberately crosses the HTML/CSS border into JavaScript, the smallest possible step, because the logic is ten lines and the interface is what you already know.

What it teaches: reading input values, simple if-statements, and updating the page in response to a click, the entire mental model of interactivity in one afternoon. Stretch goal: show the correct answers in green after submitting. Starter: a one-question quiz whose logic fits in the JavaScript playground:

<p>What does CSS stand for?</p>
<label><input type="radio" name="q1" value="right">Cascading Style Sheets</label>
<label><input type="radio" name="q1" value="wrong">Computer Style Sheets</label>
<button id="check">Check answer</button>
<p id="result"></p>
<script>
  document.getElementById("check").addEventListener("click", () => {
    const picked = document.querySelector('input[name="q1"]:checked');
    document.getElementById("result").textContent =
      picked && picked.value === "right" ? "Correct!" : "Try again";
  });
</script>
Quiz starter: one question, radio inputs, and the ten lines of logic behind all interactivity.

How to actually finish all nine

Two practical tips from every developer who has done this. First, keep the tool friction at zero: an online editor with auto-save and a live preview means a spare ten minutes is enough for real progress, no installs, no setup, work saved in the browser between sessions (the free HTML editor does exactly this). Second, finish ugly: when a project works, move to the next one and let stretch goals pull you back later. Before you show any finished page to someone, run it through the HTML tester workflow once, broken markup is invisible until the moment it matters.

When the nine are done, you will not need a list anymore, rebuilding a page you admire becomes the natural next step, and that habit is self-fueling. Open the editor, start project 1, and give it its first hour today; the other eight get easier from there.

What is the easiest project for HTML?

A tribute page — it is both the easiest project on this list and the best first one, which is rare. It uses zero layout thinking: you type content into headings, paragraphs, an image and a list, and something readable appears, which teaches the document skeleton before the intimidating parts arrive. A recipe card is the natural second step (it adds real semantic structure), and a personal homepage the third, because it adds navigation and forces slightly more honest content.

What to avoid first: dashboards, multi-page sites and anything requiring a backend. Those teach frustration before fundamentals, and abandoned first projects are the most common reason beginners quit.

How do I start an HTML project?

Open the free HTML editor — or create a folder on your computer with an index.html inside — and start from the skeleton: a doctype, an <html>, a <head> with a <title>, and a <body>. Put one <h1> and one paragraph on the page, confirm they render, then add exactly one new element at a time and look at the preview after each change.

That one-tag-at-a-time rhythm is the whole trick: you always know which addition did what. Only when a page outgrows a single file do you split the CSS and JavaScript into their own files — and by then you will have finished something, which is the point.

Try everything from this article live

The CodeLive Studio editor runs the examples above with a one-second live preview no account, no install.

Open the free editor

Keep reading

Frequently asked questions

What is the easiest project for HTML?

A tribute page: one heading, a photo, a few paragraphs and a timeline list. It uses no layout thinking, takes about an hour, and teaches the document skeleton every later project builds on.

Can I build a website with just HTML?

Yes. An HTML-only site works in every browser — content, links, images and forms all function. It will be unstyled and non-interactive; CSS and JavaScript are what add looks and behavior.

Can I build these HTML projects on my phone?

Yes, projects 1 through 8 are pure HTML and CSS and render exactly like on desktop. A browser-based editor with autocomplete and a floating live preview makes ten-minute phone sessions work; the JavaScript quiz is doable but tests your patience on a phone keyboard.

How many HTML projects do I need before learning JavaScript?

Three or four finished projects is the honest threshold: structure from the tribute page, layout from the card grid, and the limits of HTML from the contact form. When you catch yourself thinking 'this button should do something', JavaScript will make sense.

What tools do I need for these projects?

A browser is enough: the free CodeLive Studio editor gives you code, live preview, auto-save and download, with no account. A text editor like VS Code becomes worth installing only when a project outgrows a single file.

Found this useful? Share it

CodeLive Studio Team

The team behind CodeLive Studio, a free suite of client-side developer tools. Every guide is written from hands-on testing in the same browser tools you can open above — no installs, no accounts, nothing uploaded.

More about CodeLive Studio