Personal portfolio website
A fast, responsive one-page portfolio with your projects, skills and a contact form, hosted free on your own link.
What you'll learn
- โSemantic HTML and responsive CSS (flexbox, grid)
- โDark mode with CSS variables
- โDeploying a site
What you'll build
- โHero, about, projects, skills, contact sections
- โMobile-first layout
- โDark/light toggle remembered in localStorage
- โWorking contact form
Step-by-step guide
- 1
Plan content first
Write your one-line intro, 3โ4 projects (problem, what you built, link) and skills before writing code.
- 2
Semantic structure
header, nav, main, section, footer; one h1; alt text on every image.
- 3
Layout
Use CSS grid for the project cards (repeat(auto-fit, minmax(260px, 1fr))) and flexbox for the nav.
- 4
Theme
Define colours as CSS variables on :root and override them on [data-theme="dark"]; save the choice in localStorage.
- 5
Contact form
Use a free form backend (for example Formspree) or a mailto link; validate fields with the required attribute.
- 6
Performance
Compress images (WebP), lazy-load them (loading="lazy") and check the page with Lighthouse.
- 7
Deploy
Push to GitHub and enable GitHub Pages, or drag the folder onto Netlify.
๐ Make it stand out
- +Blog section from Markdown files
- +Animations on scroll with IntersectionObserver
- +Custom domain