Building a Simple Portfolio Website

A portfolio website is one of the most valuable things you can build as a developer or designer. It's your personal corner of the web: a place where you show employers and clients who you are, what you do, and what you've made. Best of all, you can build a great one using just HTML and CSS.

The Anatomy of a Portfolio

A typical portfolio site is made up of the following sections, ideally all living on a single scrollable page:

The HTML Skeleton

Because all sections share a single scrollable page, the HTML structure is a sequence of semantic landmark tags inside the body:

Sticky Navigation

By giving the nav a position: sticky and top: 0, it automatically stays glued to the top of the browser window as the user scrolls. You can then use anchor links (<a href="#skills">) to jump to other sections on the page by matching the href to the id of the target section.

Full Working Example

Below is a complete, fully styled portfolio page for a fictional developer. Note how the navigation, hero gradient, skills chips, project cards, and contact section all combine to form a professional, job-ready presentation. Resize the window to see it adapt to mobile screens:

View Output Full Screen Preview