<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Portfolio</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #f4f4f4;
color: #333;
}
header {
background: #333;
color: white;
padding: 20px;
text-align: center;
}
nav {
text-align: center;
padding: 10px;
background: #444;
}
nav a {
color: white;
margin: 0 15px;
text-decoration: none;
}
section {
padding: 50px;
text-align: center;
}
.projects {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.project {
background: white;
margin: 10px;
padding: 20px;
width: 300px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
footer {
background: #333;
color: white;
text-align: center;
padding: 20px;
position: relative;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>My Portfolio</h1>
</header>
<nav>
<a href="#about">About</a>
<a href="#projects">Projects</a>
<a href="#contact">Contact</a>
</nav>
<section id="about">
<h2>About Me</h2>
<p>Hello! I am a web developer passionate about creating modern and user-friendly websites.</p>
</section>
<section id="projects">
<h2>Projects</h2>
<div class="projects">
<div class="project">
<h3>Project 1</h3>
<p>Short description of the project.</p>
</div>
<div class="project">
<h3>Project 2</h3>
<p>Short description of the project.</p>
</div>
</div>
</section>
<section id="contact">
<h2>Contact</h2>
<p>Email: your.email@example.com</p>
</section>
<footer>
<p>© 2025 My Portfolio. All rights reserved.</p>
</footer>
</body>
</html>