Capstone Project: Build an Accessible Personal Portfolio
Congratulations on reaching the capstone project! You now understand the building blocks of the web:
- Element anatomy and attributes
- Text hierarchy (
h1-h6) and hyperlinked anchors (<a>) - Ordered, unordered, and description lists
- Accessible images with dimensions and
altdescriptions - Native input forms with validation
- Semantic HTML5 landmarks (
header,nav,main,article,section,footer)
In this project, you will combine all of these skills to construct a complete, production-ready Personal Developer Portfolio from a completely blank file.
1. Project Blueprint & Architectural Wireframe
Before writing any code, professional web developers always sketch out the document outline. Our portfolio will feature six distinct regions:
┌───────────────────────────────────────────────────────────────┐
│ <header> │
│ <a href="#main-content">Skip to content</a> (a11y) │
│ <nav> ...Logo & Navigation Links... </nav> │
│ </header> │
├───────────────────────────────────────────────────────────────┤
│ <main id="main-content"> │
│ │
│ <section id="about"> │
│ <h1>Aarav Sharma — Frontend Engineer</h1> │
│ <p>Biography & mission statement...</p> │
│ <img src="..." alt="Aarav working at desk"> │
│ </section> │
│ │
│ <section id="skills"> │
│ <h2>Technical Skills</h2> │
│ <ul> ...HTML5, CSS3, JavaScript... </ul> │
│ </section> │
│ │
│ <section id="projects"> │
│ <h2>Featured Projects</h2> │
│ <article>Project 1: E-Commerce Store</article> │
│ <article>Project 2: Task Dashboard</article> │
│ </section> │
│ │
│ <section id="contact"> │
│ <h2>Get In Touch</h2> │
│ <form> ...Name, Email, Message, Submit... </form> │
│ </section> │
│ │
│ </main> │
├───────────────────────────────────────────────────────────────┤
│ <footer> │
│ <address>New Delhi, India</address> │
│ <p>© <time datetime="2026">2026</time> Aarav Sharma</p>│
│ </footer> │
└───────────────────────────────────────────────────────────────┘
2. Step 1: Document Boilerplate & Metadata
Create index.html. We begin with the modern HTML5 doctype, character set, responsive viewport meta tag, and SEO title:
<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Portfolio of Aarav Sharma, a Frontend Web Developer specializing in accessible HTML5 and modern CSS."> <title>Aarav Sharma | Frontend Developer Portfolio</title> </head> <body> <!-- Visible content goes here --> </body></html>3. Step 2: Semantic Header & Accessibility Jump Link
Inside <body>, add an introductory <header> with an in-page navigation menu.
[!TIP] Notice the Skip to Content link at the very top! Screen reader users and keyboard-only users who tab through a website rely on this link to bypass repetitive menus and jump straight to the main story.
<header> <!-- Accessibility skip link --> <a href="#main-content" class="skip-link">Skip to main content</a> <div class="brand"> <strong>Aarav.dev</strong> </div> <nav aria-label="Main Portfolio Navigation"> <ul> <li><a href="#about">About</a></li> <li><a href="#skills">Skills</a></li> <li><a href="#projects">Projects</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav></header>4. Step 3: Hero & About Section
Now open the <main> element with id="main-content". The first section introduces who you are:
<main id="main-content"> <section id="about"> <h1>Hi, I'm Aarav Sharma 👋</h1> <p> I am a passionate <strong>Frontend Engineer</strong> based in New Delhi, India. I specialize in crafting accessible, responsive, and blazing-fast web experiences using semantic HTML5 and modern CSS. </p> <figure> <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&h=400&fit=crop&crop=faces" alt="Headshot of Aarav Sharma smiling in a modern office" width="200" height="200" loading="lazy" > <figcaption>Frontend Engineer & Open Source Contributor</figcaption> </figure> </section>5. Step 4: Technical Skills Section
Organize your technical competencies using unordered lists (<ul>) and description lists (<dl>):
<section id="skills"> <h2>Technical Skills</h2> <h3>Core Web Technologies</h3> <ul> <li><strong>HTML5:</strong> Semantic landmarks, accessible forms (ARIA), SEO best practices</li> <li><strong>CSS3:</strong> Flexbox, CSS Grid, mobile-first responsive design, animations</li> <li><strong>JavaScript:</strong> Modern ES6+ syntax, DOM manipulation, Fetch API</li> </ul> <h3>Developer Tools</h3> <dl> <dt>Version Control</dt> <dd>Git, GitHub, collaborative branching workflows</dd> <dt>Build Tools</dt> <dd>VS Code, NPM, Chrome DevTools</dd> </dl> </section>6. Step 5: Featured Projects Showcase
Each project is an independent piece of content, making <article> the semantically correct container:
<section id="projects"> <h2>Featured Projects</h2> <!-- Project 1 --> <article class="project-card"> <h3>1. Thinkora Interactive Learning Hub</h3> <p> An interactive learning platform featuring visual concept steppers, live code playgrounds, and adaptive quizzes for engineering students. </p> <p><strong>Technologies Used:</strong> <code>HTML5</code>, <code>CSS3</code>, <code>Next.js</code></p> <p> <a href="https://example.com/project1" target="_blank" rel="noopener noreferrer"> View Live Demo → </a> </p> </article> <!-- Project 2 --> <article class="project-card"> <h3>2. Responsive E-Commerce Product Catalog</h3> <p> A mobile-first product exploration storefront featuring dynamic grid layouts, faceted category filtering, and accessible dialogs. </p> <p><strong>Technologies Used:</strong> <code>HTML5</code>, <code>CSS Grid</code>, <code>Flexbox</code></p> <p> <a href="https://example.com/project2" target="_blank" rel="noopener noreferrer"> View Live Demo → </a> </p> </article> </section>7. Step 6: Interactive Contact Form
Provide potential clients and recruiters an accessible way to send a message without leaving the page:
<section id="contact"> <h2>Get In Touch</h2> <p>Have an exciting opportunity or project in mind? Send me a message!</p> <form action="/api/contact" method="POST"> <div class="form-group"> <label for="contact-name">Your Full Name <span aria-hidden="true">*</span>:</label> <input type="text" id="contact-name" name="name" placeholder="Priya Patel" required minlength="2"> </div> <div class="form-group"> <label for="contact-email">Your Email Address <span aria-hidden="true">*</span>:</label> <input type="email" id="contact-email" name="email" placeholder="priya@example.com" required> </div> <div class="form-group"> <label for="contact-subject">Inquiry Type:</label> <select id="contact-subject" name="subject"> <option value="job">Full-time Job Opportunity</option> <option value="freelance">Freelance Project</option> <option value="consulting">Code Review / Consulting</option> <option value="other">General Question</option> </select> </div> <div class="form-group"> <label for="contact-message">Message <span aria-hidden="true">*</span>:</label> <textarea id="contact-message" name="message" rows="5" placeholder="Tell me about your project..." required minlength="10"></textarea> </div> <button type="submit">Send Message</button> </form> </section></main>8. Step 7: Accessible Footer
Conclude the document with legal copyright, timestamp, and contact metadata:
<footer> <address> <p>Located in New Delhi, India • Open for remote opportunities worldwide.</p> <p>Direct Email: <a href="mailto:aarav@example.com">aarav@example.com</a></p> </address> <p> <small> © <time datetime="2026">2026</time> Aarav Sharma. Built with semantic HTML5. </small> </p></footer>9. Live Interactive Portfolio Sandbox
Test, customize, and inspect the complete portfolio right in your browser below! You can change the name, add your own project ideas, and see the live result immediately:
Complete Personal Portfolio Sandbox
Live SandboxEdit the HTML tags or tweak the CSS styling to make this portfolio your own.
10. Flashcards & Core Concepts
Why is a 'skip to content' link considered essential for web accessibility?
Why should each portfolio project card be wrapped in an <article> tag?
What attribute pairs a form <label> with its corresponding <input>?