Skip to main content
Brave Programmer Logo

BraveProgrammer

BraveProgrammer

HomeProjectsBlogsCoursesLessonsAbout

Site footer

BraveProgrammer

Free coding courses, practical tutorials, and real projects from BraveProgrammer. Learn web development with React, Next.js, and TypeScript.

Navigation

  • Home
  • Projects
  • Blogs
  • Courses

Resources

  • About
  • Lessons
  • Teach on BraveProgrammer

© 2026 BraveProgrammer. All rights reserved.

Final Project – Build an Accessible Por | HTML Course lesson | BraveProgrammer
  1. Courses
  2. /
  3. HTML Course

Lesson 40 of 55

·HTML

Final Project – Build an Accessible Portfolio Site

15 min

Course progress73%

What you'll learn

Keep these ideas in mind as you work through the lesson.

5 points
  • Project scope and deliverables across multiple pages
  • Responsive layout techniques using Flexbox and Grid
  • Accessibility checklist to meet WCAG AA
  • Performance optimisations (lazy loading, CSP, preload)
  • SEO requirements and validation steps

Project Overview

Your capstone ties together everything you’ve learned. Goal: Create a personal portfolio that showcases projects, uses semantic HTML, is fully responsive, SEO‑friendly, and meets WCAG AA accessibility standards.

Core requirements

  1. Home page – Hero section, navigation (<nav>), brief intro.
  2. Projects page – Grid of <article> cards; each card opens a modal dialog (ARIA role='dialog') with project details.
  3. Contact page – Form with validation, custom file upload, and a hidden honeypot field for spam protection.
  4. Responsive layout – Flexbox for the header/footer, CSS Grid for the projects grid; mobile‑first breakpoints.
  5. Performance – Lazy‑load images, preload critical CSS, implement CSP, and use loading='lazy' on videos/iframes.
  6. SEO – Unique <title>, meta description, Open Graph tags, canonical URL, JSON‑LD breadcrumb markup.
  7. Accessibility – lang attribute, ARIA landmarks, live region for form‑submission status, keyboard‑only navigation, focus management for modals.

Suggested folder structure

portfolio/
├─ index.html
├─ projects.html
├─ contact.html
├─ assets/
│   ├─ images/
│   ├─ css/
│   │   └─ styles.css
│   └─ js/
│       └─ main.js
└─ README.md

Milestones

MilestoneDeliverableApprox. time
1Skeleton markup with semantic elements (<header>, <main>, <footer>).2 h
2Responsive layout (Flexbox/Grid) with breakpoints.3 h
3Form with native validation, custom error messages, and a honeypot field.4 h
4Performance enhancements (lazy loading, CSP, preload).2 h
5SEO & accessibility audit using Lighthouse and axe.2 h
6Final polish, deploy to GitHub Pages or Netlify, write documentation.2 h

Evaluation checklist

  • ✅ Semantic HTML (<header>, <nav>, <main>, <section>, <article>, <footer>)
  • ✅ Responsive design (mobile‑first, no horizontal scroll)
  • ✅ All images have meaningful alt text
  • ✅ Form validation works natively and with custom JavaScript
  • ✅ CSP header present and does not block required resources
  • ✅ SEO meta tags (title, description, Open Graph, JSON‑LD)
  • ✅ Accessibility:
    • lang attribute set
    • ARIA landmarks (role='navigation', role='main')
    • Live region for form submission status
    • Keyboard‑only navigation works (Tab order, focus outlines)
    • Modal dialog traps focus and restores it on close
  • ✅ Performance thresholds met (LCP < 2.5 s, CLS < 0.1) on a simulated 3G connection.

Tip: Deploy early to a GitHub Pages preview branch; run Lighthouse on each commit to catch regressions.

Info

Completing the project earns the HTML Master badge and the highest XP reward.
Make it stickPractice what you've learned1 quiz · 2 practical tests · Optional activities from HTML CourseBrowse activities
Previous lessonSecurity – Content Security Policy (CSP)Continue to lesson 41Microdata & Structured Data – Schema.orgBack to HTML Course curriculum