Build a high-speed, SEO-optimized, accessible portfolio website with dark mode and contact forms.
Every software engineer needs a clean, professional online presence showcasing their skills, projects, and contact channels. In this project, you will build a fully responsive, semantic, and dark-mode ready portfolio from scratch.
Set up the document structure with viewport meta tags, navigation links, hero section, skills list, project showcase, and footer.
1234567891011121314151617181920212223<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Alex Developer — Full Stack Engineer</title><link rel="stylesheet" href="styles.css"></head><body><header><nav aria-label="Main Navigation"><a href="#about" class="logo">AD.</a><div class="links"><a href="#projects">Projects</a><a href="#skills">Skills</a><a href="#contact">Contact</a><button id="theme-toggle" aria-label="Toggle Theme">🌙</button></div></nav></header><!-- Main content sections --></body></html>
Configure CSS custom properties for light and dark color schemes, typography, and responsive container constraints.
12345678910111213141516171819202122:root {--bg: #ffffff;--text: #0f172a;--accent: #2563eb;--card-bg: #f8fafc;--border: #e2e8f0;}[data-theme="dark"] {--bg: #0f172a;--text: #f8fafc;--accent: #3b82f6;--card-bg: #1e293b;--border: #334155;}body {background-color: var(--bg);color: var(--text);font-family: -apple-system, sans-serif;transition: background-color 0.2s, color 0.2s;}