Guided project
HTML and CSS Portfolio Project, Step by Step
A personal portfolio site, from an empty file to a responsive, accessible page.
Build a one-page portfolio from scratch: a real document, a header with navigation, a hero, project cards, an About section and a contact form, then style it with Flexbox and Grid, make it work on phones and from the keyboard.
- Milestones
- 4
- Steps
- 13
- Free steps
- 6
Free: milestones 1 to 2 (6 steps). Milestones 3 to 4 with DevArcade Pro.
What you'll build
A one-page portfolio site with a hero, project cards, an About section and a contact form, responsive and keyboard friendly.
Skills you'll practise
- A complete HTML document and landmarks
- Navigation and in-page links
- Images with useful alt text
- Forms with labels and built-in validation
- Custom properties for colours
- Flexbox for rows, CSS Grid for cards
- Media queries for phones
- Skip links and visible focus
Who it's for
Beginners who know some HTML and CSS and want a finished site to show, and anyone who needs a portfolio for their first developer job.
Before you start
HTML basics and a little CSS. HTML Mastery and CSS Mastery cover it all.
Learn it first
- Learn HTML with an Interactive CourseSemantic, accessible markup: from the first tag to a finished landing page.
- Learn CSS: Flexbox, Grid and Responsive DesignSelectors to Grid, responsive layouts and motion, styled live in the browser.
- Online HTML CSS editorKeep building there, free.
Milestones and steps
4 milestones and 13 steps. Every step starts from your code of the step before, adds one feature, and is tested in your browser.
- Free
Milestone 1:The page structure
A complete document, a header with navigation and the hero.
- The page skeletonA real HTML document: doctype, language, the head, and a body with header, main and footer.
- Header and navigationA home link and a list of in-page links inside a labelled nav.
- The heroThe first thing people read: one h1, a short pitch and a call to action.
-
- Free
Milestone 2:The content
Project cards, an About section and a contact form with built-in validation.
- Project cardsA section of three cards, each with a picture, a heading and a sentence.
- About meA short bio with a portrait and a list of skills.
- A contact formLabelled fields, the right input types, and validation the browser does for you.
-
- Pro
Milestone 3:Style it
Custom properties, a Flexbox header, a hero that stands out and a CSS Grid of projects.
- Base stylesA style element, custom properties for the colours, and a readable body.
- Lay out the headerFlexbox puts the name and the links on one row, pushed to either end.
- Style the heroSpace, a big heading and a link styled as a pill-shaped button.
- A grid of projectsCSS Grid puts the cards in three equal columns with even gaps.
-
- Pro
Milestone 4:Responsive and ship
A media query for phones, keyboard access and the final polish.
- Fit every screenA media query stacks the grid and the header on narrow screens.
- Keyboard friendlyA skip link and a clear focus outline for people who navigate with the keyboard.
- Final polishA round portrait, skills as tags, safe images and a quiet footer. Ship it.
-
Frequently asked questions
Is this a good first HTML and CSS project?
Yes. Each step adds one part of the site, and tests check your page, so you build a complete portfolio without getting stuck on what to do next.
Will the portfolio work on phones?
Yes. The later steps make the layout responsive with Flexbox, Grid and media queries.
Can I use the result as my real portfolio?
Yes. Open the finished site in the HTML CSS playground, make it yours, and copy the code to host anywhere.
Is it free?
Milestones 1 and 2 are free; DevArcade Pro opens the rest of the project.
Start building for free
Milestones 1 and 2 are free. DevArcade Pro opens every milestone of every project and every unit of every course, monthly or yearly.