This demo walks through a simple four-page portfolio site—Home, About, Bio, and Contact—built entirely with HTML, CSS, and a little vanilla JavaScript. It is a realistic starting point: a real nav, a real form, and a real image gallery, not just a wall of Lorem Ipsum.

Clone the repo, open it in your editor, and follow along as we build each piece from a bare page into a polished, responsive site.

Files

What Is in the Repo

  • index.html: home page with a responsive photo gallery and lightbox
  • about.html: semantic page structure and supporting image content
  • bio.html: personal introduction, photograph, and skills list
  • contact.html: an accessible front-end contact form
  • css/style.css: shared typography, color, navigation, layout, gallery, form, and responsive styles
  • js/main.js: mobile navigation, automatic footer year, and keyboard-friendly gallery interactions

What You Will See

  • Semantic HTML5 structure using nav, main, footer, and figure
  • A responsive navigation bar that collapses into a mobile menu
  • An accessible contact form with proper labels and focus states
  • A CSS Grid photo gallery with a custom-built lightbox—no libraries required
  • Descriptive alternative text and other accessibility basics
  • Images optimized for the web before they are published

The contact form is included for markup and styling practice. It is not connected to a service that sends messages.

Clone the repo, open index.html, and poke around. Then try changing the navigation color, adding a new page, or swapping in your own photos.