Portfolio Website Project
Create a professional personal portfolio website showcasing your skills, projects, and contact information.
📋 Project Overview
- Objective: Build a complete portfolio website
- Skills: Semantic HTML, forms, multimedia
- Sections: Hero, About, Skills, Projects, Contact
- Features: Navigation, links, images, contact form
💻 Complete Portfolio HTML
<!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="John Doe - Web Developer Portfolio">
<title>John Doe - Web Developer</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}
/* Navigation */
nav {
background: #2c3e50;
color: white;
padding: 1rem;
position: sticky;
top: 0;
z-index: 100;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
gap: 2rem;
}
nav a {
color: white;
text-decoration: none;
transition: color 0.3s;
}
nav a:hover {
color: #3498db;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 6rem 2rem;
text-align: center;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.5rem;
margin-bottom: 2rem;
}
.btn {
display: inline-block;
background: white;
color: #667eea;
padding: 0.8rem 2rem;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: transform 0.3s;
}
.btn:hover {
transform: translateY(-3px);
}
/* Section Styles */
section {
padding: 4rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
section h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
color: #2c3e50;
}
/* About Section */
.about-content {
display: flex;
gap: 3rem;
align-items: center;
}
.about-image {
flex: 1;
}
.about-image img {
width: 100%;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-text {
flex: 2;
}
/* Skills Section */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.skill-card {
background: #f8f9fa;
padding: 2rem;
border-radius: 10px;
text-align: center;
}
.skill-card h3 {
margin-bottom: 1rem;
color: #667eea;
}
/* Projects Section */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.project-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.project-card:hover {
transform: translateY(-5px);
}
.project-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.project-info {
padding: 1.5rem;
}
.project-info h3 {
margin-bottom: 0.5rem;
color: #2c3e50;
}
.project-links {
margin-top: 1rem;
}
.project-links a {
margin-right: 1rem;
color: #667eea;
text-decoration: none;
}
/* Contact Section */
.contact-content {
max-width: 600px;
margin: 0 auto;
}
form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.form-group {
display: flex;
flex-direction: column;
}
label {
margin-bottom: 0.5rem;
font-weight: bold;
color: #2c3e50;
}
input,
textarea {
padding: 0.8rem;
border: 2px solid #e0e0e0;
border-radius: 5px;
font-family: inherit;
transition: border-color 0.3s;
}
input:focus,
textarea:focus {
outline: none;
border-color: #667eea;
}
textarea {
resize: vertical;
min-height: 150px;
}
button {
background: #667eea;
color: white;
padding: 1rem;
border: none;
border-radius: 5px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #764ba2;
}
/* Footer */
footer {
background: #2c3e50;
color: white;
text-align: center;
padding: 2rem;
}
.social-links {
margin-top: 1rem;
}
.social-links a {
color: white;
margin: 0 1rem;
text-decoration: none;
transition: color 0.3s;
}
.social-links a:hover {
color: #3498db;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav>
<ul>
<li><a href="#home">Home</a></li>
<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>
<!-- Hero Section -->
<section id="home" class="hero">
<h1>John Doe</h1>
<p>Web Developer & Designer</p>
<a href="#contact" class="btn">Get In Touch</a>
</section>
<!-- About Section -->
<section id="about">
<h2>About Me</h2>
<div class="about-content">
<div class="about-image">
<img src="profile.jpg" alt="John Doe profile picture">
</div>
<div class="about-text">
<p>Hi! I'm John, a passionate web developer with 5 years of experience creating beautiful and functional websites.</p>
<p>I specialize in front-end development using modern technologies like HTML5, CSS3, and JavaScript. I love turning complex problems into simple, beautiful, and intuitive designs.</p>
<p>When I'm not coding, you can find me exploring new technologies, contributing to open source, or enjoying a good cup of coffee.</p>
</div>
</div>
</section>
<!-- Skills Section -->
<section id="skills">
<h2>My Skills</h2>
<div class="skills-grid">
<div class="skill-card">
<h3>HTML5</h3>
<p>Semantic markup, accessibility, and modern web standards</p>
</div>
<div class="skill-card">
<h3>CSS3</h3>
<p>Responsive design, animations, flexbox, and grid</p>
</div>
<div class="skill-card">
<h3>JavaScript</h3>
<p>ES6+, DOM manipulation, async programming</p>
</div>
<div class="skill-card">
<h3>React</h3>
<p>Components, hooks, state management</p>
</div>
<div class="skill-card">
<h3>UI/UX Design</h3>
<p>User-centered design, wireframing, prototyping</p>
</div>
<div class="skill-card">
<h3>Version Control</h3>
<p>Git, GitHub, collaborative development</p>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects">
<h2>My Projects</h2>
<div class="projects-grid">
<article class="project-card">
<img src="project1.jpg" alt="E-commerce website screenshot">
<div class="project-info">
<h3>E-Commerce Platform</h3>
<p>A full-featured online shopping platform with cart, checkout, and payment integration.</p>
<div class="project-links">
<a href="#">Live Demo</a>
<a href="#">GitHub</a>
</div>
</div>
</article>
<article class="project-card">
<img src="project2.jpg" alt="Weather app screenshot">
<div class="project-info">
<h3>Weather Dashboard</h3>
<p>Real-time weather information with forecasts and interactive maps.</p>
<div class="project-links">
<a href="#">Live Demo</a>
<a href="#">GitHub</a>
</div>
</div>
</article>
<article class="project-card">
<img src="project3.jpg" alt="Task manager screenshot">
<div class="project-info">
<h3>Task Manager App</h3>
<p>Productivity app for managing tasks with categories and priorities.</p>
<div class="project-links">
<a href="#">Live Demo</a>
<a href="#">GitHub</a>
</div>
</div>
</article>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<h2>Get In Touch</h2>
<div class="contact-content">
<p style="text-align: center; margin-bottom: 2rem;">
I'm always open to new opportunities and collaborations. Feel free to reach out!
</p>
<form action="submit-form.php" method="POST">
<div class="form-group">
<label for="name">Name*</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email*</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="subject">Subject*</label>
<input type="text" id="subject" name="subject" required>
</div>
<div class="form-group">
<label for="message">Message*</label>
<textarea id="message" name="message" required></textarea>
</div>
<button type="submit">Send Message</button>
</form>
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2025 John Doe. All rights reserved.</p>
<div class="social-links">
<a href="https://github.com/johndoe">GitHub</a>
<a href="https://linkedin.com/in/johndoe">LinkedIn</a>
<a href="https://twitter.com/johndoe">Twitter</a>
</div>
</footer>
</body>
</html>
🎯 Key Features
- Sticky navigation: Easy access to all sections
- Hero section: Eye-catching introduction
- About section: Personal bio with image
- Skills grid: Display your expertise
- Projects showcase: Portfolio of work
- Contact form: Easy communication
- Social links: Connect on platforms
- Responsive design: Works on all devices
🔧 Customization Tips
- Replace placeholder images with your own
- Update colors to match your brand
- Add more projects to showcase
- Include testimonials section
- Add resume download link
- Integrate with backend for form handling
- Add animations for smooth transitions