Create a clean, dark-mode personal bio page with an avatar badge, featured project cards, and social links—using pure semantic HTML and modern CSS Flexbox/Grid.
your-project/
├── index.html # Semantic page structure
└── style.css # Variables, Flexbox & Grid
Check off each milestone as you build. Your progress saves automatically in your browser.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Alex Rivera — Developer Link Hub</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="container">
<!-- Profile Header -->
<header class="profile">
<div class="avatar">AR</div>
<span class="badge">Available for Projects</span>
<h1>Alex Rivera</h1>
<p class="bio">Full-stack builder focused on fast web tools, Python automation, and clean UI.</p>
</header>
<!-- Primary Links -->
<nav class="links" aria-label="Primary Links">
<a href="https://github.com" class="link-btn primary">GitHub Profile →</a>
<a href="mailto:hello@example.com" class="link-btn">Email Me</a>
</nav>
<!-- Featured Projects Grid -->
<section class="projects">
<h2>Featured Builds</h2>
<div class="grid">
<article class="card">
<h3>Weather CLI</h3>
<p>Zero-dependency terminal weather forecast built in Python.</p>
<a href="#">View Source →</a>
</article>
<article class="card">
<h3>TaskBoard Lite</h3>
<p>Offline-first Kanban board powered by Vanilla JS & LocalStorage.</p>
<a href="#">Live Demo →</a>
</article>
</div>
</section>
</main>
</body>
</html>
:root {
--bg: #0b0f17;
--surface: #111827;
--border: #1f2937;
--text: #f9fafb;
--muted: #9ca3af;
--accent: #10b981;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
padding: 3rem 1.25rem;
}
.container {
max-width: 42rem;
margin: 0 auto;
}
.profile {
text-align: center;
margin-bottom: 2rem;
}
.avatar {
width: 4.5rem;
height: 4.5rem;
margin: 0 auto 1rem;
border-radius: 9999px;
background: rgba(16, 185, 129, 0.15);
border: 1px solid rgba(16, 185, 129, 0.4);
color: var(--accent);
font-weight: 800;
font-size: 1.25rem;
display: grid;
place-items: center;
}
.badge {
display: inline-block;
font-size: 0.75rem;
color: var(--accent);
background: rgba(16, 185, 129, 0.12);
padding: 0.25rem 0.75rem;
border-radius: 9999px;
margin-bottom: 0.75rem;
}
.bio {
color: var(--muted);
margin-top: 0.5rem;
}
.links {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 2.5rem;
}
.link-btn {
display: block;
text-align: center;
padding: 0.85rem 1rem;
border-radius: 0.75rem;
background: var(--surface);
border: 1px solid var(--border);
color: var(--text);
text-decoration: none;
font-weight: 600;
transition: border-color 0.15s ease;
}
.link-btn:hover { border-color: var(--accent); }
.link-btn.primary {
background: var(--accent);
color: #030712;
border-color: var(--accent);
}
.projects h2 {
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--muted);
margin-bottom: 1rem;
}
.grid {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 0.85rem;
padding: 1.25rem;
}
.card p {
font-size: 0.875rem;
color: var(--muted);
margin: 0.5rem 0 1rem;
}
.card a {
font-size: 0.8rem;
color: var(--accent);
text-decoration: none;
font-weight: 600;
}